PDA

View Full Version : running java servlets in ubuntu - not working for me



raja_sekhar
August 26th, 2005, 09:44 PM
the jsp's r working fine.

THIS IS CLASSPATH env :
/usr/java/jdk1.5.0_04/lib/tools.jar:/usr/java/jdk1.5.0_04/jre/lib/rt.jar:/etc/tomcat/common/lib/servlet-api.jar:/usr/java/jdk1.5.0_04/lib/dt.jar:/usr/java/jdk1.5.0_04/lib/mysql-connector-java-3.0.17-ga-bin.jar::/etc/tomcat/webapps/ROOT/WEB-INF/classes

i gave the <servlet> and <servlet-mapping> in web.xml file; have the context right for my application folder .

tried by putting in various folders (including default folder ...../ROOT/......) apart from special application folders with defined context.

seems to have everything required, but still the servlets don't work.

can someone give me the detailed way of running servlets; especially who have made it worked in ubuntu!

amohanty
August 27th, 2005, 07:46 AM
What does your $CATALINA_HOME/conf/server.xml look like?

AM