jspでhtml:linkが使えないときに、ルートパスが取りたかったら
以下のようにして取れる。やり方はいろいろあんだろうけど。
<bean:page id=”req” property=”request”/>
<bean:define id=”path” name=”req” property=”contextPath”/>
jspでhtml:linkが使えないときに、ルートパスが取りたかったら
以下のようにして取れる。やり方はいろいろあんだろうけど。
<bean:page id=”req” property=”request”/>
<bean:define id=”path” name=”req” property=”contextPath”/>
タグ: