Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

newbie question hyperlink

 
tom gong
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry about this simple question.
can you please explain following code to me?
<a HREF cal1.jsp? date=prev>
this code was from jswdk example.
I have looked everywhere in beans, html page. I can not find defined variable date and prev
thanks for help
tom gong
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"date" and "prev" are just strings understood by the receiving code (in this case, cal1.jsp). For the purposes of an example they could be anything. If you have the source for the file "cal1.jsp", have a look at it. You should see it asking for a parameter named "date" and checking to see if it contains the string "prev".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic