When I am calling the JSP(datahandler.jsp) file below from a HTML file, I
am getting the error below.Please check it and let me know as to how to solve
it.Second thing is the datahandler.jsp file uses a Bean(DataAccessBean to
store the input from the user(HTML)).It is setter and getter methods.using
its set methods I am trapping the values of name, address etc from HTML and
storing them in to bean.After that I am trying to retrieve the values using
the getter mthods and display them onto screen using JSP expressions.That
is what I want to do.Please check with the code below for all 3 programs
and also the error code and let me know the answer.

Regards
Satish
=========================================================
HELLOUSER.HTML


<!DOCTYPE html PUBLIC "-//W3C//Dtd html 4.0//EN">

<html>
<HEAD>
<META name="GENERATOR" content="IBM WebSphere Page Designer V3.0.2 for Windows">
<META http-equiv="Content-Style-Type" content="text/css">

</HEAD><body bgcolor="#000099"><H2> THE USER INPUT SCREEN </H2>




<Form method = "post" action ="http://pc27/datahandler.jsp" >

<table>

<tr>
<td>Enter Your NAME </td><td><input type="text" name="NAME" value=""></td>
</tr>

<tr>
<td>Enter Your ADDRESS </td><td><input type="text" name="ADDRESS" value=""></td>
</tr>
<tr>
<td>Enter Your PHONE </td><td><input type="text" name="PHONE" value=""></td>
</tr>
<tr>
<td>Enter Your EMAIL </td><td><input type="text" name="EMAIL" value=""></td>
</tr>

<tr>
<td><input type="submit" name="submit" value="Register"></td>
</tr>


</table>

</form>
</body>
</html>

-----------------------------------------------------------------
DATAACCESSBEAN



public class DataAccessBean
{

private String NAME;
private String ADDRESS;
private String PHONE;
private String EMAIL;


public DataAccessBean()
{

NAME = null;
ADDRESS = null ;
PHONE= null ;
EMAIL= null ;
}

public void setNAME( String nNAME )
{
NAME = nNAME ;
}

public String getNAME()
{
return NAME ;
}


public void setADDRESS( String nADDRESS )
{
ADDRESS = nADDRESS ;
}

public String getADDRESS()
{
return ADDRESS ;
}



public void setPHONE( String nPHONE )
{
PHONE = nPHONE ;
}

public String getPHONE()
{
return PHONE ;
}


public void setEMAIL( String nEMAIL )
{
EMAIL = nEMAIL ;
}

public String getEMAIL()
{
return EMAIL ;
}



}

-----------------------------------------------------------------
DATAHANDLER.JSP



<%@ page import="E:\JavaEdit\DataAccessBean" %>

<jsp:useBean id="mybean" scope="session" class="E:\JavaEdit\DataAccessBean"
/>

<jsp:setProperty name="mybean" property=" * " />

<html>

<head><title>This Page handles the input from the user and stores it
into a Bean</title></head>

<body bgcolor="999999" >

<%

if ( request.getParameterValues() != null )
{

%>

<table border="0" width="700">
<tr>

<td width="550">

<h1>Hello, <jsp:getProperty name="mybean" property="NAME" />!</h1>

</td>

<td width="550">

<h1>Hello, <jsp:getProperty name="mybean" property="ADDRESS" />!</h1>

</td>

<td width="550">

<h1>Hello, <jsp:getProperty name="mybean" property="PHONE" />!</h1>

</td>

<td width="550">

<h1>Hello, <jsp:getProperty name="mybean" property="EMAIL" />!</h1>

</td>

</tr>
</table>


<%
}
%>

</body>
</html>

-----------------------------------------------------------------
ERROR

Error 500
An error has occured while processing request:http://pc27/datahandler.jsp
Message:Server caught unhandled exception from servlet [jsp]
Target Servlet: jsp
StackTrace:
--------------------------------------------------------------------------------
Root Error-1: 3,14: Attribute page has no value.
com.ibm.servlet.jsp.http.pagecompile.PageCompileException: 3,14: Attribute
page has no value. at com.ibm.servlet.jsp.http.pagecompile.jsp.tsx.TsxPageProcessor.sourceToJava(TsxPageProcesso r.java:76)
at com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.compileAndLoadServlet(PageCompileS ervlet.java:482)
at com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.checkServletChangedAndCompile(Page CompileServlet.java:310)
at com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.doService(Compiled
Code) at com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.doPost(PageCompileServlet.java:737 )
at javax.servlet.http.HttpServlet.service(HttpServlet.java:566) at javax.servlet.http.HttpServlet.service(HttpServlet.java:639)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:557)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java: 160)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:1 05)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:349)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:705)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:631)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebApp.java:112 9)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebApp.java:1001)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebApp.java:960)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebGroup.java:681)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java: 67)
at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationCon text.java:106)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.j ava:144)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerI mp.java:230)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.jav a:104)
at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.jav a:202)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyS ervice(SQWrapperEventSource.java:347)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQW rapperEventSource.java:216)
at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(Compiled
Code) at java.lang.Thread.run(Thread.java:472)

--------------------------------------------------------------------------------
Wrapped Error-2: JSP:/datahandler.jsp: 3,14: Attribute page has no value.:
3,14: Attribute page has no value.
com.ibm.servlet.jsp.http.pagecompile.SEInvokerException: JSP:/datahandler.jsp:
3,14: Attribute page has no value.: 3,14: Attribute page has no value. at
com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.doService(Compiled
Code) at com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.doPost(PageCompileServlet.java:737 )
at javax.servlet.http.HttpServlet.service(HttpServlet.java:566) at javax.servlet.http.HttpServlet.service(HttpServlet.java:639)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:557)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java: 160)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:1 05)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:349)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:705)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:631)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebApp.java:112 9)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebApp.java:1001)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebApp.java:960)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebGroup.java:681)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java: 67)
at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationCon text.java:106)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.j ava:144)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerI mp.java:230)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.jav a:104)
at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.jav a:202)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyS ervice(SQWrapperEventSource.java:347)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQW rapperEventSource.java:216)
at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(Compiled
Code) at java.lang.Thread.run(Thread.java:472)

--------------------------------------------------------------------------------
Wrapped Error-3: Server caught unhandled exception from servlet [jsp]
com.ibm.servlet.engine.webapp.UncaughtServletException: Server caught unhandled
exception from servlet [jsp] at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebApp.java:114 6)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebApp.java:1001)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebApp.java:960)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebGroup.java:681)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java: 67)
at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationCon text.java:106)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.j ava:144)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerI mp.java:230)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.jav a:104)
at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.jav a:202)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyS ervice(SQWrapperEventSource.java:347)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQW rapperEventSource.java:216)
at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(Compiled
Code) at java.lang.Thread.run(Thread.java:472)