Hi all,
I downloaded the SSL plugin from
http://code.google.com/p/struts2-ssl-plugin/
I added the jar to my application path and as the tutorial describes:
"The plug-in extends struts-default so you can extend the "ssl-default"
package to get these additional features." /under usage
I simply changed my "security-default.xml"
from
<package name="security-default" namespace="/" extends="struts-default">
to
<package name="security-default" namespace="/" extends="ssl-default">
but the application throws an exception:
Struts Problem Report
Struts has detected an unhandled exception:
Messages: There is no Action mapped for namespace / and action name
register_forwardPage.
--------------------------------------------------------------------------------
Stacktraces
There is no Action mapped for namespace / and action name
register_forwardPage. - [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)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)
I tried to add other lines to the xml file such as
<interceptor-stack name="SecureStack">
<interceptor-ref name="secure">
false
</interceptor-ref>
<interceptor-ref name="defaultStack"/>
</interceptor-stack>
but I keep getting the same error message.
can anyone advise why this happens?
thank you!
--
View this message in context:
http://www.nabble.com/-S2--using-SSL--configuration-error-tp18932729p18932729.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]