Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How set "launch configuration" in Eclipse?(Need to launch servlet with a URL containing a Query String.)
How set "launch configuration" in Eclipse? [message #718635] Wed, 24 August 2011 22:27
Al Koch is currently offline Al KochFriend
Messages: 62
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?

Thank you.
Previous Topic:Debug Session Bean
Next Topic:Can't set modifier to Method declaration
Goto Forum:

Current Time: Thu May 24 10:26:57 GMT 2018

Powered by FUDForum. Page generated in 0.01773 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top