quality@glassfish.java.net

NetBeans plugin question

From: Ajnavi Rani Kumar <ajnaviranikumar_at_yahoo.com>
Date: Fri, 7 Nov 2008 08:29:00 -0800 (PST)

Hi All,

I am working on a GlassFish project as my master's project to develop a NetBeans plugin. I have a question.

How
do I find out "hostname", "port number", "Context Path", "Relative URL"
properties of a web project? These properties are used to deploy the web application in a browser, but I need a way to find out in a NetBeans plugin.

Please help.

Thanks,
-Ajnavi.