Top "Struts2" questions

Apache Struts 2 is an extensible framework based on servlets and implements model–view–controller (MVC) pattern in its architecture for creating enterprise-ready Java web applications.

<s:if> test expression evaluation for boolean value doesn't work as expected

I want to check value of variable bool_val using Struts2 tag <s:if> but it's not working. &…

java jsp struts2 ognl boolean-expression
java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter in web.xml

This is my web.xml Code,While running I am getting error like this..How to resolve this? "SEVERE: Exception …

struts2 web.xml
can not access a member of class org.springframework.aop.TruePointcut with modifiers public

I am developing a Spring application using Struts and the Struts JSON plugin. When I run the application it gives …

java spring struts2 struts2-json-plugin
struts2 - understanding the value stack

I have a question regarding the struts2 value stack. Let's say I have an Action class called RegisterAction that has …

java struts2 valuestack
There is no Action mapped for namespace [/] and action name [] associated with context path [/struts]

I've looked through all similar Qs on stackoverflow but it didn't help, sorry. The main difference I have from all …

eclipse spring jsp struts2 action-mapping
How do you get a Struts2 value from the .properties file programatically?

Say I have a struts.properties file with a defined value uploads.directory . How can I access that value from …

properties struts2 actioncontext
Where to put struts.xml

With Struts2 we have to have struts.xml in the class path, so it no longer works to have it …

struts2 configure
Hiding a datepicker using jQuery

I am using struts2 jquery plugin s datepicker as below <sj:datepicker id="frdate" name="training.fromDate" label="From …

jquery struts2 jquery-ui-datepicker struts2-jquery struts2-jquery-plugin
How to use struts2 submit tag as button without submitting the form?

I am using Struts2 framework in my application, I have one button on my JSP page. That is <s:…

java javascript ajax jsp struts2
Maven 3 Artifact problem

I made a new struts project in eclipse using the struts2-archtype-starter. A few errors where in my project already …

java eclipse struts2 m2eclipse maven-3