users@glassfish.java.net

Access glassfish system properties from a jsp?

From: <forums_at_java.net>
Date: Fri, 28 Sep 2012 18:52:56 -0500 (CDT)

Howdy, I have a fairly simple test web app that is just a jsp that makes
several calls to a web service. The web service and the test app both live on
several servers. The problem is that the calls need to be made from the test
app to the web service on the same server. I am currently handling this by
putting a set of radio buttons that list all of the known servers and then
each call will pick up the correct server from that. This is clumsy and does
not scale. I was hoping I could just put a system property in glassfish whose
value would give me the proper server name. Then each of my calls could get
the proper server name without extra interaction from the user to set the
correct server. So my question is: is there a way to get a glassfish system
property with a simple call from a jsp? Regards, Tim

--
[Message sent by forum member 'timman']
View Post: http://forums.java.net/node/890822