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

Change the language in IE title Bar

 
binaya patel
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working in a maltilanuage web base application.I want to change the title of the page on the basis of language selection from the language option which is in every page of my application.So please help me on this how to implement this ?
 
Abhishek Asthana
Ranch Hand
Posts: 146
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This should not be too difficult.

You will need to keep a variable in session to store the value of language slected on any page. When showing next JSP page, you will need to check the session attribute value and display the title of your page accordingly.

Hope it helps.
 
Scheepers de Bruin
Ranch Hand
Posts: 99
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Every web page should have a title tag in the header of the page that ends up in the title bar of the browser. This page's looks like this:



Just put whatever string you want to display in the titlebar between the title tags and viola!
(I do not, however, know how to get rid of the browser name that gets appended to the title)
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic