This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets and the fly likes Struts Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Servlets
Bookmark "Struts Question" Watch "Struts Question" New topic

Struts Question

Tripp Bishop

Joined: Aug 23, 2002
Posts: 21
How do I specify a servlet as the ActionForward destination? I'm getting
the following error: The requested resource (/XSLServlet) is not available.
I have an action class that is forwaring on to a servlet. here's the
action mapping from struts-config.xml:
<action path="/ViewReportsAction"
<forward name="Passed" path="/XSLServlet"/>
<forward name="Failed" path="/jsp/Errors.jsp"/>
and from web.xml:
Any idea why I would get that error?
James Carman
Ranch Hand

Joined: Feb 20, 2001
Posts: 580
Do you have a <servlet-mapping> element which maps your servlet to that URL?

James Carman, President<br />Carman Consulting, Inc.
I agree. Here's the link:
subject: Struts Question
It's not a secret anymore!