File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes toggling between two languages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "toggling between two languages" Watch "toggling between two languages" New topic

toggling between two languages

pari zutshi

Joined: Jul 18, 2012
Posts: 1
my requirement is to toggle some text between two languages- english and french.
for this i have 2 jsps

this will load by dafult

and the 2nd jsp is

as the page loads i have some text and a link -- "french"
as i hit french the text changes to french format and the link changes to --"english"

on hiting the english link the text then changes to english format and again the link changes to--"french"

now again hitting the link french, the 404 error is reflecting with message--

message /language/jsp/jsp/retirementIncomeDemoTool_fr.jsp

description The requested resource (/language/jsp/jsp/retirementIncomeDemoTool_fr.jsp) is not available.

please help me with this..
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

What's wrong with the URLs that's causing the 404?

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: toggling between two languages
It's not a secret anymore!