This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes General Computing and the fly likes Change the language in IE title Bar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » General Computing
Bookmark "Change the language in IE title Bar" Watch "Change the language in IE title Bar" New topic
Author

Change the language in IE title Bar

binaya patel
Greenhorn

Joined: Jul 27, 2005
Posts: 3
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

Joined: Sep 08, 2004
Posts: 146
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

Joined: Jul 19, 2005
Posts: 99
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)


We're doomed!!<br />Yay!!!<br />No that's bad Girr!!<br />Yay!!!
 
GeeCON Prague 2014
 
subject: Change the language in IE title Bar