Hi,
I amm trying to use the set property and get property of JSP to send values
from the jsp page to a bean.
e.g:
 if I have a input of type text box say name="txt1" and I have corresponding
setTxt1() and getTxt1() in the bean.
<input type="text" name="txt1">
Now when I am explicitly setting values  for txt1 by saying

<jsp:setProperty name="beanid" property="txt1" value="test"/>
and try getting it back by,
<jsp:getProperty name="beanid" property="txt1" />  ,
I get back the value "test"

But I want to send the value of the text box txt1 as declared in the page to
the bean.
And even after hard coding the value as,

<input type="text" name="txt1" value="test">
I cannot retrieve the value using the get property syntax.

The error 500 saying cannot compile class for jsp keeps coming. Could anyone
tell me if there is anything wrong in my concept.
What is the exact process of sending of sending client information to the
bean.

Thanx
Ghosh

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to