You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@attbi.com on 2003/01/20 23:19:03 UTC

Re: [Tapestry-developer] Problem with exception, stalelink and stalesession pages ...

You must have cut-and-pasted the build.xml that launches Jetty, but not the 
jetty.xml that maps the "/private" virtual folder.  Basically, Tapestry is 
exporting your private assets to a directory that is then mapped to a virtual 
folder, allowing Jetty to serve up your private assets as static files (much, 
much faster).

Stale whatever exceptions?  Need to see more.

--
hlship@attbi.com

http://tapestry.sf.net
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> I'm working on the 'required pages' part of Tutorial 2, and am observing some 
> *werid* behavior.  I will post web.xml, *.xml, *.properties, *.page etc etc 
> if people requiest. This is a quick email to ask if I'm doing something 
> WEIRD.
> 
> My app just fires StaleLinkException, StaleSessionException and some other 
> RequestCycleException. The app has one page, Home.
> 
> They do "the right tight", apart from:
> 
> NO CSS!
> 
> The generated HTML is referring to the asset as a private asset. The asset URL 
> begins with "/private/net/sf..../Exception.css".  Yet, if I run the standard 
> Tutorial v1 - the asset is generated in a completely different manner, like a 
> link with service parameters.
> 
> Er.
> Seems weird to me.
> Obviously, with a URL beginning like that, the browser is NOT going to (and it 
> doesn't) find the asset - thus no CSS, thus my wonderful tutorial pages look 
> horrid :-(
> 
> Have I done something obviously wrong?
> If you need files, app specifications, etc, please ask. I'm currently writing 
> this email at a machine that does not have these available. I am more than 
> happy to post them up.
> 
> - -- 
> Regards,
> Neil Clayton
> 
> (PS: If you see strange text you don't understand underneath my email, don't 
> worry - it's just my PGP signature)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
> 
> iD8DBQE+LHNLLXcfQF3yrNoRAqNsAJ9dd9CHFDgwSfDz4HEj2Y+aCkst6wCeLNh6
> UlH59zWbk2sr+btlDt+nPh0=
> =5nt8
> -----END PGP SIGNATURE-----
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
> are you planning your Web Server Security? Click here to get a FREE
> Thawte SSL guide and find the answers to all your  SSL security issues.
> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
> _______________________________________________
> Tapestry-developer mailing list
> Tapestry-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer