Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes Method Not found in JSP usning a Bean and Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Method Not found in JSP usning a Bean and Tomcat" Watch "Method Not found in JSP usning a Bean and Tomcat" New topic
Author

Method Not found in JSP usning a Bean and Tomcat

Honey Nanwani
Greenhorn

Joined: Jun 01, 2001
Posts: 4
Howdy Folks,

I am using a Bean and calling a method in a JSP. Tomcat says method not found when its in the bean and its public.

Is this a bug with tomcat. Its driving me crazy. It works on one instance of Tomcat but not on another.

Any Ideas?
Thank you
Honey
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12806
    
    5
What package is the bean in and where did you put the class file(s)?
Does the bean get instantiated alright?
What is the exact error message?
Bill
vikinsa
Ranch Hand

Joined: Apr 18, 2001
Posts: 46
May be it is because the tomcat of yours has not created contet of that method file. Check that out first. Also you need to keep these kind of files in a specific directory of tomcat.
Originally posted by Honey Nanwani:
Howdy Folks,

I am using a Bean and calling a method in a JSP. Tomcat says method not found when its in the bean and its public.

Is this a bug with tomcat. Its driving me crazy. It works on one instance of Tomcat but not on another.

Any Ideas?
Thank you
Honey


------------------
Vikas Aggarwal
Technology Associate
http://www.vikinsa.com


Vikas Aggarwal<BR>Technology Associate<BR>http://www.vikinsa.com
Honey Nanwani
Greenhorn

Joined: Jun 01, 2001
Posts: 4
Hey Guys,
Thanks
Actually it was the suckie classpath. I had Weblogic and Tomcat on the same box, so it was picking up the old bean from the Weblogic Classes and was not picking the Tomcat classes, so the classpath is important.
Thanks alot
Honey
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Method Not found in JSP usning a Bean and Tomcat