Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

toggling between two languages

 
pari zutshi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Pie
Posts: 64828
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's wrong with the URLs that's causing the 404?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic