i've installed tomcat 4.1.3 and jdk1.4.0 and here's the code i copied from the net. lol
PHP Code:
public class SimpleBean{
String message="No message specified";
public String getMessage(){
return message;
}
public void setMessage(String message){
this.message=message;
}
}
i compiled it as javac SimpleBean.java in the directory tomcat_installed\webapps\pubs\example. so the class SimpleBean.class is in the directory. i also copied the .jsp in the same directory.
but it says something about class not found exception. i set the classpath to tomcat_installed\common\lib\servlet.jar. is there something i'm still missing. my friend told me about jsp-api.jar in the said directory but i can't find it.
Last edited by brown monkey; Jul 16th, 2004 at 10:28 PM.