Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
show environment in jsp
Gopi
Hi,
Can we get the environment variables in jsp, as we do in show_env.ipl.
Trying to get workarea and vpath.
Thanks in advance
Gopi
Find more posts tagged with
Comments
sunil_j
What is this JSP? How is it related to the overall picture? How are you invoking this JSP?
Regards
Sunil
Technical Consultant
Sydney (Australia)
stefanmaier
Hi,
perhaps this code will help:
Enumeration enm2=System.getProperties().keys();
while (enm2.hasMoreElements()){
String prop=enm2.nextElement().toString();
out.print(prop+" = ");
out.println(System.getProperties().getProperty(prop));
}
Stefan
abackenr
NOT SUPPORTED:
take a look at `iwgethome`/httpd/webapps/content_center/base/support/snoop.jsp
you can hit it at
http://host/iw-cc/base/support/snoop.jsp
ariel
staff engineer @ interwoven