Why don't you use "/main/main.jsp". This would get the file based off the root for your webapp context.
Any other ideas out there for this problem. I'm porting my application to JBoss and use relative path addressing throughout.
I'm having the same problem as ajay and the proposed solution to use the root path would create a maintenance headache at this particular time. I need help in solving this relative path jsp:forward problem.
Some additional info: If I do not package the application in a WAR it works. The relative path forward(s) find the file. After packaging into a WAR the problem occurs.
Jetty or Tomcat ?
I using the Jetty version with comes with JBoss 3.0.6.
Thank you for your interest and help,