Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Struts: Action -> Servlet

Thread Tools

Struts: Action -> Servlet

Posts: n/a
I am having a perversly difficult time to determine first if it is
possible to forward or redirect from a return in an Action directly to
a servlet and preserve objects in the session or even parameterize the
response,request. Two what is the actual syntax in the
struts-config.xml & web.xml . No matter what I try the containter says
cant find document. I can of course launch the sendServlet directly.
I have tried placing forward name="goToServlet" path="/sendServlet", as
both local and (with local removed) global. How does the container
"view" the servlet so I can correctly specify it in an forward or
redirect? This has been a head banger. tia.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can we call an Action from another Action in struts??? vyshu Java 1 04-27-2007 09:19 AM
Struts mapping action to action??? runescience Java 3 02-07-2006 04:07 PM
Struts Forward to an Action from an to Action and URLs rjweytens Java 6 06-25-2004 01:49 PM
Servlet question(Tomcat, web.xml, servlet-class, servlet-name) circuit_breaker Java 2 04-04-2004 03:26 AM
Struts Static Action Form vs Dyanamic Action Form Joe Bloggs Java 1 08-03-2003 02:30 AM