Fellow tapestry developers,

I need to upload an image to a certain url, but I can't use any Normal file
upload mechanism because I am running Tapestry5 on GAE!
So I decided to resolve this with a Servlet and an url-filter mapping the
request to the Servlet(in web.xml)!
When the user posts the form, the servlet's doPost method will
handle(request) the whole upload of the image.


I've read this article in howards blog:
http://tapestryjava.blogspot.com/2009/12/securing-tapestry-pages-with.html

After reading Howard's blog about security in tapestry pages, my solution
feels quite primitive!
I would like to implement a filter like this one in the article, but I want
to map it to a certain url!


Well I don't know from which Class my Filter should implement.
Where can I found more info about the request life-cycle in Tapestry5?


*What I would like to do is:*
1-Implement a filter with some functionality
2- Inject the filter it at the right place with TapestryIOC.
2-Map an url to this filter


Hope someone can help me out here...

thank you in advance,


Fernando

Reply via email to