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

Reply via email to