JBoss Community

Change context root?

created by John Sulik in Beginner's Corner - View the full discussion

I currently have a JSP page called registration.jsp in bsm.war that I call using localhost/bsm/registration.jsp.

 

I want to access it using localhost/jboss/bsm/registration.jsp instead.

 

I tried configuring this from the maven side by changing <finalName>bsm</finalName> to <finalName>/jboss/bsm</finalName>.  This seemed to compile correctly but would not deploy automatically.

 

Is this something that should be done from the JBoss configuration or should it be done within Maven?

 

JBoss version jboss-as-7.0.0.Final

Maven version 3.0.3

 

Thanks.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community