File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Urgent : How to insert an image (gif) in a tile jsp and place it in the layout jsp?

 
Vidya Mohandas
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a Header.jsp page where I need to have two gif images after some content. Also, I have the TestLayout.jsp where I use <tiles:insert attribute="header"> to insert the Header.jsp in the layout page. Now, I define the tiles in my "testtiles-defs.xml" file where I plugin this xml in struts-config and have a definition specified as "action.test" from testtiles-defs.xml in a global forwards item.

I tried with <tiles ut> to insert the images in the Header.jsp file. But I am ending with error....pls help me....its very urgent
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why not just use <html:image> ?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic