What's New

13 Feb 2016

Struts2 Wildcard (Dynamic) Method Selection with Example

Generally, if we have 3 methods in  action class then we have to configure 3 separate action nodes inside struts.xml. Consider the fol...

4 Nov 2015

How to Get Action Name in JSP Using Struts2

Some single page applications/modules need to check the user's action (URL) before displaying the content corresponding to the action. ...

3 Nov 2015

How to Get Requested Action (URL) Name in Struts2

Sometimes we need to validate the requested user's action (URL), for example to check whether the logged in user has access to a partic...

2 Nov 2015

Action Mapping in Struts2

In Struts2, Action Mapping tells the framework: which java class has to respond for a URL (user's action) request, which method of...

2 Jun 2015

Hide “action” extension in Struts2

In struts2 all action class has '.action' extension by default. But struts2 allows to configure the action extension easily just b...

1 Jun 2015

Action Extension in Struts2

In struts2 all action class has .action extension by default. Consider an example as shown below: <struts> <package name=&quo...

5 Jan 2015

Create Struts2 Application in Eclipse

Create a New Dynamic Web Project In Eclipse, go to File > New Project and select Dynamic Web Project in New Project wizard and click ...
Popular Posts

Write to Us
Name
Email
Message