[jbosstools-issues] [JBoss JIRA] (JBIDE-10002) run as on jsf javaee6-webapp result in wrong url

Viacheslav Kabanovich (Commented) (JIRA) jira-events at lists.jboss.org
Fri Nov 4 15:54:45 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-10002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12640491#comment-12640491 ] 

Viacheslav Kabanovich commented on JBIDE-10002:
-----------------------------------------------

I tried it. 
Wizard created Maven project jboss-javaee6-webapp.

I run it it on AS 7 in three ways: 
1) Invoke Run As on project node - resulting path is localhost:8080/jboss-javaee6-webapp/index.jsf
2) Invoke Run As on index.html node - resulting path is localhost:8080/jboss-javaee6-webapp/index.jsf (same)
3) Invoke Run As on index.xhtml node - resulting path is localhost:8080/jboss-javaee6-webapp/faces/index.xhtml
Page is displayed correctly in each case.

Then, while application was running, I accessed it from external browsers with path localhost:8080/jboss-javaee6-webapp/index.html and it worked, with address automatically replaced by localhost:8080/jboss-javaee6-webapp/index.jsf

Finally, if I manually tried path localhost:8080/jboss-javaee6-webapp/faces/index.html, it fails, but such path never happens when I start Run As.
                
> run as on jsf javaee6-webapp result in wrong url
> ------------------------------------------------
>
>                 Key: JBIDE-10002
>                 URL: https://issues.jboss.org/browse/JBIDE-10002
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: JBossAS/Servers, maven
>    Affects Versions: 3.3.0.M4
>            Reporter: Max Rydahl Andersen
>            Assignee: Max Rydahl Andersen
>             Fix For: 3.3.0.Beta1
>
>
> Doing run on server on for index.html result in localhost:8080/appname/faces/index.html where it should be localhost:8080/appname/index.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list