If i remember right, everything under WEB-INF was hidden by web.

Or, try to put the complete path to it if you are reading it as a file
from the app.


-----Messaggio originale-----
Da: Don Hill [mailto:[EMAIL PROTECTED] 
Inviato: luned� 24 febbraio 2003 16.03
A: [EMAIL PROTECTED]
Oggetto: content from folder

Hi,

I am trying to get some html fragment from a folder name content, it is
located in webapp/jetspeed/WEB-INF/content/community.html.

I have tryied several ways to get the file as a inputstream

getClass().getClassLoader().getResourceAsInputstream(/WEB-INF/content/co
mmunity.html");
getClass().getClassLoader().getResourceAsInputstream(WEB-INF/content/com
munity.html");
getClass().getClassLoader().getResourceAsInputstream(/content/community.
html");
getClass().getClassLoader().getResourceAsInputstream(content/community.h
tml");

None of these seem to work, I have also tryied to get it with the
ServletContext, anyone have a little insight into this ? Is there a
ContentManagement system that is included with Jetspeed ?

Thanks
Don

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



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

Reply via email to