You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rekha Ravi Pai <re...@softjin.com> on 2010/11/15 08:10:46 UTC
Problem in accessing jsp:useBean
Hi,
I have installed tomcat-6.0.20 and postgresql-9.0.1
I have created a java bean PasswordEncryptService.java
I have kept it in WEB-INF/classes/beans directory and in beans package.
I compiled the java file and successfully ran the class and could
enter a data in a table in pgsql database.
I have created a jsp file under webapps/apps/InfoMgmt/secure directory.
In this jsp file I imported the PasswordEncryptService class and used the
bean under the tag jsp:useBean. But I am getting the following error.
The value for the useBean class attribute PasswordEncryptService is
invalid.
Can anybody please, help me in resolving this issue?
Thanks and Regards,
Rekha.
Business Disclaimer
____________________________________________________________
This e-mail message and any files transmitted with it are intended solely
for the use of the individual or entity to which they are addressed. It
may contain confidential, proprietary or legally privileged information.
If you are not the intended recipient please be advised that you have
received this message in error and any use is strictly prohibited. Please
immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender by return mail. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part of
this message if you are not the intended recipient.
___________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Problem in accessing jsp:useBean
Posted by Mark Thomas <ma...@apache.org>.
On 15/11/2010 07:10, Rekha Ravi Pai wrote:
> Hi,
> I have installed tomcat-6.0.20 and postgresql-9.0.1
> I have created a java bean PasswordEncryptService.java
> I have kept it in WEB-INF/classes/beans directory and in beans package.
> I compiled the java file and successfully ran the class and could
> enter a data in a table in pgsql database.
> I have created a jsp file under webapps/apps/InfoMgmt/secure directory.
> In this jsp file I imported the PasswordEncryptService class and used the
> bean under the tag jsp:useBean. But I am getting the following error.
>
> The value for the useBean class attribute PasswordEncryptService is
> invalid.
>
>
> Can anybody please, help me in resolving this issue?
Not without you showing us the source for the simplest JSP and bean that
recreates this issue.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Problem in accessing jsp:useBean
Posted by Konstantin Kolinko <kn...@gmail.com>.
2010/11/15 Rekha Ravi Pai <re...@softjin.com>:
> The value for the useBean class attribute PasswordEncryptService is invalid.
According to your description, your class name is
"beans.PasswordEncryptService".
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org