java.lang.NullPointerException in Struts2 application -
I'm new to Struts 2 I'm working on a web application, I, the exception is the following
am java.lang.NullPointerException be added by the action mapping org.apache.catalina.valves.ErrorReportValve.invoke (struts.xml ErrorReportValve.java:98) org.apache.catalina.valves Kaksesslogwalvekinvoke (Aksesslogwalvekjawa:927) Orgkapachekkatlinkknectorkkyoteadptrksrvis (Kyoteadptrkjawa:407) Orgkapachekkoyotkhttpll. AbstractHttp11Processor.process (AbstractHttp11Processor.java:999) org.apache.coyote.AbstractProtocol $ AbstractConnectionHandler.process (AbstractProtocol.java) Author org.apache.tomcat.util.net.AprEndpoint $ Socket Processor.Ran (AprilEndPointJava 1812) java Kutilkkkrrentkthredpuleksekyutr $ Vrkrkruntsk (Thredpuleksekyutrkjawa:886) Jawakutilkkkrrentkthredpuleksekyutr $ Vrkrkrn (Thredpuleksekyutrkjawa:908) Jawaklangkthredkrn (Thredkjawa:662) < / Code>
I added the following code to struts.xml
The following is my welcome job
package com.mmi.action; Import com.opensymphony.xwork2.ActionSupport; Public Square welcomes ActionSupport {public string executed () {return "success"; }}
I have taken the welcome action in the com.my.action package. Do not know what to do ..
Comments
Post a Comment