I've only used JRun 3 and Tomcat 3.2.1. I think they both do not reload
changed support classes. I'm not sure that it would be implementable to tell
you the truth, but I could be wrong about that. I'll be watching replies
with interest. It would be handy to have this functionality.

Rob

----- Original Message -----
From: "cupid1" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 21, 2001 8:00 PM
Subject: Re: problem with javaBean and jsp


> It makes sense now. thanks. Is this only the jws behavior or tomcat's too?
>
> ----- Original Message -----
> From: "Rob L'Estrange" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, March 22, 2001 4:34 PM
> Subject: Re: problem with javaBean and jsp
>
>
> > Good news!  :)
> >
> > Here's the usual story that explains the problem.
> >
> > 1. The developer creates and compiles a Bean or class with limited
> > functionality.
> > 2. The developer creates a JSP page that uses the Bean.
> > 3. Satisfied with no errors in step 2, the developer then finishes off
the
> > Bean by putting in the functionality they want to call then recompiling
> the
> > Bean.
> > 4. The developer modifies their JSP page to call the Bean's added
> > functionality then refreshes their JSP to find that the new
functionality
> > isn't turning up.
> >
> > The reason the new functionality doesn't turn up is that the JSP
> > server/container, while having the ability to detect changes to JSP's,
> > probably servlets, and maybe even includes, is not implemented to detect
> > changed support classes (like Beans) and reload them dynamically. By
> > restarting your server, you've forced the JSP server/container to reload
> > your support class.
> >
> > Rob
> >
> > ----- Original Message -----
> > From: "cupid1" <[EMAIL PROTECTED]>
> > To: "Rob L'Estrange" <[EMAIL PROTECTED]>
> > Sent: Wednesday, March 21, 2001 7:17 PM
> > Subject: Re: problem with javaBean and jsp
> >
> >
> > > Rob,
> > >
> > > I restarted the server and it worked. Amazing!. So what is the deal
> about
> > > restarting the server? Thanks.
> > >
> > > shuaib
> > >
> > > ----- Original Message -----
> > > From: "Rob L'Estrange" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Thursday, March 22, 2001 3:25 PM
> > > Subject: Re: problem with javaBean and jsp
> > >
> > >
> > > > Hi Bud
> > > >
> > > > Try totally restarting your JSP server then try again. No
guarantees,
> > but
> > > it
> > > > is something I would try.
> > > >
> > > > Rob
> > ----- Original Message -----
> > From: "cupid1" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, March 21, 2001 6:20 PM
> > Subject: Re: problem with javaBean and jsp
> >
> >
> > > Here is my jsp code.
> > >
> > > <html>
> > >
> > > <jsp:useBean id="mybean" class="hello.NameHandler" />
> > >
> > > <h1>Hello, <jsp:getProperty name="mybean" property="username" />!</h1>
> > >
> > > </html>
> > >
> > > here is the bean.
> > >
> > > package hello;
> > >
> > > public class NameHandler {
> > >
> > >  private String username;
> > >
> > >  public NameHandler() {
> > >   username = "John Doe";
> > >  }
> > >
> > >  public void setUsername( String name ) {
> > >   username = name;
> > >  }
> > >
> > >  public String getUsername() {
> > >   return username;
> > >  }
> > > }
> > >
> > > when I test it it says
> > > hello, !
> > >
> > > It should say Hello John Doe!
> > >
> > > what is wrong?
> > >
> > > Thanks.
> > >
> > > shuaib
> > >
> > >
> >
>
===========================================================================
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> > DIGEST".
> > > 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=JSP
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> >
>
===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> > 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=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> 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=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to