I have written a simple JSP i.e Test.jsp. I am trying to call a java class from that jsp. I have created a application under webapps i.e myJSP. I am using Tomcat 5.
The problem i am facing as -- ========================================================================== C:\Program Files\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\myJSP\org\apache\jsp\Test_jsp.java:6: cannot access mypack.MyClass
bad class file: C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\myJSP\WEB-INF\classes\mypack\MyClass.class
class file contains wrong class: MyClass Please remove or make sure it appears in the correct subdirectory of the classpath.
"Girish S.", you have previously been warned on multiple occasions regarding adjusting your display name to meet JavaRanch standards. This is not optional, and this is your final warning. Adjust your display name to comply with the required standards prior to your next post.
Failure to comply will result in the removal of your account.