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 struts 1.3.8 and tiles framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts 1.3.8 and tiles framework" Watch "struts 1.3.8 and tiles framework" New topic
Author

struts 1.3.8 and tiles framework

krizel clemente
Greenhorn

Joined: May 30, 2007
Posts: 5
Hello,

im a newbie with struts framework and i want to use version 1.3.8 and intergrate with tiles.

this is my action map in the struts-config.xml


and here is my definitionn in tiles-def.xml:


in struts version 1.1 it works perfectly but with 1.3.8 the page can't be displayed..

Does anyone know how to work with tiles in version 1.3.8?
Jim Hardin
Ranch Hand

Joined: Aug 02, 2006
Posts: 46
I'm currently using 1.2.9 which I believe is the same -- the code fragments you posted looks correct to me. Do you have the TilesPlugin / TilesRequestProcessor registration in your struts-config.xml? What error(s) are you getting? Good luck...
-Jim
krizel clemente
Greenhorn

Joined: May 30, 2007
Posts: 5
Hello,

yes i do have a tiles plugin in the struts-config. i have compared may codes to my struts v1.1 web project which runs succesfully and its all the same...
im getting an 404 error which is file not found.

have you encountered/resolved this scenario?

Michel Thibodeau
Greenhorn

Joined: Jun 07, 2007
Posts: 1
I'm trying Struts 1.3.8 with Tomcat 5.5, java 1.4.1
When i try to add the plug-in in the struts-config.xml file

<plug-in className="org.apache.struts.tiles.TilesPlugin">
<set-property
property="definitions-config"
value="/WEB-INF/tiles-defs.xml"/>
</plug-in>

the application is not start and i got the same message : servlet action not avilable.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts 1.3.8 and tiles framework