Questions tagged [struts-config]

Use this question for struts-config related questions.

The struts-config.xml configuration file is a link between the View and Model components in the Web Client. It plays an important role in building both Controller components and Application-specific configurations.

This file is created to every application in the format as <module>-struts-config.xml, where can be topo, fault, perf and so on. For example, a struts-config.xml file of the fault module is represented as fault-struts-config.xml and is present in /webclient/fault/conf directory.

Attribution : http://www.webnms.com/webnms/help/developer_guide/web_client/web_struts_config.html

171 questions
0
votes
2 answers

How to add Struts 1.x to Eclipse Java EE?

I download eclipse java EE from eclipse.org and download struts 1.3 from apache.org. Now I want to add struts framework to eclipse so that i can use struts library. I read many pages but each one says something which is different from other…
Saeed Taheri
  • 41
  • 1
  • 4
  • 8
0
votes
1 answer

Read a form bean property to pass on to a forward

I am using struts 1.3. I have a an action I am reusing in 3 different cases. The form bean backing this has a property that has the complete path(passed from the jsp) to which the action should forward in case of success/failure(the path is…
Rama
  • 1
  • 2
0
votes
0 answers

Define a property in Struts1 configuration file to use inside the same config file

I want to define a property in Struts1 configuration file to use inside the same config file. As an example, Define the property Use the property value
isurujay
  • 1,386
  • 10
  • 15
0
votes
1 answer

Java Struts 1 HTTP Status 500

I am writing my first helloworld web projet in java web JSP Struts 1. I have tried hard to fix this HTTP Status 500 error. Any help will be appreciate. Here is my githud code source: https://github.com/paeltc/Struts1Demo1. This is the response I…
PAUL ELVIS
  • 13
  • 5
0
votes
5 answers

Cannot find ActionMappings or ActionFormBeans collection

hello guy's i am new in struts while running a program in struss i got an error like this.... org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans…
user528050
  • 157
  • 2
  • 4
  • 21
0
votes
0 answers

Does Struts1.x compatible with Java11/Java12?

Am working in a project where the application runs in Struts 1.3 and Java 7, We now need to upgrade the Java version to the latest [just java alone and not Struts] When upgraded to Java 8, we managed to run the application with Struts 1.3 however I…
Mithun
  • 1
  • 1
  • 1
0
votes
2 answers

Cannot find ActionMappings or ActionFormBeans collection?

hello guy's i am new in struts while running a program in struss i got an error like this.... org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans…
user528050
  • 157
  • 2
  • 4
  • 21
0
votes
2 answers

Struts2 + Spring + JPA (Hibernate): action mapping problem

I'm trying do this integration: Struts2 + Spring + JPA (Hibernate). This sample run into a common struts exception that for instance, I'm not able to solve by myself. On submit i have: HTTP Status 404 - There is no Action mapped for namespace / and…
brainondev
  • 1,117
  • 1
  • 11
  • 20
0
votes
2 answers

struts2 configuration bean issue

Recently i started looking into struts2 and I've been noticing this weird problem Caused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name struts has already been loaded by bean -…
ETS
  • 516
  • 2
  • 7
  • 15
0
votes
1 answer

Incorrect success forward path in struts 1.2

Incorrect success forward path is set for all the users: I have this in struts config: In my action class, I changed the "success" forward…
0
votes
2 answers

ClassNotFoundException in Web Application using struts

I am developing a web application using Apache Struts, to be deployed on JBoss Server. Using eclipse for development. I have configured web.xml to forward all *.do requests to ActionServlet. A JSP page (abc.jsp) has a form with…
0
votes
2 answers

Regular Expressions Struts 1.3 Action Mapping

I am working on a project using Struts 1.3 from what I can tell, given that this is at the top of the struts-config-default.xml file:
penguinsource
  • 1,120
  • 3
  • 16
  • 40
0
votes
3 answers

What is wrong with this struts-config.xml?

Getting the following error : java.lang.NullPointerException: Module 'null' not found.
Lokesh Sah
  • 2,283
  • 5
  • 23
  • 33
0
votes
1 answer

What is the use of "attribute" attribute of action node in struts-config.xml?

From the dtd definition of Struts-Config.xml http://struts.apache.org/1.x/struts-core/dtddoc/index.html The action element describes an ActionMapping object that is to be used to process a request for a specific module-relative URI. The following…
Shashi
  • 12,487
  • 17
  • 65
  • 111
0
votes
0 answers

Struts2 404 error - basic exercise

i'm learning struts2 framework and i'm trying to make a first exercise (following a guide). The exercise is a simple Hello World... When I run on server my application, the page show me the error 404, The requested resource is not available. I don't…