Java Mailing List Archive

http://www.junlu.com/

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

Re: PlanetStruts has a "Proxy Error"

DNewfield

2006-12-24

Replies:

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.