[jboss-user] [Advanced Documentation] - external directory location for JSP page (virtual-directory-

margotmedia do-not-reply at jboss.com
Sun May 17 21:30:54 EDT 2009


Is there a way to serve JSP content from outside the war file (without using symbolic links). In weblogic I can use virtual-directory-mapping to map jsp directory.

In jboss, I can use Context, but it  only works for static files .

JSP forward does not work. 

For example, I have added this line on the server.xml file
( ) 

I can access the jsp page directly http://localhost:8080/context/en-US/home.jsp it works, but when I try to access it through a servlet (controller)
http://localhost:8080/context/home.htm  I get an error 

The requested resource (/context/en-US/home.jsp) is not available.

Any idea on how to fix this.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231504#4231504

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231504



More information about the jboss-user mailing list