Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts 1.3.8 and tiles framework

 
krizel clemente
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic