aspose file tools*
The moose likes Struts and the fly likes Struts-Tiles don't  load because different page context? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts-Tiles don Watch "Struts-Tiles don New topic
Author

Struts-Tiles don't load because different page context?

Herman Gomez
Greenhorn

Joined: Dec 15, 2004
Posts: 4
Hi All,

Everything worked fine without Tile, then I decided to go further.

This is my problem: one layout page, several tiles, one of the tiles has the form, with struts-html tags. I'm using Validator too, but I don't think that is the problem.

When the tile with the form is going to be loaded into the layout, it fails, and layout stops loading. This is part of the exception message:

2004-12-16 00:46:55 StandardWrapperValve[action]: Servlet.service() for servlet action threw exception
javax.servlet.jsp.JspException: ServletException in '/loginBar.jsp': org.apache.struts.taglibl.MessagesTei
at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:921)
at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:460)
at org.apache.jsp.auxLayout_jsp._jspx_meth_tiles_insert_2(auxLayout_jsp.java:198)
at org.apache.jsp.auxLayout_jsp._jspService(auxLayout_jsp.java:114)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Any help?

Regards,
Herman
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts-Tiles don't load because different page context?