I hava a web page with a link like something like <a href=myPage/MyServlet¶m=12>... and MyServlet is a servlet deployed in Apache-Tomcat, but when I click that link I get a error 404. So can’t I pass parameters to my srevlet? I need to configurate something more in apache?
I hava a web page with a link like something like <a href=myPage/MyServlet¶m=12>… and
Share
You probably want
You get a 404 because the page
myPage/MyServlet¶m=12does not exist.The syntax of a link is
www.example.com?param1=val1¶m2=val2¶m3=val3, that is,?separates the query from the URL, and the&separates parameter/value pairs.