Robert,
Here's a very simple JSP page to do what you're asking. All you need to do
is edit the contextsToList string array to include the name of all the
contexts you would like to list.
Jeff Hubbach.
## Begin JSP page ##
<%@ page import="javax.naming.*" %>
<%@ page import="java.util.
Title: RE: How can I get all attributes of a context?
I never tried myself but this should work.
Play by giving different arguments to CompositeName(). You can refer to JNDI documentation for more details.
import javax.naming.*;
public void list()
{
try