This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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: 65105
89
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