This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Urgent : How to insert an image (gif) in a tile jsp and place it in the layout jsp? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Urgent : How to insert an image (gif) in a tile jsp and place it in the layout jsp?" Watch "Urgent : How to insert an image (gif) in a tile jsp and place it in the layout jsp?" New topic
Author

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

Vidya Mohandas
Greenhorn

Joined: Apr 20, 2004
Posts: 3
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


vidhya M.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Why not just use <html:image> ?


Merrill
Consultant, Sima Solutions
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Urgent : How to insert an image (gif) in a tile jsp and place it in the layout jsp?