File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes newbie question hyperlink Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "newbie question hyperlink" Watch "newbie question hyperlink" New topic

newbie question hyperlink

tom gong
Ranch Hand

Joined: Jul 15, 2000
Posts: 36
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

Joined: Jan 07, 1999
Posts: 6920
"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".

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
I agree. Here's the link:
subject: newbie question hyperlink
It's not a secret anymore!