Haven't used Struts 1 for quite some time. Just to check, none of your actions worked? Would you be able to build your application using the sample blank WAR file to see if it can work part by part?
On Jan 8, 2008 4:09 PM, Sohil Rupani <[EMAIL PROTECTED]> wrote: > hi i m using Struts 1 > > Following is the content of my web.xml file. > Please let me know if i m making some mistake in this .. > Thanks > > > <?xml version="1.0" encoding="ISO-8859-1"?> > <!DOCTYPE web-app > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" > "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> > <web-app> > <!-- Action Servlet Configuration --> > <servlet> > <servlet-name>action</servlet-name> > > <servlet-class>org.apache.struts.action.ActionServlet</servlet-class> > > <init-param> > <param-name>config</param-name> > <param-value>/WEB-INF/struts-config.xml</param-value> > </init-param> > > <init-param> > <param-name>debug</param-name> > <param-value>2</param-value> > </init-param> > > <init-param> > <param-name>detail</param-name> > <param-value>2</param-value> > </init-param> > > <load-on-startup>2</load-on-startup> > </servlet> > > > <servlet> > <servlet-name>velocity</servlet-name> > > <servlet-class>org.apache.velocity.tools.view.servlet.VelocityViewServlet > </servlet-class> > > <init-param> > > <param-name>toolbox</param-name> > <param-value>/WEB-INF/toolbox.xml</param-value> > </init-param> > > <load-on-startup>10</load-on-startup> > </servlet> > > > <!-- Action Servlet Mapping --> > > <servlet-mapping> > <servlet-name>velocity</servlet-name> > <url-pattern>*.vm</url-pattern> > </servlet-mapping> > > <servlet-mapping> > <servlet-name>action</servlet-name> > <url-pattern>*.do</url-pattern> > </servlet-mapping> > > <!-- Struts Tag Library Descriptors --> > > <taglib> > <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri> > <taglib-location>/WEB-INF/struts-bean.tld</taglib-location> > </taglib> > > <taglib> > <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri> > <taglib-location>/WEB-INF/struts-html.tld</taglib-location> > </taglib> > > <taglib> > <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri> > <taglib-location>/WEB-INF/struts-logic.tld</taglib-location> > </taglib> > </web-app> > > > > Cheng Wei Lee wrote: > > Are you using Struts 1? Please check your web.xml file. > > > > On Jan 8, 2008 3:56 PM, Sohil Rupani <[EMAIL PROTECTED]> wrote: > > > > > >> Hi , > >> Thanks for the reply.. appreciate you time. > >> > >> Following is the error i m getting on the browser.. > >> > >> HTTP Status 404 - Servlet action is not available > >> type Status report > >> message Servlet action is not available > >> description The requested resource (Servlet action is not available) is > >> not available. > >> Apache Tomcat/5.5.25 > >> > >> I searched throught thru the log file of tomcat. however it doesnt > show > >> any error .. > >> > >> Thanks, > >> Sohil > >> > >> Thanks, > >> Sohil. > >> > >> Cheng Wei Lee wrote: > >> > >>> Hi Sohil, > >>> > >>> Could you provide the stacktrace for troubleshooting? > >>> > >>> Thanks. > >>> > >>> On Jan 8, 2008 3:37 PM, Sohil Rupani <[EMAIL PROTECTED]> wrote: > >>> > >>> > >>> > >>>> Hi, > >>>> > >>>> I m new to struts , using tomcat and jdk 1.5. i m getting a error > >>>> Servlet action not avaliable.. > >>>> which on browsing i learn that is a very common error > >>>> i searched through the tomcat log where i dont see any error > messages.. > >>>> i would like to know where does struts creates its log.. so that i > can > >>>> understand more about the error.. > >>>> Thanks > >>>> Sohil > >>>> > >>>> --------------------------------------------------------------------- > >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>> For additional commands, e-mail: [EMAIL PROTECTED] > >>>> > >>>> > >>>> > >>>> > >>> > > > > >