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
1 answer

i18n and struts 1.3

I would to internationalize my web app for multiple locales. I've found several examples, like this. They work, but in that cases it is displayed always the same page (that is if the user changes the language in any page, he/she is redirected to…
Sefran2
  • 3,578
  • 13
  • 71
  • 106
0
votes
1 answer

Struts 1.3: when is better to use DispatchActions than Action?

In what cases is better to use DispatchActions than Action?
Sefran2
  • 3,578
  • 13
  • 71
  • 106
0
votes
1 answer

struts application not working in linux tomcat server

I have a simple struts program working perfectly in windows environment with tomcat 7 as server. But I deployed the application in linux environment with tomcat 7 as server, the application is not running. It shows 404 error. Please help me to…
TONY
  • 45
  • 1
  • 5
0
votes
1 answer

In Struts1, How to access ActionMapping parameter in JSP

Proceeding from the question In Struts1, how to use set-property tag inside action tag? When set-property tag is used, its value is mapped to property in extended ActionMapping class. Is there any way to access this property in JSP ?
Bilal Mirza
  • 2,576
  • 4
  • 30
  • 57
0
votes
1 answer

unable to load captcha.jsp in my img tag for my registration form

I am implementing captcha for my my registration form. When my page loads, i do not know why my captcha does not loads(shows). I am showing my captch using img tag:-> . But same captcha when i acceess it through facebox…
Dan
  • 2,086
  • 11
  • 71
  • 137
0
votes
2 answers

Export an HTML report into MS Word using Java code

I am doing a project in struts1. There is a small problem. I have an HTML report, I need to export this to a MS Word document and print it. How do I do this?
Dan
  • 2,086
  • 11
  • 71
  • 137
0
votes
3 answers

Struts 1: how do i get session variable in DAO layer

I am using struts 1 (maintenance tasks on a legacy project). The application is tiered in ActionClasses calling Manager classes and Manager classes instantiating and using DAO layer classes/ I have to code conditional logic, where based on a session…
Satish
  • 6,457
  • 8
  • 43
  • 63
0
votes
1 answer

java "bean:write " + javascript = "unterminated string literal

<%@ taglib uri="/tags/struts-bean" prefix="bean"%> form.parentProcessNumberPresentation.value= "<"+ "" + ">"; when I print the text with the "bean: write" it comes with "\ n",…
Victor Viana
  • 73
  • 1
  • 1
  • 5
0
votes
1 answer

Struts 1 Tomcat not working in windows 7

I installed Tomcat 6.0.35 Server. My struts application not working in windows 7. I am getting the error when running my struts application: exception org.apache.jasper.JasperException: java.lang.NullPointerException: Module 'null' not found. …
-1
votes
1 answer

Struts 1, Get Function return in Java Script

I have a function called checkSubOffer in my Action class, which will return a Boolean value. I want this value in my JavaScript function docheckSubOf. function docheckSubOf(){ thisForm.method.value = "checkSubOf"; } is there a way to…
user6751235
  • 59
  • 2
  • 12
-1
votes
1 answer

Struts 1.2 : Unable to load a jsp as Action class isn't called

I am enhancing a pre-existed code in Struts 1.2. I am supposed to add a tab called prcm admin. I have made following entries in main xml files and jsp. Also I have an action class with method getViewPriceManagementAdmin. When I tried to debug this…
-1
votes
1 answer

Parse error in struts-config.xml file

I am getting the following error in my struts-config.xml SEVERE: Parse Error at line 6 column 16: Document root element "struts-config", must match DOCTYPE root "form-validation". org.xml.sax.SAXParseException; systemId:…
user3119865
  • 1
  • 1
  • 1
-2
votes
1 answer

javax.servlet.ServletException in struts application

Got javax.servlet.ServletException: java.lang.ClassCastException:com.dna.nsm.sim.action.LogoutAction in struts 1 application. error message : javax.servlet.ServletException: java.lang.ClassCastException: com.dna.nsm.sim.action.LogoutAction …
Kalpana
  • 491
  • 1
  • 7
  • 21
1 2 3
11
12