Hi
I am using the global Exception tag in the Struts-xml.config file.
<global-exceptions>
       <exception
           key=""
           path="Login.html"
           scope="request"
           type="java.lang.Exception"/>

       </global-exceptions>

Since my resposes are xsl files,I needed to know if i can manage to put in an error 
message into the html page .


the architecture uses struts framework for request ..but in the response uses 
XMLServlet engine ...to parse a xsl template and xml data instead of jsp and formbean.

so the action config  looks like this :=
<action path="/GroupInfo"
                type="com.mastek.proposal.ui.GroupInfoAction"
                scope="request"
                name="GroupInfoActionForm"
                validate="true"
                >
        <forward        name="Success" path="XSLServlet"/>
        <forward        name="Failure" path="Error.jsp"/>
        </action>


Now for displaying an error message on the login page i needed to know using resource 
bundle (the key attibute) can i parse using the xmlservlet engine??
Is there any better method not using JSP?? 


regards
Alan


MASTEK
Investing in relationships
In the US, we're called MAJESCO

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek 
Limited, unless specifically indicated to that effect. Mastek Limited does not accept 
any responsibility or liability for it. This e-mail and attachments (if any) 
transmitted with it are confidential and/or privileged and solely for the use of the 
intended person or entity to which it is addressed. Any review, re-transmission, 
dissemination or other use of or taking of any action in reliance upon this 
information by persons or entities other than the intended recipient is prohibited. 
This e-mail and its attachments have been scanned for the presence of computer 
viruses. It is the responsibility of the recipient to run the virus check on e-mails 
and attachments before opening them. If you have received this e-mail in error, kindly 
delete this e-mail from all computers.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to