• Post Reply Bookmark Topic Watch Topic
  • New Topic

Need to change title tag in jsp  RSS feed

 
sudhir pavan
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

In my application i have more than 100 jsp files.
I have used title tag in each jsp to display as Tab Name in web browser.
when the title name changes then i need to modify it all the jsp to reflect the changes.(company name changed)

Is there any other way to make it as configurable.i.e change it one place and reflect it in all other places.

any suggestion welcome
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66144
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use a properties file and the <fmt:message> tag.
 
Surendra Kumar
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may also use tiles in future, so you can put common info in a some layout.jsp file and only page specific content in other JSPs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!