This content has been marked as final.
Show 4 replies
-
1. Re: JBoss and struts, two web.xml files, what should I do?
canobi Dec 19, 2002 2:51 AM (in response to xieby2001)What I have is web-client.xml for Struts stuff and jboss-web.xml for JBoss-specific stuff (i.e. security domain). I package them both in WEB-INF and it works (JBoss 3.0.3).
-
2. Re: JBoss and struts, two web.xml files, what should I do?
xieby2001 Dec 19, 2002 7:15 AM (in response to xieby2001)Thanks canobi.
But I must config web.xml to specify <ejb-ref>, so I must have a web.xml file. If I only specify <ejb-ref> in jboss-web.xml, my ejb cann't be found. -
3. Re: JBoss and struts, two web.xml files, what should I do?
canobi Dec 20, 2002 5:06 AM (in response to xieby2001)Well that should work fine anyway. Just put all the Struts stuff and you ejb-ref tags into web.xml and all the jboss specific stuff into jboss-web.xml and copy both of those files into WEB-INF directory.
-
4. Re: JBoss and struts, two web.xml files, what should I do?
xieby2001 Dec 22, 2002 5:41 AM (in response to xieby2001)Thanks canobi.
It worked.