I don't know of a tool that searches for a JAR file a class is in, but
to list the contents of a JAR file, I use:

        jar tf foo.jar

For example: (Using JWS 2.0's jsp.jar file here)

        % jar tf jsp.jar
        javax/servlet/jsp/HttpJspPage.class
        javax/servlet/jsp/JspEngineInfo.class
        javax/servlet/jsp/JspFactory.class
        javax/servlet/jsp/JspPage.class
        javax/servlet/jsp/JspWriter.class
        javax/servlet/jsp/PageContext.class

By "sunexamples.beans.*", if you are refering to the example bean classes
that shipped with JWS 2.0 - they are not in any jar file. As far as I know,
they are at:

        <JWS 2.0 install root>/classes/sunexamples/beans/*.class

hope this helps,
-isa

]Mime-Version: 1.0
]Content-Disposition: inline
]Content-Transfer-Encoding: 8bit
]X-MIME-Autoconverted: from quoted-printable to 8bit by mail.java.sun.com id
IAA15494
]Date: Wed, 17 Nov 1999 10:00:03 -0600
]From: Rick L Sample <[EMAIL PROTECTED]>
]Subject: JSP 2.0 sunexamples.beans.* located in what jar file?
]To: [EMAIL PROTECTED]
]
]Is there some way/tool that I can tell what JAR file these classes/beans are
in?
]
]===========================================================================
]To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
]FAQs on JSP can be found at:
] http://java.sun.com/products/jsp/faq.html
] http://www.esperanto.org.nz/jsp/jspfaq.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to