i was litlle un detailed sorry but i try to explain.

This can be test with Tomcat 4.0 b6-dev (last week CVS version at least i haven't see 
this to be fixed)

make app dir like test/ then create index.jsp.
make some class like test.testIt that context is like

package test;

public class TestIt

  public TestIt
  }

  public int getNumber(){
    return 303
  }

  public String getString(){
    return "TestString
  }

}

and turn reloading on to test/ context then create servlet that uses this Class 
[test.TestIt] (i think you know how to do it) make it print number and string to HTML 
page. then do same to index.jsp (i all so think you can do it)

then compile these to test/WEB-INF/classes and run tomcat. then Look what you have 
there (what are outputs) and changes those string and number and recompile classes. 

after about 15 secs servlet has new context but JSP doesn't. I allready have fix this 
and submit a patch but now one have replyed anything:) it's just a little bug there..

Tuukka

ps. need for more details??

pss. if someone allready has this fixed he/she is really glad because this BUG forces 
to stop Tomcat and reload it again everytime when Classes that belongs to JSP changes. 
I have spent to much time waiting:P

---
--Me olemme keskella jotain. jossa olemme totaalisen ulkopuolisia--


On Wed, 30 May 2001 10:46:39  
 Craig R. McClanahan wrote:
>
>
>On Wed, 30 May 2001, Tuukk4 |[:)<-<| p4s4n3n wrote:
>
>> hey, Is anyone fixing that point? Problem is that JSP doesn't reload
>> classes when servlet container in same context does?
>> 
>
>Can you provide a small example that illustrates this?
>
>> Tuukka
>> 
>
>Craig McClanahan
>
>
>


Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/

Reply via email to