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
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
ActionForward point to different application
Jason Berk
Ranch Hand
Posts: 41
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
the struts-config for MyAppA has an action with a forward like so:
<forward name="quit" path="/apps/account/tools" redirect="true"/>
The URL that gets built is:
http://server/apps/account/MyAppA/apps/account/tools
and I get a 404
what I want is:
http://server/apps/account/tools/
(which is a different WAR)
How can I pull something like that off?
Jason
Merrill Higginson
Ranch Hand
Posts: 4864
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Specify the entire URL in the path including the "http://".
Merrill
Consultant,
Sima Solutions
Jason Berk
Ranch Hand
Posts: 41
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
yeah, that's how I have it now. Is that really the ONLY way? Can I atleast specify the path as a variable...like pull it in from the resource bundle?
Jason...
Merrill Higginson
Ranch Hand
Posts: 4864
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
It's the only way. Unless you want to write an extension to
Struts
to do it however you want.
Merrill
Consultant,
Sima Solutions
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
About Testing
JSP Editor
Please recommend a file/directory comparison tool.
how to forward from the root
ActionForward point to different application
More...