For Programmers: Free Programming Magazines  


Home > Archive > Java Beans > March 2004 > first bean with tomcat ! help









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author first bean with tomcat ! help
Fabio Ferronato

2004-03-19, 8:45 pm

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

Nuno Belo

2004-03-19, 8:45 pm

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
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com