Can anyone plz tell me how do I write the following scriplet code using tags (either
struts or JSTL)
[% if(request.getServerPort() == 8443) {%]
[base href="https://<%=request.getServerName()+ ":" + request.getServerPort() + request.getContextPath() %>/" /]
[%}
else { %]
[base href="http://<%=request.getServerName()+ ":" + request.getServerPort() + request.getContextPath() %>/" /]
[%} %]
where every square bracket is actually an angle bracket.
thanks
Imad