Re: AW: Cannot find ActionMappings or ActionFormBeans
It is not important where you are. Your WAR file structure is important, though. If you cannot explain where your struts-config.xml file is located, then maybe you would prefer to search the net first. Look for something like "(Java OR J2EE OR Struts) web application (directory OR file) (packaging OR structure)". Michael. On 9/23/05, T West <[EMAIL PROTECTED]> wrote: > I'm not sure if I explained myself correctly, but when I make my war > file, I'm inside of the WEB-INF directory, so that everything that is > packaged is the WEB-INF directory. When I open up the war, it's just > all the files and directories that were in the WEB-INF directory. > > On 9/23/05, Dave Newton <[EMAIL PROTECTED]> wrote: > > T West wrote: > > > > > I'm packaging my WEB-INF directory, so that when the war is expanded, > > > it's opening up the WEB-INF directory. > > > > > > > > Huh? > > > > So, where is your struts file? Michael's saying that you probably don't > > have it in the right place, namely, under WEB-INF. The WEB-INF must be > > part of the param-value. > > > > Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Cannot find ActionMappings or ActionFormBeans
T West wrote: I'm not sure if I explained myself correctly, but when I make my war file, I'm inside of the WEB-INF directory, so that everything that is packaged is the WEB-INF directory. When I open up the war, it's just all the files and directories that were in the WEB-INF directory. On 9/23/05, Dave Newton <[EMAIL PROTECTED]> wrote: T West wrote: I'm packaging my WEB-INF directory, so that when the war is expanded, it's opening up the WEB-INF directory. Huh? So, where is your struts file? Michael's saying that you probably don't have it in the right place, namely, under WEB-INF. The WEB-INF must be part of the param-value. Okay, so anyway. Add the WEB-INF to the param-value for the struts config file. / is the document root. /WEB-INF is the WEB-INF directory, where your struts-config file is. So you need to give the complete path to the app server. How are you deploying?! In general you'll want to have your WAR be the entire web-app, not just the WEB-INF directory, if you're hoping to deploy in any standard way. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Cannot find ActionMappings or ActionFormBeans
I'm not sure if I explained myself correctly, but when I make my war file, I'm inside of the WEB-INF directory, so that everything that is packaged is the WEB-INF directory. When I open up the war, it's just all the files and directories that were in the WEB-INF directory. On 9/23/05, Dave Newton <[EMAIL PROTECTED]> wrote: > T West wrote: > > > I'm packaging my WEB-INF directory, so that when the war is expanded, > > it's opening up the WEB-INF directory. > > > > > Huh? > > So, where is your struts file? Michael's saying that you probably don't > have it in the right place, namely, under WEB-INF. The WEB-INF must be > part of the param-value. > > Dave > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Cannot find ActionMappings or ActionFormBeans
T West wrote: I'm packaging my WEB-INF directory, so that when the war is expanded, it's opening up the WEB-INF directory. Huh? So, where is your struts file? Michael's saying that you probably don't have it in the right place, namely, under WEB-INF. The WEB-INF must be part of the param-value. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Cannot find ActionMappings or ActionFormBeans
I'm packaging my WEB-INF directory, so that when the war is expanded, it's opening up the WEB-INF directory. > > On 9/22/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > > > config > > /struts-config.xml <== is this correct? > > > > > > Seems to me that your servlet container cannot find struts-config.xml > > file. Is your struts-config.xml in WEB-INF directory or in document > > root? > > > > Michael. > > > > On 9/22/05, T West <[EMAIL PROTECTED]> wrote: > > > I've tried all of the suggestions given so far, and I'm still > > > receiving the same error. Any more suggestions would be greatly > > > appreciated. > > > Thanks. > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Cannot find ActionMappings or ActionFormBeans
config /struts-config.xml <== is this correct? Seems to me that your servlet container cannot find struts-config.xml file. Is your struts-config.xml in WEB-INF directory or in document root? Michael. On 9/22/05, T West <[EMAIL PROTECTED]> wrote: > I've tried all of the suggestions given so far, and I'm still > receiving the same error. Any more suggestions would be greatly > appreciated. > Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Cannot find ActionMappings or ActionFormBeans
I've tried all of the suggestions given so far, and I'm still receiving the same error. Any more suggestions would be greatly appreciated. Thanks. On 9/18/05, T West <[EMAIL PROTECTED]> wrote: > The exception occurs when I'm in the Tomcat Manager and try to open up > the DatabaseRetrieval project. My web.xml is set up to give index2.jsp > as the welcome-page, so I guess that's where the error first occurs. > >Von: T West [mailto:[EMAIL PROTECTED] > >Whenever I try to start the Struts program, > >however, I receive this error: > >javax.servlet.ServletException: Cannot find ActionMappings or > >ActionFormBeans collection > > > > > >Do you mean that this exception occurs when you start the app server or > >when you visit a page? If the latter, what page are you visiting? > > > >Dave > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Cannot find ActionMappings or ActionFormBeans
The exception occurs when I'm in the Tomcat Manager and try to open up the DatabaseRetrieval project. My web.xml is set up to give index2.jsp as the welcome-page, so I guess that's where the error first occurs. >Von: T West [mailto:[EMAIL PROTECTED] >Whenever I try to start the Struts program, >however, I receive this error: >javax.servlet.ServletException: Cannot find ActionMappings or >ActionFormBeans collection > > >Do you mean that this exception occurs when you start the app server or >when you visit a page? If the latter, what page are you visiting? > >Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Cannot find ActionMappings or ActionFormBeans
R. Markham wrote: Hi! Look at your config-struts.xml file. Why do you use action path="/DatabaseRetrievalAction" type="DatabaseRetrievalAction" input="/index2.jsp" Change "intro" to ="DatabaseRetrievalAction" or vice versa both names should be equal. And the name of "form action" in index.jsp must be the same too. What will changing the name of the forward do? Von: T West [mailto:[EMAIL PROTECTED] Whenever I try to start the Struts program, however, I receive this error: javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection Do you mean that this exception occurs when you start the app server or when you visit a page? If the latter, what page are you visiting? Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]