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 ?
Joined: Sep 08, 2004
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
Joined: Jul 19, 2005
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!!!