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

data are not showing in a Jsp using link

 
Babu Singh
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i have a Jsp page. in this Jsp page having some links. i want when i click to link of result some data should be display. but it does not displaying. please check the below code.

Indus.jsp


please suggest.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you seriously not indent your HTML? Almost completely unreadable.

What do you *expect* to have happen? You're not really doing anything to display any data. You set a string to an empty string and then compare it to two values it will *never* equal.

Right now it seems like you're just typing in random code hoping something will work--maybe you should take a step back and go through some Java web app tutorials and get a handle on the basics first?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic