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
1
vote
2 answers

Error "The absolute uri: http://struts.apache.org/tags-html cannot be resolved in either web.xml or the jar files deployed with this application "

i am new to Struts.i have tried an sample struts1.x application.when i run it ,it gives an error The absolute uri: http://struts.apache.org/tags-html cannot be resolved in either web.xml or the jar files deployed with this application" my jsp page…
user3066213
  • 101
  • 2
  • 2
  • 5
1
vote
1 answer

Struts 2.0 error

I am developing a simple HelloWorld struts application. I am doing the configuration using struts.xml file. the welcome page is displayed but when I click on the form submit button, it gives 404 error. Kindly provide some pointers. action…
1
vote
1 answer

A minor misconception in mapping struts 1.2

What does this following code do? mapping.getInputForward() Does is sends the control back to the struts-config file? Does it send the control to the action form? Thanks.
Punjan Sudhar
  • 221
  • 1
  • 2
  • 8
1
vote
0 answers

Issue with Session when multiple users logged in, data seems to be shared behind 1 proxy IP in struts 1.3

This is how i create session in LoginAction HttpSession session=request.getSession(false); if(session!=null) { session=request.getSession(true); if(!session.isNew()) { ........ //Business Logic …
Chandra Shekhar
  • 262
  • 2
  • 4
1
vote
3 answers

how to get multiple checkbox value in struts 2 using checkbox list

Hi I am new to struts 2 , Can somebody tell me how to get multiple checkbox value in struts 2. So far i have developed the code which is as follows. i am getting the error tag 'checkboxlist', field 'list', name 'subscribe': The requested list key…
user251287
  • 101
  • 1
  • 3
  • 12
1
vote
0 answers

Spring Struts 1 advice is not being invoked

Our project architecture uses Struts 1 and Struts 2 with Spring 3. I am trying to create an Aspect for better exception handling. Struts 1 was until now not Spring managed - So I followed this link How to integrate an old Struts application with…
blaks
  • 113
  • 3
  • 14
1
vote
3 answers

What is the default package name for Struts in struts.xml?

I created a new class called RegesterAction but I didn't keep this class in any package. How can I configure this class in the struts.xml? Below is the struts.xml file but I'm unable to understand the attribute values "default" and…
Tatarao voleti
  • 513
  • 3
  • 7
  • 23
1
vote
2 answers

Struts + Spring Integration issue with struts-config.xml

I am trying to integrate Struts with Spring. Struts alone is working fine. However when I am trying to put:
1
vote
1 answer

return caller caller page after login in struts2

I have a download.jsp page which has an functionality of downloading the files only when he logins. when ever he clicks the download option it asks for the login to download and he redirected to login page , when he authenticate the user should…
pavan
  • 334
  • 6
  • 20
1
vote
2 answers

how to calling a custom interceptor before index.jsp(welcome) page loaded in struts 2 application

there is any way in Struts 2 that works like a ServletContextListener? The reason why I'm trying to do this is I do have some values that would be fetched from the DB and I want these values to available in my application home page when ever home…
Sandeep vashisth
  • 1,040
  • 7
  • 20
  • 40
1
vote
1 answer

How can i Connect struts-config.1-3.10.dtd file my struts-config.xml

I am a beginner to struts.I am getting a error i never heard in classroom.The error is in struts-config.xml.The code for it is
Siva Kumar
  • 632
  • 3
  • 9
  • 19
1
vote
1 answer

HTTP Status 500 - No action instance for path in Struts1

It's my first time to use Struts and I build a very simple program But I always got this error :( I've googled it for 2 days but my type is correct for sure. Here are my codes: web.xml
Kooper
  • 715
  • 1
  • 10
  • 13
1
vote
1 answer

How to dynamically set the value of "input" attribute in Action tag - Struts-config.xml (Struts 1.2)

In the struts-config.xml file,action element has a input attribute which used when the actionForm's validate method return some errors.
Chinni
  • 137
  • 3
  • 8
1
vote
1 answer

Cannot exclude method in struts2 interceptor

I am having the opposite problem of the fellow in this question: Struts 2: excluding method from validation from just the defaultStack interceptor The above question involved all methods being excluded, my issue is that no methods are being…
IVR Avenger
  • 15,090
  • 13
  • 46
  • 57
1
vote
2 answers

Getting JSON popup to save or open dialog instead of actual content?

My Problem: The json string returns as a file. When i call the getJSONResult action it will give me a file with the json string in it, which i can open or download. I think it’s a configuration problem, but i can’t find it. I would be very glad if…
Esh
  • 836
  • 5
  • 16
  • 43