Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: PlanetStruts has a "Proxy Error"

Martin Gainty

2006-12-24

Replies:

Hi Dale-

Guess i missed the location..where is nofile.xsl located???

M-
---------------------------------------------------------------------------
This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited.
---------------------------------------------------------------------------
Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire.
----- Original Message -----
From: "Dale Newfield" <Dale@(protected)>
To: "Struts Users Mailing List" <user@(protected)>
Sent: Sunday, December 24, 2006 7:22 PM
Subject: Re: PlanetStruts has a "Proxy Error"


> Martin Gainty wrote:
>> I just did a quick build with 2.0.1 and got
>> 2006-12-24 18:40:10,718 ERROR [XSLTResult.java:289] : Unable to render XSLT Template, 'nofile.xsl'
>> javax.xml.transform.TransformerException: Stylesheet nofile.xsl not found in resources
>
> Found in: org.apache.struts2.views.xslt.XSLTResultTest
>
>   public void testNoFileFound() throws Exception {
>      try {
>         result.setParse(false);
>         result.setLocation("nofile.xsl");
>         result.execute(mai);
>         fail("Should have thrown a TransformerException");
>      } catch (TransformerException e) {
>         // success
>      }
>   }
>
> Looks like that exception was supposed to get thrown, but it should also
> have gotten caught...
>
> -Dale
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
©2008 junlu.com - Jax Systems, LLC, U.S.A.