I have a created an struts2 tags url. something like this.
<s:url action="login" var="login_url">
</s:url>
Upon Seeing the generated HTML. it gave me this
<a href="/MyProjectName/login">login</a>
Which is something I Do not like. I all I want to see is this
<a href="login">login</a>
It is currently giving me the full project name. is there a way I can prevent this when using struts2