|How set "launch configuration" in Eclipse? [message #718635]
||Wed, 24 August 2011 22:27
| Al Koch
Registered: August 2011
I am running Eclipse Indigo against Tomcat. My servlet is running fine but I'd like to specify a "launch configuration" so that the starting URL submitted to to Tomcat has a Query String.
My web.xml specifies:
When I run the servlet in Eclipse (<F11>) I see the URL of the native browser comes up as:
http: // localhost / MainClassName / run/*
However, what I need to launch with is (append the "?p=123")"
http: // localhost / MainClassName / run?p=123
I've experimented with<url-pattern> in web.xml. In addition, I have also tried using the Project's Properties' Run/Debug Settings. Either these are not the right way to do this or I am using them wrong.
Can someone tell me how to get Eclipse to launch with the URL above?
Powered by FUDForum
. Page generated in 0.02280 seconds