Hi!
I have been trying to get rid of this problem for long, but not able to
solve it, kindly help.

I have a servlet named HelloPage.class, which calls a jsp page and
simply displays it.

But the problem is the jsp page fails to display the property
dynamically set in the servlet/bean, in the browser. Instead it displays
the initial value of the property (defined in the bean class), in the
JServe's error.log file.

The jsp page which this class calls is as follows :

****** START hello.jsp ****************

<jsp:useBean id="helo" class="hello.HelloPage" create="yes"
scope="request" />
<jsp:setProperty name="helo" property="msg" param="name1" />

<HTML><HEAD><TITLE>HELLO</TITLE></HEAD>

<BODY><h1>Greetings</h1>

<jsp:getProperty name="helo" property="msg" param="name1" />

<form method="post" action="../servlets/hello.HelloPage">

Enter Name : <%= helo.getMsg() %>

<input type="text" name="name1" value="">

<table><tr><td><input type="submit"
name="submit"></td></tr></table></form>

</BODY></HTML>


******   END hello.jsp ****************

I am using :
Aapache JServ 1.0b
GNUJSP1.0-cvs

Any help is appreciated.
TIA

--
Gaurav Kishore

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to