I am having trouble running a servlet(.class) I wrote. If I put itin the path specified by alias in the tomcat-apache.conf file or in the active directory I get the error METHOD NOT ALLOWED the requested method POST not allowed for the URL /examples/Rot13.class I have restarted both apache and tomcat several times. Do I have to include a reference to the class file in the Web.xml file? If so where can I get instruction on how to do so? anyhelp would be greatly appreciated, Nik
Silly question I know but does you servlet actually have a doPost (or service) method? This is a common problem of posting to servlets that only implement the doGet method... S
<a href="http://www.samjdalton.com" target="_blank" rel="nofollow">Sam Dalton</a>,<br />Co-author of [http://www.amazon.com/exec/obidos/tg/detail/-/1590592255/qid=1068633302//ref=sr_8_xs_ap_i0_xgl14/104-4904002-9274339?v=glance&s=books&n=507846]Professional JSP 2.0[/URL] (October 2003)<br />Co-author of <a href="http://www.amazon.com/exec/obidos/ASIN/1861007701/ref=ase_electricporkchop" target="_blank" rel="nofollow">Professional SCWCD Certification</a><br />Co-author of <a href="http://www.amazon.com/exec/obidos/ASIN/186100561X/ref=ase_electricporkchop" target="_blank" rel="nofollow">Professional Java Servlets 2.3</a>
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.