Questions tagged [struts-1]

The Apache Struts web framework is a free open-source solution for creating Java web applications. The Struts framework is designed to help developers create web applications that utilize a MVC architecture.

The Apache Struts web framework is a free open-source solution for creating Java web applications. The Struts framework is designed to help developers create web applications that utilize a MVC architecture. Struts 1.x has reached End Of Life status as of 2013-04-05 (see announcement).

The framework provides three key components:

  • A "request" handler provided by the application developer that is mapped to a standard URI.
  • A "response" handler that transfers control to another resource which completes the response.
  • A tag library that helps developers create interactive form-based applications with server pages.

The Apache Struts Project offers two major versions of the Struts framework. Struts 1 is recognized as the most popular web application framework for Java. The 1.x framework is mature, well-documented, and widely supported. Struts 1 is the best choice for teams who value proven solutions to common problems.

Struts 2 was originally known as WebWork 2. After working independently for several years, the WebWork and Struts communities joined forces to create Struts 2. The 2.x framework is the best choice for teams who value elegant solutions to difficult problems.

1232 questions
-1
votes
2 answers

Struts 1.3 getting dynamically created values to backend for validation

I am using struts 1.3. I have a jsp page with a question and set of answers. A code fragment is given below.
Arun
  • 3,701
  • 5
  • 32
  • 43
-1
votes
1 answer

How to pass List from JSP to Struts1.2 action class?

I am sending List as request parameter from Action class to JSP(form) and displaying this list using logic iterator. This list contains ActionForm objects which has boolean type(displaying as checkbox). My requirement is all selected checkbox…
Ayyappak
  • 183
  • 2
  • 4
  • 18
-1
votes
1 answer

will html tag library in struts 1.2 support internetr explorer 9

I am using struts 1.2 to developing an application form which supports all browsers except safari and internet explorer 9 is there any issues with the browsers? Also alignment issues in the above browsers only can any body help?
Nagarajan
  • 1
  • 1
-1
votes
1 answer

org.apache.struts.action does not exist

Below i am giving my code it shows some error it says that org.apache.struts.action does not exist what can i do for pls tell me the solution .... import javax.servlet.http.HttpSession; import org.apache.struts.action.Action; import…
puneet
  • 23
  • 1
  • 7
-1
votes
1 answer

Map a list of names to Form List or Map in Struts 1.2

I ll explain my question with an example. In my JSP page, the form has paired input elements to type first name and last name of employees. There can be many employees. I need to map those first and last names with employees to a List or any…
Débora
  • 5,816
  • 28
  • 99
  • 171
-1
votes
1 answer

Integrate Struts with Spring

I saw a bunch of articles about how to integrate Struts 1.3.x with Spring 3.0.x and they all reference deprecated classes. What is the right and up-to-date approach to do this?
Alexander.Furer
  • 1,817
  • 1
  • 16
  • 24
-2
votes
2 answers

How to set value for dropdownlist in jsp?

am having the following jsp tag to display arraylist values.whereas the zoneInformation contains [North, South, East, West]. <%@ page import="java.util.List"%> <%@ page import="java.util.ArrayList"%>
-2
votes
1 answer

How to change code of struts tag into spring or jstl tag?

This is the example of my code. I was trying to convert my struts code into spring or jstl tag. I tried converting this
-2
votes
1 answer

getServlet() is deprecated its corresponding replacement

I am coding for my changes from Struts1 to Struts2. In this we find many instances where the getServlet is being used like the following code snippet. Now, getServlet() is being deprecated. I would like to know what to use instead. I tried looking…
Test
  • 91
  • 11
-2
votes
1 answer

Differences between Action, DispathAction and LookUpDispatchActiom

I would like to know some of differences between Action, DispathAction and LookUpDispatchAction I would like to know in which scenarios these classes has to be extended. This is in regards with Struts 1.x
nike
  • 13
  • 6
-2
votes
1 answer

ValidatorException exception struts validation framework

I am getting the following error while submitting my form using struts validation frame work Exception Stack Trace org.apache.commons.validator.ValidatorException: Unknown field Axles Spacing Distance in testForm Please help us in resolving this…
user2777452
  • 37
  • 1
  • 1
  • 4
-2
votes
1 answer

JQuery in Struts1.x

I am using LookupdispatchAction in struts 1.x. I want to call a method getData in Action class using JQuery ajax call Struts-config file. Below is my JSP code where I am using three buttons. When I click on the get button, then struts getdata method…
-2
votes
1 answer

i want to download a sample text file attached with jsp

I have a jsp page where user can upload his details via file. but i need a sample format to show him how he has to enter data into the file.and that sample file must be attached in jsp,so on downloading he will come to know how his upload file…
-2
votes
1 answer

input date in two different formats. How to parse it

Possible Duplicate: How to parse dates in multiple formats using SimpleDateFormat I'm using a to get input date. The date string can be in two different formats - MM/dd/yyy and dd.MM.yyyy. After submitting I need to parse this string into…
ATMTA
  • 767
  • 6
  • 18
-3
votes
2 answers

SEVERE: Invalid path was requested /actionname

In struts 1.3 whenever you see a invalid path was requested with /actioname exception in console
Ajay Takur
  • 6,079
  • 5
  • 39
  • 55
1 2 3
82
83