/index.jsp gets translated (as needed) to account for the context path automatically. The paths that start with / are evaluated relative to your web app. You can use the /index.jsp style paths and deploy your app with any context path without having to change anything.
-Max On Thu, 2003-02-27 at 22:01, Affan Qureshi wrote: > I have been using Struts 1.1b2 and tiles in my application and have defined > forwards like: > > <forward name="Success" path="index.jsp?selected=1" redirect="false"/> > > where forward paths were JSP pages, whithout the starting "/" for paths and > it worked ok. But this does not work when I installed Strut 1.1rc1 coz it > gave the exception: > > java.lang.IllegalArgumentException: Path index.jsp?selected=1 does not start > with a "/" character > > Have I been doing it wrong until now? Is this a TilesRequestProcessor issue? > I had done so, so that I can deploy my app under any context/module etc. and > have no dependency on root path. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

