[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-6756) Run On Server on annotated servlet (3.0 spec) opens invalid url
Snjezana Peco (JIRA)
jira-events at lists.jboss.org
Fri Jul 30 08:06:49 EDT 2010
Run On Server on annotated servlet (3.0 spec) opens invalid url
---------------------------------------------------------------
Key: JBIDE-6756
URL: https://jira.jboss.org/browse/JBIDE-6756
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS, UpStream
Affects Versions: 3.2.0.M1
Reporter: Snjezana Peco
Assignee: Rob Stryker
Steps to reproduce :
- create JBoss AS 6.0 M4 runtime and server
- create a Dynamic Web project with Web Module version 3.0
- add a servlet
- right-click the servlet and call Run As>Run On Server
Eclipse will open a url like :
http://localhost:8080/<your_project_name>/servlet/<servletPackage>/<servelClassName>
The correct URL is :
http://localhost:8080/<your_project_name>/<yourServletMapping>
<yourServletMapping> is defined when creating a servlet. It is defined as an annotation for Web Module 3.0 (@WebServlet)
The problem can't be reproduced if servlet mappings is defined in web.xml.
I think this is a webtools problem. Will create a bug against webtools and add a patch.
I will also make a workaround that will work on JBoss Tools servers.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list