How can I call an external site from an Action?
I would like to set the site from struts-config.xml file
and use the Struts forward mechanism.
Example:
action path=/links
type=be.uniway..action.LinksAction
scope=request
forward name=success
.
http://jakarta.apache.org/struts/api/org/apache/struts/action/ActionForward.html
-Ted.
Benoit Segaert wrote:
How can I call an external site from an Action?
I would like to set the site from struts-config.xml file
and use the Struts forward mechanism.
Example:
action path=/links
I have define the error page in the web.xml descriptor:
error-page
error-code400/error-code
locationhtml/errorPage.html/location
/error-page
error-page
error-code404/error-code
locationhtml/errorPage.html/location
/error-page
error-page
error-code500/error-code
I have the following config:
form-bean name=offerForm
type=be.uniway.spofferlt.OfferForm/
/form-beans
action-mappings
actionpath=/newOffer
type=be.uniway.spofferlt.NewOfferAction
name=offerForm
scope=request
I want to validate a XML with a DTD in a War application.
I have my DTD available in the war file (or in a jar).
I use a XML file like the following:
?xml version=1.0 encoding=ISO-8859-1 ?
!DOCTYPE Application SYSTEM
file:///C:/java/jakarta-tomcat-4.0.1/webapps/myapplication/WEB-INF/Ldap
How can I use a second ApplicationResource html:errors/ ?
In the JSP page, I can use html:errors
bundle=secondApplicationResource/
Is it possible to define secondApplicationResource in the
ActionServlet parameters
in web.xml? If not how to define it in the servlet context?
--
To
How can I configure Struts to present a beautiful error page (without
the stacktrace),
if I receive a Servlet Exception or JSP Exception?
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
7 matches
Mail list logo