If we have to shutdown and restart the application server every time we
change our bean or .class files, how could it be done if there are other
applications running and being used on that server. Secondly, how could we
ask a host company to shutdown and restart their server because we modified
one of our .class file, in case we are not in house host?.


----- Original Message -----
From: "Nishit Trivedi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 22, 2001 9:54 AM
Subject: Re: problem with javaBean and jsp


> it a tomcat behaviour too...i am using tomcat 3.2.1
>
> Nishit
>
> -----Original Message-----
> From: cupid1 [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 21, 2001 11:01 PM
> To: [EMAIL PROTECTED]
> 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

===========================================================================
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