Hmmm, may be a stupid question have you remove servlet-mapping as well ? that error is very specific to jetty server, is it possible for you to run the same in tomcat ?
-- Thanks & Regards Sreekanth S Nair Java Developer ------------------------------------------- eGovernments Foundation <http://www.egovernments.org> Ph : 9980078913 ------------------------------------------- <http://in.linkedin.com/pub/sreekanth-s-nair/b/946/5a0/> <https://github.com/sreekanthsnair> <sreekanthsn...@hotmail.co.uk> <sreekanths...@gmail.com> ------------------------------------------- On Thu, Dec 18, 2014 at 1:25 PM, Arpan <arpan.deb...@gmail.com> wrote: > > But this happens only when we remove the following ActionServlet entry from > web.xml file. > <servlet> > <servlet-name>uaconsole</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> > > <load-on-startup>1</load-on-startup> > </servlet> > > With ActionServlet entry everything works fine. > As we are migrating struts1 to struts2 we should only use > StrutsPrepareAndExecuteFilter. > > Thanks > > > On Thu, Dec 18, 2014 at 11:45 AM, Sreekanth S. Nair < > sreekanth.n...@egovernments.org> wrote: > > > > As i said earlier you need to check your jetty server config.. > > http://wiki.eclipse.org/Jetty/Howto/Configure_JSP > > > > Hope you have tried what is on below link > > > > > http://javaresolutions.blogspot.in/2014/04/pwc6345-there-is-error-in-invoking.html > > > > > > -- > > Thanks & Regards > > > > Sreekanth S Nair > > Java Developer > > ------------------------------------------- > > eGovernments Foundation <http://www.egovernments.org> > > Ph : 9980078913 > > ------------------------------------------- > > <http://in.linkedin.com/pub/sreekanth-s-nair/b/946/5a0/> > > <https://github.com/sreekanthsnair> <sreekanthsn...@hotmail.co.uk> > > <sreekanths...@gmail.com> > > ------------------------------------------- > > > > On Thu, Dec 18, 2014 at 11:31 AM, Arpan <arpan.deb...@gmail.com> wrote: > > > > > > Hi, > > > > > > I am starting jetty server through services panel only. > > > > > > Now I have narrowed down the problem. This problem comes when I have > any > > > .jsp file in web.xml, it shows that error. > > > > > > <welcome-file-list> > > > <welcome-file>index.jsp</welcome-file> > > > <welcome-file>index.html</welcome-file> > > > </welcome-file-list> > > > > > > If I remove index.jsp file, no error appears. But while trying to > access > > > login.action, it is not able to access the login.jsp file again. > > > It seems that none of the jsp files are available but action classes > can > > be > > > accessed. > > > > > > What can be the reason for that. > > > > > > Thanks > > > > > > On Mon, Dec 15, 2014 at 3:05 AM, Sreekanth S. Nair < > > > sreekanth.n...@egovernments.org> wrote: > > > > > > > > Hi Arpan > > > > I don't think its something do with struts, mostly some config > problem > > > with > > > > jetty server. Are you trying to start jetty server from eclipse ? if > so > > > can > > > > you try starting from terminal (command prompt). > > > > > > > > Or i would like to check this link > > > > > > > > > > > > > > > > > > http://javaresolutions.blogspot.in/2014/04/pwc6345-there-is-error-in-invoking.html > > > > > > > > > > > > > > > > On Mon, Dec 15, 2014 at 2:45 AM, Arpan <arpan.deb...@gmail.com> > wrote: > > > > > > > > > > PWC6345 > > > > > > > > > > > > > > > > > > > > -- > > > > Thanks & Regards > > > > > > > > Sreekanth S Nair > > > > Java Developer > > > > ------------------------------------------- > > > > eGovernments Foundation <http://www.egovernments.org> > > > > Ph : 9980078913 > > > > ------------------------------------------- > > > > <http://in.linkedin.com/pub/sreekanth-s-nair/b/946/5a0/> > > > > <https://github.com/sreekanthsnair> <sreekanthsn...@hotmail.co.uk> > > > > <sreekanths...@gmail.com> > > > > ------------------------------------------- > > > > > > > > > >