I am making my first servlet, using jwsdk per my instructor. I am unclear exactly in which directories to place my servlet.class and the .html file that calls the servlet. My instructor says to simply follow the examples given in the sun product, but that is not working for me.
I have a file "login.html" that sends two strings to a servlet. I can get the servlet to run by placing it in the same directory with the other example servlets: http://localhost:8080/examples/servlet/HelloWorldExample is one of the examples so I put my servlet at: http://localhost:8080/examples/servlet/JohnServlet But when I use that same address string in the "Action=" parameter of my login.html form, I receive 405 error ("can't access that resource"). I guess I need to use a relative path or something, but it is not clear how t tell my servlet to start from the login page. All the books and documentation I have discuss the tomcat deployment, but my requirements are to use jwsdk. can somebody point the way? ------------------ Reply Separator -------------------- ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
