permaculture playing cards*
The moose likes JSP and the fly likes how to change the header of the jsp programatically Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how to change the header of the jsp programatically" Watch "how to change the header of the jsp programatically" New topic
Author

how to change the header of the jsp programatically

amity raj
Greenhorn

Joined: Dec 16, 2008
Posts: 4
Sir I have the jsp template where in i have the header, body and footer parts. Now the header.jsp of mine holds an image which is the logo.I would like to know is it possible to change the logo programatically? I am using spring framework. Do i need to have a seperate Controller for this and implement some logic there.
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Just hold its src value somewhere in a bean or so?

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to change the header of the jsp programatically