Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How do I specify the URL that <F11> uses to launch my servlet under Tomcat?
How do I specify the URL that <F11> uses to launch my servlet under Tomcat? [message #723207] Thu, 08 September 2011 04:07
Al Koch is currently offline Al KochFriend
Messages: 62
Registered: August 2011
Member
Hello,

I am running Eclipse Indigo with the Sysdeo plugin against Tomcat. My servlet is running fine but I'd like to specify the URL submitted to to Tomcat to launch the servlet. Currently, when I press <F11> something (Eclipse? Sysdeo?) launches Tomcat and starts my servlet with http: // localhost/MainClassName / run / *; I can see this in the address bar of the native browser. However, what I need to launch with is (append the "?p=123")" http: // localhost / MainClassName / run?p=123.

As I understand it, a <servlet-mapping> entry in web.xml tells Tomcat what servlet to launch when it receives a particular URL (like http: // localhost / MainClassName / run /*) but that isn't quite what I need. I need to have a different URL be used (http: // localhost / MainClassName / run?p=123).

I don't know if this is controlled by a setting in Eclipse or in Sysdeo (or something else). Can someone tell me how to do this (or suggest another place to post this question)?

Thank you.
Previous Topic:Name missing for incoming changes within Synch view
Next Topic:APT: Getting project classpath in Java 6 processors, automatic processor options
Goto Forum:
  


Current Time: Fri Apr 26 18:23:03 GMT 2024

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

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

Back to the top