You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ganeshprabhup <ga...@indiatimes.com> on 2003/11/02 09:06:32 UTC
Tomcat Problem
I am a java professsional new to Tomcat and JSP. I downloaded and installed successfully Jakarta-Tomcat 4.1.27. While I tried to run a jsp accessing a javabean, it gave an error saying 'Unable to compile class for JSP'. It was not able to locate the bean class. I put the bean class in all the 'classes' directries. I also created the jar file of the bean and put it in all the available 'bin' directories. Still the problem persisted. Please suggest a solution. Do I need to add any path or classpath in my environment? If so please show me how to write it.
Thanks
Ganesh Prabhu
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com
Bid for Air Tickets on Air Sahara Flights. For Best Deals, log on to http://airsahara.indiatimes.com and Bid Now !
Re: Tomcat Problem
Posted by Sriram N <sr...@yahoo.com>.
Hello:
Please post queries related to Tomcat's usage to the Tomcat-user mailing list.
You will have a bigger audience there to help you get started with Tomcat.
1. Have you read the application developer's guide ?
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
It is also installed along with the tomcat that you are running as part of the
tomcat documentation, accessible via http://localhost:8080/
Read this doc, and you will learn exactly where to place classes (e.g. not in
the bin folder).
2. To get started quickly, I suggest you make a copy of the examples webapps,
and start adding jsps there.
3. Does your bean belong to some package ? e.g. foo.bar.MyBean
4. Upper/lower case matters. Are you typing the class name in the correct case
?
Post a snippet of how you are trying to include the Bean.
-- Sriram
--- ganeshprabhup <ga...@indiatimes.com> wrote:
> I am a java professsional new to Tomcat and JSP. I downloaded and installed
> successfully Jakarta-Tomcat 4.1.27. While I tried to run a jsp accessing a
> javabean, it gave an error saying 'Unable to compile class for JSP'. It was
> not able to locate the bean class. I put the bean class in all the 'classes'
> directries. I also created the jar file of the bean and put it in all the
> available 'bin' directories. Still the problem persisted. Please suggest a
> solution. Do I need to add any path or classpath in my environment? If so
> please show me how to write it.
>
>
> Thanks
>
>
> Ganesh Prabhu
> Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
> Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com
> Bid for Air Tickets on Air Sahara Flights. For Best Deals, log on to
> http://airsahara.indiatimes.com and Bid Now !
>
__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Tomcat Problem
Posted by Sriram N <sr...@yahoo.com>.
Hello:
Please post queries related to Tomcat's usage to the Tomcat-user mailing list.
You will have a bigger audience there to help you get started with Tomcat.
1. Have you read the application developer's guide ?
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
It is also installed along with the tomcat that you are running as part of the
tomcat documentation, accessible via http://localhost:8080/
Read this doc, and you will learn exactly where to place classes (e.g. not in
the bin folder).
2. To get started quickly, I suggest you make a copy of the examples webapps,
and start adding jsps there.
3. Does your bean belong to some package ? e.g. foo.bar.MyBean
4. Upper/lower case matters. Are you typing the class name in the correct case
?
Post a snippet of how you are trying to include the Bean.
-- Sriram
--- ganeshprabhup <ga...@indiatimes.com> wrote:
> I am a java professsional new to Tomcat and JSP. I downloaded and installed
> successfully Jakarta-Tomcat 4.1.27. While I tried to run a jsp accessing a
> javabean, it gave an error saying 'Unable to compile class for JSP'. It was
> not able to locate the bean class. I put the bean class in all the 'classes'
> directries. I also created the jar file of the bean and put it in all the
> available 'bin' directories. Still the problem persisted. Please suggest a
> solution. Do I need to add any path or classpath in my environment? If so
> please show me how to write it.
>
>
> Thanks
>
>
> Ganesh Prabhu
> Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
> Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com
> Bid for Air Tickets on Air Sahara Flights. For Best Deals, log on to
> http://airsahara.indiatimes.com and Bid Now !
>
__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org