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

spring beans is not configured in struts2?

I am doing a project by using struts2 ,spring and hibernate.I have faced a problem in struts.xml file that its not taking the beans which is declared in applictioncontext.xml. my applicationcontext.xml looks like this
thilo
  • 127
  • 1
  • 3
  • 11
0
votes
2 answers

Chain the request to struts action on another namespace

In my struts application, I have 2 namespaces named 'a' and 'b' and defined action 'process' for each namespace. Now, in some cases I have to chain the request from action 'process' in namespace 'a' to action 'process' in namespace 'b'. However I…
Khoi Nguyen
  • 1,072
  • 2
  • 15
  • 32
0
votes
1 answer

Add a variable to my struts config result redirection

I have a page where I'm "Viewing session info" (where session in this context is a business element. Think of a session like a training session). Part of this session info is a list of files. (An example of a session file would be the sign-in sheet…
corsiKa
  • 81,495
  • 25
  • 153
  • 204
0
votes
0 answers

How can i invoke the "execute" method of an Action redirected from another action in Struts 2?

I've got a problem with redirecting from one action to another in struts 2. In action one (called: StudentZuPruefungHinzufuegen) i am creating action errors and want to show these in action two (called:ZeigePruefungsliste). If i just use the…
0
votes
1 answer

Struts (1.2.9) action mapping error: No action instance for path '/foo' could be created

I get this error :No action instance for path '/foopath' could be created WHEN -FORM- package com.company.appname.web.forms; public class fooForm extends ActionForm { ... -ACTION- package com.company.appname.web.actions public class FooAction…
cscsaba
  • 1,279
  • 3
  • 20
  • 31
0
votes
0 answers

Struts property in external file

I have been having this issue for a long time now and i can't seem to find an answer. I want to know if at least that is possible. I have a Web application and in this action i want to upload an .xls file. The issue is I don't want to upload a big…
cosmincalistru
  • 1,283
  • 9
  • 20
0
votes
1 answer

Export to PDF in struts 2 : Calling different action class doesn't bind form values

In my application, I select the user's name (using check box) and click "Export Data" button, which will open a pop-up (asking whether to export in PDF or CSV). I used jQueryUI to get the modal-dialog the checkbox is in different form and the…
Arun
  • 3,440
  • 11
  • 60
  • 108
0
votes
1 answer

how to write superscripts(like squares,powers) in struts 1.3 properties file?

i have a requirement to print units like m(square) in front end. So, for this i have to mention in properties file. But properties file is not accepting to write like that. Please help me.
sandy
  • 3
  • 1
  • 6
0
votes
1 answer

Struts File Upload identify correct extension instead of .tmp

I am new to Struts and working on File Upload using Struts. Client: It is Java Program which hits my Strut app by using apache HttpClient API and provides me File. Client as per need sometime gives me .wav file and sometime .zip file and sometime…
Jayesh
  • 6,047
  • 13
  • 49
  • 81
0
votes
1 answer

Struts 2 ModelDriven for different request parameter name and bean property name

Is it possible to assign the value to the bean property by implementing ModelDriven interface but having different name in request and bean for eg Ajax request DemoStruts.Action?param_a=649 the value of param_a parameter must set to the property…
arvindwill
  • 1,960
  • 1
  • 23
  • 39
0
votes
1 answer

Struts Tiles application

Am trying a tiles application.Below is my code tiles-defs.xml
rkhm
  • 181
  • 2
  • 3
  • 16
0
votes
2 answers

How can I determine which Struts action is being invoked?

Please pardon me if my question sounds very basic. I am working on a project where they're using struts 1. My supervisor told me that the codes are very messed up. It seems to be that a combination of struts 1 framework and some self created…
Susie
  • 5,038
  • 10
  • 53
  • 74
0
votes
0 answers

how to implement the struts project into my own project?

As a trainee I have been working on a project, a java web application. Till now i have used javascript and jquery for validations but now I also know struts 1.x and struts 2 and want to apply that instead of javascript... So I have to copy all the…
nr5
  • 4,228
  • 8
  • 42
  • 82
0
votes
1 answer

How to detect a mobile phone and redirect to another namespace in struts2

I need to create a website which is working in both pc and mobiles and i am doing this project in struts2. I need to redirect user to another namespace like "www.website.com/mobile" when a user trying to access the website "www.website.com" by using…
user359187
  • 2,269
  • 6
  • 29
  • 44
-1
votes
1 answer

struts module configuration is not working?

I am not able to make modues in struts.my web.xml configuration file contains the below configuration : web.xml config/admin
Satya
  • 8,146
  • 9
  • 38
  • 43
1 2 3
11
12