first bean with tomcat ! help - Java

This is a discussion on first bean with tomcat ! help - Java ; Hi, I am learning Tomcat 4.1. I tryed to edit some examples (the examples\WEB-INF\classes\num\NumberGuessBean.java). When I modify the body of a method and I recompile, everything works fine (I can see differences requesting a jsp file). But I can not ...

+ Reply to Thread
Results 1 to 2 of 2

first bean with tomcat ! help

  1. Default first bean with tomcat ! help

    Hi,
    I am learning Tomcat 4.1.

    I tryed to edit some examples (the
    examples\WEB-INF\classes\num\NumberGuessBean.java).

    When I modify the body of a method and I recompile,
    everything works fine (I can see differences requesting a jsp file).

    But I can not add new methods!
    When I add a new method (+recompile the .java), if I try to use from the
    JSP page, I get a very long list of exceptions.

    What do I miss do to ?

    thanks in advance,
    Fabio


  2. Default Re: first bean with tomcat ! help

    hi there ...

    you have to be a bit more specific about your problem and perhaps show
    some of the code you wrote and the error messages you receive from the
    tomcat server ...

    but here is a hint, make shure you have "reloadable=true" in your app
    context in the tomcat configuration file ...

    cheers

    --
    nuno
    * http://gooofy.blogspot.com/ [my blog]


    "Fabio Ferronato" <invalid@invalid.invalid> wrote in message
    news:xyG_b.27939$Kc3.867196@twister2.libero.it...
    > Hi,
    > I am learning Tomcat 4.1.
    >
    > I tryed to edit some examples (the
    > examples\WEB-INF\classes\num\NumberGuessBean.java).
    >
    > When I modify the body of a method and I recompile,
    > everything works fine (I can see differences requesting a jsp file).
    >
    > But I can not add new methods!
    > When I add a new method (+recompile the .java), if I try to use from the
    > JSP page, I get a very long list of exceptions.
    >
    > What do I miss do to ?
    >
    > thanks in advance,
    > Fabio
    >




+ Reply to Thread

Similar Threads

  1. Reading in parameters for a Bean in Tomcat
    By Application Development in forum Java
    Replies: 0
    Last Post: 04-02-2005, 11:46 PM
  2. Replies: 0
    Last Post: 12-28-2004, 10:14 AM
  3. tomcat bean persistence
    By Application Development in forum Java
    Replies: 2
    Last Post: 02-20-2004, 12:30 PM
  4. Help needed with updating JSP Structs Bean using Tomcat
    By Application Development in forum Java
    Replies: 6
    Last Post: 02-05-2004, 11:24 PM
  5. Help needed with updating JSP Structs Bean using Tomcat
    By Application Development in forum Java
    Replies: 0
    Last Post: 02-04-2004, 03:39 PM