thanks Lukasz
i tried it but i got one servelet exception
Jul 9, 2009 12:02:11 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Looking for ActionForm bean under attribute
'HelloWorldFromBean'
Jul 9, 2009 12:02:11 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Creating new ActionForm instance of class
'examples.firstStruct.helloWorld.HelloWorldFrom'
Jul 9, 2009 12:02:11 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Storing instance under attribute 'HelloWorldFromBean' in
scope 'request'
Jul 9, 2009 12:02:11 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Populating bean properties from this request
Jul 9, 2009 12:02:11 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet action threw exception
javax.servlet.ServletException: Servlet execution threw an exception
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Lukasz Lenart wrote:
>
> 2009/7/9 jayadevan <[email protected]>:
>> <action-mappings>
>> <action
>> path="/helloWorld"
>> type="examples.firstStruct.helloWorld.HelloWorldAction"
>> name= ""
>
> Add name = "HelloWorldFromBean"
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
> http://dailylog.lenart.org.pl/
>
> Jack Benny - "I don't deserve this award, but I have arthritis and I
> don't deserve that either." -
> http://www.brainyquote.com/quotes/authors/j/jack_benny.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
--
View this message in context:
http://www.nabble.com/exceute%28%29-method-in-action-class-didn%27t-called-tp24404009p24404862.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]