Passing HTML form data to a Custom Tag

Hi all,

I need help in passing a html form data to custom tag,

here are my sample files ..

........age.html.........

<..

age : <input type = "text" name = "age" >


agetag
ageee
age<....
age.jsp...
<taglib uri = .... prefix = age..
<ageee:ageTag age = "<%=Integer.parseInt(request.getParameter("age"))";

Now the problem is when i call the jsp page its is taking "////"<%=Integer.parseInt(request.getParameter("age"))"//////" as input string, where as i need only the value in the filed age of the form to be passed ,
HELP ME!!!
Thanking you

Good Luck
KitMan
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories