Questions tagged [struts1]

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.

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 offered two major versions of the Struts framework. Struts 1 has reached end of life, and Struts 2 is still under active development. Struts 1 was extremely popular in it's time, and has had significant influence on more modern frameworks such as Struts 2 and SpringMVC.

Struts 1 had its last release in December 2008.

Official EOL announcement for Struts1: https://struts.apache.org/struts1eol-announcement.html

178 questions
0
votes
0 answers

still look for Struts after moving to spring

I've just moved an app (dev on NetBeans and run on glassfish) from Struts 1.3.10 to Spring MVC. I changed my coding, removed all Struts related things, test it in my testing environment. Everything works fine. Then I move the all stuff to production…
senderj
  • 400
  • 1
  • 9
0
votes
1 answer

and behaves differently

I am migrating checkbox from Struts1 to Struts2. So I changed the code from Struts1 to but…
sweety
  • 105
  • 1
  • 6
0
votes
1 answer

Structs Action class execute method always returns null. Struts 1.3.10

I'm upgrading our application from an old version of struts to the latest '1' version: 1.3.10. Now, our code that attempts to process the Action is always getting back a null forward object. I attached the struts source code, and it looks like it…
LuckyJack2001
  • 11
  • 1
  • 4
0
votes
1 answer

How to use display tag with struts 1?

I want when click button Delete, I would get CustomerID and send to Action. To execute function delete.
No Name
  • 1
  • 1
0
votes
0 answers

Struts1 - ActionForm Beans vs ActionForm classes

I am new to Struts 1 and I am trying to educate myself via the official documentation provided by apache.org website. The difference between ActionForm Beans and ActionsForm Classes is not completely clear to me. I do understand the standards for…
BustedSanta
  • 1,368
  • 7
  • 28
  • 55
0
votes
1 answer

Why we extend action class in struts 1.3

I'm currently learning Struts 1.3! Why do we extend Action class in struts 1.3 public class LoginAction extends Action And when i look into web.xml file the mapping says action
Jay Jain
  • 73
  • 1
  • 8
0
votes
1 answer

Rest and Struts 1.x together

I'm relatively new to REST api designing. So If i'm wrong please correct me. I'm trying to add rest services for a struts application. The current code has poor design. So my first challenge is to segregate the java code in such a manner it can be…
Rahul Borkar
  • 2,742
  • 3
  • 24
  • 38
0
votes
1 answer

Struts 1 how to access an object's getter based on a variable

I have a list that tells me the getters to access for all objects in my form. As I iterate through the list, how can I convert that variable into the getter to call on the object? I'm trying to do something like the following but this is not…
0
votes
1 answer

I'm using struts1, about the action name

I'm looking for the process that strusts decided which is the action name. the web.xml config file is: *.do when user request "a.do" in browser, how does struts know the action name is "a" not "a.do"?
lovespring
  • 19,051
  • 42
  • 103
  • 153
0
votes
3 answers

Struts 1 custom localization

I need some help with the following problem. We have an existing web application that uses no framework at all (just servlets) and we need to add new functionalities but instead of adding a new servlet to the web.xml, we are going to add Struts 1…
Tomas Bozzo
  • 23
  • 1
  • 5
0
votes
1 answer

Struts action data does not appear in jsp using struts tags

I'm new to struts and recently heard that using jstl tags is the most preferred way but I'm having a tough time getting through. Questions.java public class Questions { private String label; private String option1; .... public String getLabel() { …
Maverick
  • 302
  • 1
  • 5
  • 17
0
votes
1 answer

Display data on jsp

Please select the subject you want to modify the database of :