I hope the un-tag-enclosed strings "HR Misc Apps" and "Test Servlet" are actually in 
CDATA tags like this:


  | <description><![CDATA[None Available]]></description>
  | 

If you use the code and /code tags inside [] it will display your code properly.

The URL patter must begin with  a "/"   So try /test instead of test, or you could try 
/test/testservlet.  This path is relative to the context root of the webserver, so 
with /test as a URL pattern your servlet would be accessed via something like 
http://localhost:8080/test.  Using the /test/testservlet pattern your servlet would be 
accessed via http://localhost:8080/test/testservlet.

There is a possible pitfall here.  If you did not define a form with a METHOD=POST 
declaration, and use that html form to access your servlet your servlet will not work! 
 If you try to browse to http://localhost:8080/test directly you will get an error.  
The reason why is that you implemented the doPost method, and a browser's default 
action is GET.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844016#3844016

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844016


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to