Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
[deleted comment]
[deleted comment]
I forgot to say that getFileItemFactory() is in UploadServlet.
I also forgot to say that, although there's a workaround for the code above,
there are times when you need the request inside that method anyway, and I am
in that situation: I need to create an upload folder for each session, but I
can't since I don't have access to the session inside getFileItemFactory() (I
would if I had the request).
Thanks!
Original comment by ferranma...@gmail.com
on 5 Jan 2012 at 9:52
You can get the request anywhere in your code using this method:
UploadServlet.getThreadLocalRequest()
- Manolo
Original comment by manuel.carrasco.m
on 23 May 2012 at 3:24
Original issue reported on code.google.com by
ferranma...@gmail.com
on 5 Jan 2012 at 9:47