portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thiwanka Wimalasuriya" <thiwa...@srilogic.com>
Subject portlet app realpath
Date Mon, 06 Dec 2004 04:42:44 GMT
dear all,

i need to read and write to a property file from a jsr168 portlet (J2).
could you point me some resources for how to do this

is there a way to get the realpath of a portlet app the manner we used to do
with servlets

eg:
ServletContext application = getServlet().getServletContext();
String path = application.getRealPath("WEB-INF\\help.properties");

kind regards
-thiwanka


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message