my dog learned polymorphism
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


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "newbie question hyperlink" Watch "newbie question hyperlink" New topic
Author

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
Sheriff

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 frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: newbie question hyperlink
 
It's not a secret anymore!