Hi All,
I have a web application in
Struts 2. It has common main menu and footer.. so I extracted the common stuff into
JSP fragments and including them on different pages..
Not the issue is on of the JSP fragment is Main Menu at top bar. The urls i have given relative paths..its working fine with the first level urls.. like mydomain/home, mydomain/firstpage
but for the second level.. mydomain/inside/innerpage in this case the links on included jsp fragment are not working properly as I have given relative paths..
Is there any option or Do I have to go with absolute urls.. Its hard to maintain with absolute urls when I am
testing in localhost..