-
1. Re: Mapping a URL to a local store
peterj Sep 28, 2007 11:26 AM (in response to yj4jboss)Two possibilities.
1) If you want to serve only static content (no servlets or JSPs, only images, documents, files), you can set up an external directory. See http://wiki.jboss.org/wiki/Wiki.jsp?page=ExternalDirectories
2) If you need the ability to run dynamic contents (JSPs, EJBs, ect), then you can -
2. Re: Mapping a URL to a local store
yj4jboss Sep 29, 2007 11:39 AM (in response to yj4jboss)Hi,
Thnx for the help ... It worked ... now i need to know how i give access to this repository only to users who are logged on my web application. I am using JBoss Seam.
Regards,
Jankee Yogesh -
3. Re: Mapping a URL to a local store
raist_majere Sep 29, 2007 9:57 PM (in response to yj4jboss)I haven't used Seam, but if you use the method described in
http://wiki.jboss.org/wiki/Wiki.jsp?page=ExternalDirectories ,
then, as said by Tomcat here
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html ,
this directory is like any other context you can deploy within the "predefined" in JBoss, so you can put WEB-INF/web.xml files there for authentication and so. If you need to use the same users for both web-apps (the one you developed and repo) you will need to either use single-sign-on http://wiki.jboss.org/wiki/Wiki.jsp?page=SingleSignOn or share session data between the two web-apps
http://wiki.jboss.org/wiki/Wiki.jsp?page=ShareSessionDataAcrossWars
Sorry for the line breaks, but in the preview everything was considered an URL if I didn't put these line breaks... -
4. Re: Mapping a URL to a local store
yj4jboss Sep 30, 2007 5:11 AM (in response to yj4jboss)Thnx for the suggestions .. I will try them and post some feedbacks.
Regards,
Jankee Yogesh