]
Snjezana Peco updated JBIDE-6756:
---------------------------------
Attachment: JBIDE-6756.patch
Attached is a patch that fixes the issue for JBT servers.
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
Attachments: JBIDE-6756.patch
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/<servletPackag...
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: