Validate a Date in JSP

I am trying to Validate a Date entered by the user in JSP. the code that I already have has a checkform function where I am not able to put my piece of java code.

My question is,

1. Where can I place my Java code that return a boolean in the JSP

2. How do I retrieve this boolean value to use it in my JSP?

3. What does <% %> tag mean?, what is teh scope of this tag?

4. When I declare an object/variable in the tag in number 3, can I use it in the Checkform function?

Thanks,

PS: I would appreciate any examples too.

[570 byte] By [GaramJavaa] at [2007-11-27 11:58:34]
# 1

You should learn the basics first buddy. Search at the net.

skp71a at 2007-7-29 19:20:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

I know I need to learn the basics,

Have already searched on the net. The info that I am looking for is pretty specific, could not find it in one piece on the net. Tried putting several pieces together but in vain.

I have my code ready to go, I am just able to put it in the right place.

I'd appreciate if any of you could direct me to a better resource.

GaramJavaa at 2007-7-29 19:20:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...