Call external page

2002-09-05 Thread Benoit Segaert
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

Re: Call external page

2002-09-05 Thread Benoit Segaert
. 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

HTML Error pages

2002-03-12 Thread Benoit Segaert
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

Cannot retrieve definition for form bean null

2002-03-08 Thread Benoit Segaert
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

How can I register a DTD in a war or jar

2002-02-20 Thread Benoit Segaert
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

Second Message Ressource

2002-02-18 Thread Benoit Segaert
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

Error page

2002-02-13 Thread Benoit Segaert
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]