Well I seem to of got the .getResourceAsStream("filename"); to work so
I'm going that direction. If anyone has a better method let me know.

Stanczak Group wrote:

>I've written a servlet with HiveMind and Tapestry that needs to load a
>file for parsing. Usually I would do this:
>
>context.getServlet().getServletContext().getResourceAsStream("filename");
>
>I've tried just using the:
>
>this.getClass().getResourceAsStream("filename");
>
>But I can't seem to get that to work and the first method references the
>servlet. What's the proper way to do this the HiveMind way? Thanks.
>
>  
>

-- 
Justin Stanczak
Stanczak Group
812-735-3600

"All that is necessary for the triumph of evil is that good men do nothing."
Edmund Burke

..________...............__.................
./  _____/..____..._____/..|_..____...____....
/...\..____/.__.\./....\...__\/.._.\./._..\....
\....\_\..\..___/|...|..\..|.(..<_>.|.<_>..)....
.\______../\___.._\__|../__|..\____/.\____/......
........\/.....\/.....\/..........................


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to