[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-6756) Update to WTP 3.2.1 or later (was Run On Server on annotated servlet (3.0 spec) opens invalid url)
Snjezana Peco (JIRA)
jira-events at lists.jboss.org
Thu Sep 30 16:36:39 EDT 2010
[ https://jira.jboss.org/browse/JBIDE-6756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Snjezana Peco resolved JBIDE-6756.
----------------------------------
Resolution: Done
Works correctly in jbdevstudio-eap-win32-4.0.0.v201009300112N-H244-Beta1.
> Update to WTP 3.2.1 or later (was 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: Snjezana Peco
> Fix For: 3.2.0.Beta1
>
> 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/<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