struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gowri shankar <gowrishanka...@yahoo.co.in>
Subject Re: Error Msg:Internal Server Error
Date Tue, 29 Jul 2003 07:33:33 GMT
hi,
i tried to do as u said , but still i am  getting the
same error messge. i have sent struts-config.xml file
for your perusal.


<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts
Configuration 1.0//EN"
         
"http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">

<struts-config>

  <!-- ========== Form Bean Definitions ============
-->
  <form-beans>
  	<form-bean name="login"
type="test.struts.LoginForm" />
  </form-beans>


  <!-- ========== Global Forward Definitions =========
-->
  <global-forwards>
  </global-forwards>


  <!-- ========== Action Mapping Definitions ========
-->
  <action-mappings>
    <action
    	path="/login"
    	type="test.struts.LoginAction"
    	name="login"
    	input="/jsp/LoginView.jsp"
    	validate="true">

	    <forward name="valid" path="/jsp/MainMenu.jsp" />
	    <forward name="invalid" path="/jsp/LoginView.jsp"
/>
	</action>
  </action-mappings>

<!--=====message Resources=====-->
  <message-resources
   parameter="test.Struts.MessageResources"/>
   
</struts-config>




 --- R Balaji <balajir@india.adventnet.com> wrote: >
check whether u have the
> *MessageResources.properties  *in the right 
> place and being configutred in the
> struts-config.xml.
> 
> balaji
> 
> gowri shankar wrote:
> 
> >Hi,
> >
> >This is Gowri Shankar.I tried to run a struts
> >application (A basic web Application)which was
> given
> >in the site ---
>
>http://www.javaranch.com/newsletter/Mar2002/newslettermar2002.jsp#struts
> >
> >
> >I compiled the application and when i tried to run
> it
> >I got the following error.
> >
> >Can anyone please help me out in fixing this bug.
> >
> >
> >The error in the browser was ....
> >
> >Apache Tomcat/4.0.6 - HTTP Status 500 - Internal
> >Server Error
> >
>
>--------------------------------------------------------------------------------
> >
> >type Exception report
> >
> >message Internal Server Error
> >
> >description The server encountered an internal
> error
> >(Internal Server Error) that prevented it from
> >fulfilling this request.
> >
> >exception 
> >
> >javax.servlet.ServletException: Missing resources
> >attribute org.apache.struts.action.MESSAGE
> >	at
>
>org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)
> >	at
>
>org.apache.jsp.LoginView$jsp._jspService(LoginView$jsp.java:365)
> >	at
>
>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
> >	at
>
>javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >	at
>
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
> >	at
>
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
> >	at
>
>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
> >	at
>
>javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >	at
>
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
> >	at
>
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> >	at
>
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
> >	at
>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> >	at
>
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> >	at
>
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> >	at
>
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
> >	at
>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> >	at
>
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> >	at
>
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> >	at
>
>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
> >	at
>
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
> >	at
>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> >	at
>
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
> >	at
>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> >	at
>
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
> >	at
>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> >	at
>
>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
> >	at
>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> >	at
>
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> >	at
>
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> >	at
>
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> >	at
>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> >	at
>
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> >	at
>
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> >	at
>
>org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
> >	at
>
>org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
> >	at java.lang.Thread.run(Thread.java:484)
> >
> >
> >root cause 
> >
> >javax.servlet.jsp.JspException: Missing resources
> >attribute org.apache.struts.action.MESSAGE
> >	at
>
>org.apache.struts.taglib.MessageTag.doStartTag(MessageTag.java:360)
> >	at
>
>org.apache.jsp.LoginView$jsp._jspService(LoginView$jsp.java:76)
> >	at
>
>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
> >	at
>
>javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >	at
>
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
> >	at
>
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
> >	at
>
>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
> >	at
>
>javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >	at
>
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
> >	at
>
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> >	at
>
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
> >	at
>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> >	at
>
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> >	at
>
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> >	at
>
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
> >	at
>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> >	at
>
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> >	at
>
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> >	at
>
>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
> >	at
>
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
> >	at
>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> >	at
>
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
> >	at
>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> >	at
>
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
> >	at
>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> >	at
>
>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
> >	at
>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> >	at
>
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> >	at
>
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> >	at
>
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> >	at
>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> >	at
>
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> >	at
>
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> >	at
>
>org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
> >	at
>
>org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
> >	at java.lang.Thread.run(Thread.java:484)
> >
> >
> >
>
>________________________________________________________________________
> >Send free SMS using the Yahoo! Messenger. Go to
> http://in.mobile.yahoo.com/new/pc/
> >
>
>---------------------------------------------------------------------
> 
=== message truncated === 

________________________________________________________________________
Send free SMS using the Yahoo! Messenger. Go to http://in.mobile.yahoo.com/new/pc/

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


Mime
View raw message