tile definition as an action forward path gives error

2008-01-18 Thread Amulya Yadavilli
Hi, I am getting the error "java.lang.IllegalArgumentException: Path page.welcome does not start with a "/" character " when trying to display a jsp. The tile definition is given as an Action forward path. This is the first page after login. And I am not sure if the tiles plugin in struts-config.x

Re: tile definition as an action forward path gives error

2008-01-18 Thread Antonio Petrelli
2008/1/18, Amulya Yadavilli <[EMAIL PROTECTED]>: > > *description * *The server encountered an internal error () that prevented > it from fulfilling this request.* > *exception * > java.lang.IllegalArgumentException : Path page.welcome does not start > with a "/" character >org.apache.strut

Re: tile definition as an action forward path gives error

2008-01-18 Thread Amulya Yadavilli
Hi, Thanks, corrected the path and tiles-def.xml syntax. Regards, Amulya On Jan 18, 2008 3:57 PM, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > 2008/1/18, Amulya Yadavilli <[EMAIL PROTECTED]>: > > < tile definition = "page.main" path = "pages/welcome.jsp" > > > Uh??? Congratulations! You i

Re: tile definition as an action forward path gives error

2008-01-18 Thread Antonio Petrelli
2008/1/18, Amulya Yadavilli <[EMAIL PROTECTED]>: > < tile definition = "page.main" path = "pages/welcome.jsp" > Uh??? Congratulations! You invented a new Tiles definition syntax :-) Your Tiles definition file is completely wrong, add the DTD on top of your XML and validate it. And, again, che

Re: tile definition as an action forward path gives error

2008-01-18 Thread Amulya Yadavilli
Hi, The tile definition exists. And still it gives me the same error. The application is starting up properly. Regards, Amulya On Jan 18, 2008 3:40 PM, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > 2008/1/18, Amulya Yadavilli <[EMAIL PROTECTED]>: > > > > *description * *The server encountered a