General J2EE: url mapping in Netbeans
can anyone make what is the diff between
During a http post request for some web pages(not all)devloped using MVC2
architecture the uri is completly replaced by (form.acion value) and not
(context path+form.action value)
for post method the URL goes like this
everything is working properly
The web.xml is configured properly
I think I need a bit more information so I can help you.
First of all NetBeans is an IDE. The problem you are having is with a web server (probably embedded in NB, but still a web server issue).
What server and version of that server are you using?
Second, you need to describe your problem more clearly. I cannot tell what you are trying to do, so I cant help you figure out what is wrong.
server version jakarta-tomcat-5.0.28
while i use 1 from ide and outside ide
url pattern is http://localhost:8084:/contextpath/mydir/servletname
but using 2 ->this works fine outside ide
but when executed form ide
url pattern is http://localhost:8084:/mydir/servletname
<servlet>and <servlet-mapping>are done correctly