New Babie query - pls pls help me

2004-12-13 Thread Manisha Sathe
Hi, I am totally totally new to Servlet/Tomcat. I wrote a very simple HelloWorld servlet. I could compile it and could create the HelloWorld.class file. But how to test it thr Tomat web server ? I put the class inside servlet example dir

Re: New Babie query - pls pls help me

2004-12-13 Thread Antony Paul
You need to create a mapping in web.xml to invoke the servlet. Look at the elements servlet and servlet-mapping elements in the example/WEB-INF/web.xml. Create a similar one and restart Tomcat. rgds Antony Paul On Mon, 13 Dec 2004 21:09:07 +0800, Manisha Sathe [EMAIL PROTECTED] wrote: Hi,

Re: New Babie query - pls pls help me

2004-12-13 Thread Ben Souther
Welcome aboard. The first thing you should do is find yourself a good book or tutorial. There is a good one here: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/index.html If you just want a simple servlet example that you can drop into a running instance of Tomcat and run you can find

Re: New Babie query - pls pls help me

2004-12-13 Thread Jon Wingfield
Argh. Triple hijack! This thread started as JSP expressions are displayed as string, became Do not allow browsing the root directory to tomcat, then problem starting tomcat 5.5/jdk1.3.1_11 and now New Babie query - pls pls help me. For the sake of the archives and those of us using thread