Hello all..
please help with setProperty.*

--beginning of register.jsp--

<jsp:useBean id="mybean" scope="session" class="com.dion.guestbook.Guestbook" />
<jsp:setProperty name="mybean" property="*" />

<form method="get" action="processregister.jsp" >

email: <input type="text" name="email"> <br>
name : <input type="text" name="name"> <br>
<input type="submit"> <input type="Reset">
</form>

--end of register.jsp--


--beginning of processregister.jsp--

<jsp:useBean id="mybean" scope="session" class="com.dion.guestbook.Guestbook" />
email = <jsp:getProperty name="mybean" property="email" /> <br>
name = <jsp:getProperty name="mybean" property="name" /> <br>

--end of processregister.jsp--

it happens that the getProperty failed to display the input from user,
it just displays the initial value that i assigned in Guestbook.java
how can i make the getProperty works?

--
Best regards,
 d10n                          mailto:[EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to