File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Tiles Framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Tiles Framework" Watch "Tiles Framework" New topic
Author

Tiles Framework

shailaja siddappa
Greenhorn

Joined: Apr 14, 2009
Posts: 16
Hello All,

Im using Tiles framework for my application when i click on submit button it should go to the success page but im getting this Error

javax.servlet.ServletException: java.lang.IllegalArgumentException: Path Login1 does not start with a "/" character

This is my struts-config & tiles-defs.xml files and im getting the below error when i run the application please help me out.


<action attribute="LoginForm" input="/jsp/Login.jsp" name="LoginForm"
path="/corpgrant"
scope="request"
validate="false" parameter="parameter"
type="in.corp.Action.corpgrant">
<forward name="success" path="Login1" />


<definition name="Login1" extends="baseLayout">
<put name="title" value="test" />
<put name="body" value="/jsp/success.jsp" />
</definition>


Thanks in advance

Shailaja
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tiles Framework
 
Similar Threads
Tiles and struts 1 , not redirecting to tileĊ› definition path
Configuring Tiles in Struts Error
struts 1.3.8 and tiles framework
Struts2 CannotRenderException
Struts1.3 tiles problem