sreehari valeti

Greenhorn
+ Follow
since Feb 03, 2019
sreehari likes ...
IntelliJ IDE Oracle Java
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sreehari valeti

Eroror i am facing is as below. Please find the  source in the attachments. The Same project is working fine with Struts2.3.35 jars. But is failing for Struts2.5.20 jars

ERROR Dispatcher Could not find action or result: /Struts2.5demo2/configlogin.action?username=sree&password=sree
There is no Action mapped for namespace [/] and action name [configlogin] associated with context path [/Struts2.5demo2]. - [unknown location]
at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:195)
at org.apache.struts2.factory.StrutsActionProxy.prepare(StrutsActionProxy.java:57)
at org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:32)
at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:60)
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:564)
at org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:79)
at org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:141)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
5 years ago
Migrating from Struts 2.3 to 2.5

Hi All,

We are trying to migrate our application from Struts2.3.35 to Struts2.5.20

I am facing a problem when i have mapped with action class with a wildcard as below.

I have followed all the instruction given by apache to migrate to Struts2.5. I am Struck here. The Same Struts.xml configuration is working fine with Struts2.3.35 jars.

Please help me to find the solution. I didn't find any help on the apache site, whether wildcard mapping support is removed in the Struts2.5.20? I am not sure. please help if any have an idea on this.


"Struts.xml
-------------------

"

"
Web.xml
---------


"



5 years ago