I had a similar problem. Turned out that I was overriding setServlet(). There was an exception in my implementation of setServlet() that was causing my Action to not get fully initialized resulting in a blank page when I accessed it. The same thing might happen if your constructor or other initialization code (static initializer block, etc) is failing or throwing an exception. There may be a class that your Action depends on that is not in the classpath as well.
Tim -----Original Message----- From: Francisco Hernandez [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 3:27 PM To: Struts Users Mailing List Subject: Re: problem trying to use my own actions i tried renaming it from createVenue to editVenue and tried different setups, and it still does not work. ----- Original Message ----- From: "Francisco Hernandez" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, April 09, 2002 3:24 PM Subject: Re: problem trying to use my own actions > my action class is in the class path, in its the webapp/WEB-INF/classes > directory > > if i remove the class from the class path i get an error that said it was > not able to instanciate the class > > No action instance for path /editVenue could be created > > then once i move the file back into the correct place the link will work, > but its blank (0 byte) > > ----- Original Message ----- > From: "Xianzhong chen" <[EMAIL PROTECTED]> > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> > Sent: Tuesday, April 09, 2002 2:43 PM > Subject: RE: problem trying to use my own actions > > > > Sure your action class is on the classpath of orion or reson? > > > > -----Original Message----- > > From: Francisco Hernandez [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, April 09, 2002 2:40 PM > > To: Struts Users Mailing List > > Subject: Re: problem trying to use my own actions > > > > > > > > ----- Original Message ----- > > From: "Jay sissom" <[EMAIL PROTECTED]> > > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > > Sent: Tuesday, April 09, 2002 2:25 PM > > Subject: Re: problem trying to use my own actions > > > > > > > Lots of questions: > > > > > > 1. Is your action servlet loading? Your log files should tell you > that. > > > > my action servlet is loading correctly, i have an index.jsp page that can > > use the struts tags logic:notPresent for testing if > > org.apache.struts.action.MESSAGE is under the application scope and a few > > html:link tags that work fine, the app server apps display some of > struts's > > message when loading > > > > > 2. Do you have a mapping for *.do to your action servlet in your > web.xml > > > file? > > > > yes I do. > > > > > 3. Did you try to access /webapp/createVenue.do (where webapp is the > > > context name of your web app)? > > > > when i access /webapp/createVenue.do i just get a blank 0 byte page > returned > > > > > > in my struts config i have these simple mappings that do infact work > > correctly, > > > > <action path="/test" forward="/index.jsp"></action> > > <action path="/admin/reload" > > type="org.apache.struts.actions.ReloadAction" /> > > > > its just my own CreateVenueAction action that does not want to work > > > > > > > > > > > > Jay > > > > > > On Tue, 9 Apr 2002, Francisco Hernandez wrote: > > > > > > > > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>