Title: RE: Problems using Beans with Jrun 2.3 and IIS

Place your bean(NameBean.class) under the classes folder itself

And from the JSP try to access it using this sample code

<%@page import="NameBean" info="Just to connect to a Bean"%>

<jsp:useBean id="MyBean" class="NameBean" scope="Session"/>

<HTML>
<BODY>
<B>Hello <jsp:setProperty name="MyBean" property="name" value="XYZ"/>!


</BODY>
</HTML>

JRUN knows that classes folder is in the classpath


�������������������������o unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name

Reply via email to