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.

How can I get last inserted id using Hibernate

I want to fetch the last inserted value's id in Hibernate. After search: Long lastId = ((Long) session.createSQLQuery("SELECT LAST_…

java mysql hibernate struts2
Struts 2 File Upload Interceptor configuration problems

I'm having two problems when trying to configure the Struts 2 File Upload Interceptor in my application. I want to change …

file-upload configuration struts2 interceptor interceptorstack
How to rewrite URL in Tomcat 6

I'll build a web application and I want to use url rewriting. In apache this is done with mod_rewrite. …

apache tomcat servlets struts2
Struts 2 nesting iterators

I can't believe how something this simple can seem so hard to do in Struts 2. This is approximately what I …

jsp struts2 iterator nested ognl
Struts2 increment a previous set <s:set /> value

I'm working on JSPs with Struts2, I have to iterate on two lists, and change the background code of each &…

java jsp struts2 jsp-tags
Issue returning JSON value

I'm not getting response as JSON type data from server. I'm using JSON plugin. jQuery( "#dialog-form" ).dialog({ autoOpen: false, height: 500, …

java jquery ajax json struts2
Unexpected Exception caught setting 'xxx' on 'class xxx: Error setting expression 'xxx' with value ['x', ]

I'm passing some parameters to an action class implementing ModelDriven<Transporter> through a query-string. <s:form namespace="/…

java struts2 model-driven struts2-interceptors interceptorstack
Migration from Struts 1 to Struts 2

I am planning to migrate to the Struts 2 with the Struts 1 code base. I am not getting any good source …

java struts2 migration struts1
why are struts Action classes not thread safe?

I can read in many websites that Struts Action classes are not thread safe . I am not able to understand …

java struts2 struts
Why can't i redirect an action to another action in Struts2?

i am using Struts2. I have a dialog box with a list of persons that is update through the "search_…

java struts2