File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts 1.3 tiles not working

 
sadanand munswamy
Ranch Hand
Posts: 39
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ranchers please rescue me, I am stuck with struts tiles for 3 days now, All i need is a
simple tiles layout with header, footer and body part. The header has a few hyperlinks which
are on-clicking are loaded in the body part. I am using struts 1.3. Any help will be appreciated.
 
Shankar Tanikella
Ranch Hand
Posts: 329
Eclipse IDE Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What did you try and where are you struck? What is the actual problem?
 
sadanand munswamy
Ranch Hand
Posts: 39
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sankar,
Sending you the code snippet. struts-config.xml. I guess the problem is that it is not going inside tiles-def.xml after
my linkAction forwards it to "pt".

tiles-def.xml

LinkAction class
base layout.jsp

header.jsp
pt.jsp

index.jsp
 
Shankar Tanikella
Ranch Hand
Posts: 329
Eclipse IDE Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sadanand,
I tried the same with your code and everything seems to be fine and working -Tiled. Are you getting some error? If yes, please post the same. Also check Your Private Messages

 
sadanand munswamy
Ranch Hand
Posts: 39
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sankar, Many thanks for your prompt reply, I managed to solve the same,
I had missed putting my tld definition mapping tags in web.xml.
 
Shankar Tanikella
Ranch Hand
Posts: 329
Eclipse IDE Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good Luck,
I see too many threads which were solved but not closed. Please close it.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic