This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
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
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply 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?



Code depot of a Java EE / JSF developer | JSF / Eclipse / Tomcat kickoff tutorial | DAO kickoff tutorial | I ♥ Unicode
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: how to change the header of the jsp programatically
 
Similar Threads
jsp:include standard action
varying JTable Row Height, not Homogeneously
Setting Authorization Header in HTTP Request
Dynamically changing shell
Dynamically changing shell