|
Hi all
I would like to know if anyone has an idea why this
happens:
I have a servlet entry in my web.xml:
<servlet>
<servlet-name>myServlet</servlet-name> <servlet-class>path.to.Myservlet.class</servlet-class> <init-param> <param-name>propertiesLocation</param-name> <param-value>path.to.properties.file</param-value> </init-param> </servlet> the properties file holds info about the path to
the jsp to be served etc...
when I make the request:
www.localhost:8080/servlet/myServlet?page=MainDir/jsptemplates/MainIndexSearchPage.jsp&search=dfgfdg
everything works fine...
with getParameter("search");
dfgfdg is returned.
Now when I insert this form:
<form method="post" name="forma"
action="/servlet/Myservlet?page=MainDir/jsptemplates/MainIndexSearchPage.jsp">
<input type="text" name="search"> <input type=submit"
name"search">
</form>
I get an error 500 (internal
server)
with a url displayed like this
it looks like the url gets build up again for some
reason
i know the %2F etc... characters is the browsers
interpretation of special characters.
does anyone know why this happens?
Kind Regards
GW
|
- Re: strange url anyone have an idea GW
- Re: strange url anyone have an idea Rohan Shrinivas Desai
- Re: strange url anyone have an idea Raghupathy, Gurumoorthy
- Re: strange url anyone have an idea GW
- Re: strange url anyone have an idea Raghupathy, Gurumoorthy
