-
1. Re: trouble moving to Jboss from BEA Weblogic, need different se
saurabh_agr Feb 17, 2012 6:42 AM (in response to scottjo1)hi scottjo,
i got the same issue, have you find any solution??
please inform
thanks.
-
2. Re: trouble moving to Jboss from BEA Weblogic, need different se
jfclere Feb 17, 2012 9:15 AM (in response to saurabh_agr)DefaultServlet ?
-
3. Re: trouble moving to Jboss from BEA Weblogic, need different se
saurabh_agr Feb 24, 2012 6:54 AM (in response to jfclere)i have something like this in web.xml for weblogic :
<servlet>
<servlet-name>scripts/CM/xml</servlet-name>
<servlet-class>weblogic.servlet.FileServlet</servlet-class>
<init-param>
<param-name>docHome</param-name>
<param-value>c:\sk\document</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>scripts/CM/xml</servlet-name>
<url-pattern>/scripts/CM/xml/*</url-pattern>
</servlet-mapping>
as per your suggestion i should use this for jboss :
<servlet>
<servlet-name>scripts/CM/xml</servlet-name>
<servlet-class>
org.apache.catalina.servlets.DefaultServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>scripts/CM/xml</servlet-name>
<url-pattern>/scripts/CM/xml/*</url-pattern>
</servlet-mapping>
my question : what is the init-parameter name in DefaultServlet corresponding to docHome in FileServlet ?
thanks.
please reply some one.......
-
4. Re: trouble moving to Jboss from BEA Weblogic, need different se
jfclere Feb 27, 2012 4:22 AM (in response to saurabh_agr)You have to put your files in an exploted war and the default servlet will serve them.
-
5. Re: trouble moving to Jboss from BEA Weblogic, need different se
saurabh_agr Feb 27, 2012 6:33 AM (in response to jfclere)i have a running application on weblogic in which files are placed outside war and are mapped by using docHome init-param of FileServlet.
Please inform, Is there any option to do the same thing in jboss as is done by docHome init-param of FileServlet in weblogic?
thanks.
-
6. Re: trouble moving to Jboss from BEA Weblogic, need different se
jfclere Feb 28, 2012 3:37 AM (in response to saurabh_agr)Nope that breaks servlet specs and would make your whole server "unsafe".
The trick is to use a symlink and modify StandardContext to allow AllowLinking. (See AS7-3414).