If your deploy is success, there is not error in java.
First: You need to check on your admin console that it was deployed on the sever.
Second: If was deployed on the server, then check what context root is for your web application
Third: You need to check what the servlet's url-pattern is.
(At your web application directory, look the two xml files inside the WEB-INF directory).
Example:
Suppose that your web application has context-root named like "servlets" and your servlet class is "MyTest.class", by default, its url-pattern is "/MyTest"
So, to get access to this servlet, you must type on your browser
(Note: put the cursor over the text to see the entire text):
http://localhost:8080/servlets/MyTest
Assuming that your server is configured at 8080 port.
Hope this resolves your question.
2006-08-25 12:01:39
·
answer #1
·
answered by sonfarX 4
·
0⤊
0⤋
Does your servlet container support "hot deployment" and do you have it configured to do such? If not, restart the web/servlet container.
2006-08-25 04:36:04
·
answer #2
·
answered by vincentgl 5
·
0⤊
0⤋
May be the file name u specified might not be deployed in the correct location
2006-08-25 06:22:26
·
answer #3
·
answered by Balaji 1
·
0⤊
0⤋