struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Slama <rsl...@spiritline.org>
Subject Re: Struct Logging
Date Tue, 08 Jan 2008 20:45:12 GMT
send your struts-config.xml and requested url


r^



Dave Newton  wrote / napĂ­sal(a):
> It's probable there's an error in one (or more) of your S1 configuration
> files.
>
> d.
>
> --- Sohil Rupani <sohil@gslab.com> 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 <sohil@gslab.com> 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 <sohil@gslab.com> 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: user-unsubscribe@struts.apache.org
>>>>>> For additional commands, e-mail: user-help@struts.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>             
>>>>>       
>>>>>           
>>>   
>>>       
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
> __________ Informacia od NOD32 2772 (20080107) __________
>
> Tato sprava bola preverena antivirusovym systemom NOD32.
> http://www.eset.sk
>
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message