hi, i need to write code for a minibanking appilication for my project...its bin going ok till now..where my WTK2.1 is working fine...it actually sends the data to teh servlet..but then the servlet screws up and throws a resource not found...im using tomcat 5.0.26 and theres no servlet.jar there like suggested in the documentation.My web.xml is ok but my server.xml behaves strangely...each time i tried previously viewing the servlet it showed me stuff id written three days ago...the reloadable attribute was set...any help please....thanks a million... Arvind Heres the code
1. put your servlet in a package and correctly name the package in the servlet-class element of web.xml, change the location of the compiled class files to reflect the packge. 2. As I recall, Tomcat 5 uses a slightly different name for servlet.jar possibly servlet-api.jar The easiest way to be absolutely sure that your revised code is loaded is to shut down Tomcat and restart it.
how do i do that...put a servlet in a package and stuff...could u guide me through it ...the strnager part is that when i tried th example given in the docs it worked absolutely perfect without any hitches..so i just modified the example a little changed a little changed my web.xml and boom ...resource not found...if the example ran properly..that meant my tomcat was fine..and it properly reloaded...everything fine in short...so why doesnt it wurk when i try my own code..this is extremely strange..any pointers..its really urgent...got to get a lot of stuff done by saturday.. thnx a lot arvind
Author and all-around good cowpoke