tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: JSP Bean not working
Date Thu, 12 Feb 2009 18:21:17 GMT
Have you considered putting Client in a package and then referencing the
package?  While people occasionally get away with packageless classes,
it's highly recommended that all classes be in a package.

--David

John Byrne wrote:
>
> Hello all,
>
>  
>
> I can’t get a simple form to work.  The error I’m getting is:
>
> org.apache.jasper.JasperException: Unable to compile class for JSP: 
>  
> An error occurred at line: 8 in the jsp file: /CreateClient.jsp
> Client cannot be resolved to a type
> 5: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
> 6: <title>FormTest</title>
> 7: </head>
> 8: <jsp:useBean id="client" scope="request" class="Client" />
> 9: <jsp:setProperty name="Client" property="*" />
> 10: <body>
> 11: <H1>Validating New User Data</H1>
>
>  
>
> I’ve attached a zip file with the jsp code, html files, web.xml,
> classes and hierarchy in it. 
>
>  
>
> Help!
>
>  
>
> Thank you,
>
>  
>
> John
>
>  
>
>  
>
> John Byrne
>
> Support Network for Battered Women
>
> 1257 Tasman Dr. Suite C
>
> Sunnyvale, CA
>
> 94089
>
>  
>
> (408) 541-6100 x 138
>
> Fax: (408) 541-3333
>
>  
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message