-----Original Message-----
From: Daniel Tillin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 23, 1999 9:44 AM
To: 'Masaoud'
Subject: RE: How to invoke a bean method in a JSP using a HTML Form
Button
You need to use something like this:
<input type="text" name="property" size="25"> //one of these for each
property, where property is the properyName in the bean
<br>
<input type="submit" value="Submit"> //When clicked, the beans architecture
will put the contents of the control into the
//bean property
<input type="reset" value="Reset"> //Should clear the form.
Check out some examples on the JSP web site
(http://java.sun.com/products/jsp)
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Masaoud
Sent: Tuesday, November 23, 1999 4:40 AM
To: [EMAIL PROTECTED]
Subject: How to invoke a bean method in a JSP using a HTML Form Button
Hi,
I have a JSP which uses a bean. There is a Form that is present in the
JSP. This Form contains some TextFields and a Button.
When I click this Button I want to do the following :
1. Call one of the methods in my Bean.
2. Get all the data that was inputed in the text fields into the
Beans member variables.
How can I do the above without using JavaScript.
One more doubt I had, is that is there any Session Tracking
Functionality provided with JSP's.
Thanx,
Masaoud.
===========================================================================
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
===========================================================================
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