I am able to reach the index.html through welcome-file-list perfectly
However when I try to click the link on index.html to pull up the login.jsp I get the following error
HTTP Status 500 -
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
There is no Action mapped for action name showLogin. - [unknown location]
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:186)
org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:41)
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:494)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)
Does your log file show any errors on startup? You should have "devMode" turned on during development--it increases the quantity of error messages and reporting available. You can also try using the config-browser plugin to examine what Struts 2 thinks your configuration is.
I don't see anything obviously wrong, so I'm guessing there's a problem on startup. What library files are you deploying?
hamed rafati
Greenhorn
Joined: Feb 05, 2010
Posts: 1
posted
0
Hi
I had same problem, i removed the namespace Attribute from struts.xml !
E=MC²
sreedhar Lackka
Ranch Hand
Joined: Jul 05, 2008
Posts: 154
posted
0
Is it worked?
I am also struggling with same error,
Do we need to remove entire "<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">"