struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Piker" <scott.pi...@xede.com>
Subject RE: Need Help Deciphering Error:
Date Wed, 02 Mar 2005 20:05:00 GMT
You have a typo there... valudate="true"
 

-----Original Message-----
From: Scott Purcell [mailto:spurcell@vertisinc.com] 
Sent: Wednesday, March 02, 2005 2:43 PM
To: user@struts.apache.org
Subject: Need Help Deciphering Error:

Hello,
I am getting the following error and I cannot quite figure out what I am
doing wrong? Can anyone give me some insight into this?
 
Here is the circumstance:
I have a jsp page that does a href to this action:
"/action/uploadAssets"
This will display a simple JSP page that shows a html form with some
text and upload objects.
 
When my struts-config.xml has this line:
<action path="/uploadAssets" forward="/jsp/admin/upload.jsp" />"
all is good and the site runs fine.
 
But because I subclassed Action to have a "isLoggedIn()" to ensure the
users are logged in, I want to use this: Therefore I can validate  that
the user is logged in in my LoginAction class then forward away to the
page I want to go to.
 
This is what breaks it:
  <!-- Upload Action -->
    <action path="/uploadAssets" 
      type="com.skp.action.LoginAction"
     name="LoginForm"
     valudate="true"
     input="/jsp/myadmin.jsp">
  < forward name="Success" path="/jsp/admin/upload.jsp"
redirect="true"/>
  </action>

But as soon as I switch the above code for this code block I get the
following error:
 
Thanks,
Scott
 
 
 
javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE at
org.apache.struts.util.RequestUtils.message(RequestUtils.java:814)
at
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:295)
at
org.apache.jsp.myadmin_jsp._jspx_meth_bean_message_0(myadmin_jsp.java:24
9)
at org.apache.jsp.myadmin_jsp._jspService(myadmin_jsp.java:166)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:92)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:162)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:200)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:146)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:209)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:144)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:235
8)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:133)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:118)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:594)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:116)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:594)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:127)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
33)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
at java.lang.Thread.run(Thread.java:536)

 

Scott K Purcell | Developer | VERTIS |
555 Washington Ave. 4th Floor | St. Louis, MO 63101 | 314.588.0720
Ext:1320 | spurcell@vertisinc.com | http://www.vertisinc.com
<http://www.vertisinc.com/>  

Vertis is the premier provider of targeted advertising, media, and
marketing services that drive consumers to marketers more effectively. 
                                                 

 

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


Mime
View raw message