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.

Struts 2 : There is no Action mapped for namespace [/]

I am new to Struts 2 and I have been following a video tutorial on Struts 2(Koushik). I have created the …

java jsp configuration struts2 action-mapping
FilterDispatcher is deprecated! - What is the replacement for FilterDispatcher?

How to avoid the following error? I am implementing Spring-Security on Struts2, the application runs perfectly but the following message …

struts2
When to use redirect and chain result types in struts2

In my struts 2 project when using redirect action i m loosing all my values such as action error and field …

struts2
struts 2 Can not find a java.io.InputStream with the name [excelStream] in the invocation stack

excelStreamI am trying to download an excel file. In my Action class public class ActivityTrackerExlReportAction extends BaseAction { private InputStream excelStream; …

jsp struts2 download jxl
Spring CSRF token does not work, when the request to be sent is a multipart request

I use, Spring Framework 4.0.0 RELEASE (GA) Spring Security 3.2.0 RELEASE (GA) Struts 2.3.16 In which, I use an in-built security token to …

spring struts2 spring-security csrf csrf-protection
There is no Action mapped for namespace / and action name hello

package com.tutorialspoint.struts2; public class HelloWorldAction{ private String name; public String execute() throws Exception { return "success"; } public String getName() { …

java configuration struts2 web.xml struts2-namespace
How to detect submit button clicked in multiple submit buttons scenario in single Action class?

I have a form in a jsp. There are two submit buttons: "Search" and "Add New" button. <s:form …

java struts2 action submit-button
Struts2 & Tiles: When apache.org is down my webapp fails to start

I am building a Struts2 web application which uses tiles however I have discovered a quite frustrating problem where if …

java struts2 dtd xerces apache-commons-digester
Struts2: Why to extend ActionSupport class?

I am a beginner to Struts2. Please tell me why to extend ActionSupport class? (When one doesn't have the requirement …

struts2
How to use parameters, request and session objects present in ActionContext?

Here in this code I am using ActionContext to get Session and ServletActionContext from Request object. I feel this is …

java session struts2 request struts-action