Thank you very much AduPlssis. its working now. ----- Original Message ----- From: "du Plessis, Corneil C" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, March 14, 2003 1:06 PM Subject: RE: forwarding to servlet
> You should <forward name="error" path="/action"/> > > -----Original Message----- > From: santhosh [mailto:[EMAIL PROTECTED] > Sent: 14 March, 2003 09:06 > To: 'Struts Users Mailing List' > Subject: forwarding to servlet > > > Hello everybody, > > In struts i want to forward to a servlet than a jsp. So in > struts-config.xml how to configure it. if it is jsp we configure like > following for e.g > <forward name="list" path="/list.jsp"/> lik this i want to forward to a > servlet. how to give the path. i have a servlet which i can call from the > browser like the following. > > http://127.0.0.1:8080/dvdapp2/action . and i have configured in > web.xml like the following. > > <servlet> > <servlet-name>error</servlet-name> > <servlet-class>hansen.playground.error</servlet-class> > </servlet> > > <servlet-mapping> > <servlet-name>error</servlet-name> > <url-pattern>/action</url-pattern> > </servlet-mapping> > > > Now if i configure like this <forward name="error" path="/dvdapp2/action"/> > exception if FileNotFoundException. > > > > please help me out in this. > > > Thanx with regds > santhosh hegde A > > ______________________________________________ > > Disclaimer and confidentiality note > > > Everything in this e-mail and any attachments relating to the official business of > Standard Bank Group Limited is proprietary to the company. It is confidential, legally > privileged and protected by law. Standard Bank does not own and endorse any other content. > Views and opinions are those of the sender unless clearly stated as being that of Standard Bank. > > The person addressed in the e-mail is the sole authorised recipient. Please notify the sender > immediately if it has unintentionally reached you and do not read, disclose or use the content > in any way. > > Standard Bank can not assure that the integrity of this communication has been maintained nor > that it is free of errors, virus, interception or interference. > > ______________________________________________ > > --------------------------------------------------------------------- > 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]

