Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Paul Clapham
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Saloon Keepers:
Tim Holloway
Carey Brown
Roland Mueller
Piet Souris
Bartenders:
Forum:
Struts
struts doubts
p hasini
Ranch Hand
Posts: 92
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
1. Can we change the name of struts.xml file
2. Can we change the name of struts-config.xml file
Sagar Rohankar
Ranch Hand
Posts: 2908
1
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Have you tried to change it?, have you looked for the changes need to be done in DD for the same ?
[LEARNING bLOG]
|
[Freelance Web Designer]
|
[and "Rohan" is part of my surname]
Dawn Charangat
Ranch Hand
Posts: 249
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I suppose we can.
But make sure you update the web.xml file too. (struts-config.xml file is mentioned as a <param> parameter to the ActionServlet). So long as you update this location with your change as well, I dont think there should be a problem.
Eswar Nec
Ranch Hand
Posts: 105
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
For example, you want to change xml file name as:
sample-config.xml
instead of
struts-config.xml
So you must edit web.xml file for following way:
<init-param> <param-name>config</param-name> <param-value>/WEB-INF/sample-config.xml</param-value> </init-param>
Sagar Rohankar
Ranch Hand
Posts: 2908
1
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Guys, let the OP have some RnD, let him put some thought about how the
Struts
work. Providing the ready made solution just break the thought process.
[LEARNING bLOG]
|
[Freelance Web Designer]
|
[and "Rohan" is part of my surname]
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
can I change name of the execute() method in struts ?
URL Rewriting and Struts
struts-config.xml with a different name
How to obfuscate a j2ee application
How to submit a form with out a name in javascript
More...