getRealPath in a Tag Handler LOCKED
Locked Thread
This thread is locked. New replies are not allowed.
So, I've been transitioning all my developement over to Java since I've been running Linux hard-core for the past 8-months on my personal machines and I want to keep everything multi-platform.
We recently had a good jsp hosting company come on to JSPIN.com with some good capacity and good prices, so I'm transitioning my personal site to jsp, but I have a quick question for some of you guys that have been doing it heavily for a good amount of time.
I'm writing a tag handler to dynamically read in an image, manipulate it, and then either save it or write it directly to the output stream (in my aspx page, I just wrote an httphandler). Not that difficult, and i already got it working from within a jsp, but inside the tag handler I think I am missing how to get the ServletContext in order to access the getRealPath method to read the files.
Any ideas?
AI Summary
4 Comments
[Moved to Programming]
This should be in the programming forum BTW. we don't get much traffic over there. Help a brother out.
by