CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2000
    Posts
    1

    How to "UNLOAD" a servlet ???

    When I start a compiled servlet, it stays in memory and running, even if I change the code and compiled it again. Each time I want to change the code of the servlet I have to shutdown the servlet engine, compile the servlet and start the servlet engine again.

    HOW TO PRESERVE THIS ?????

    Is there any way to "unload" servlet while it is in memory.
    I'm using Java 2 standard edition and JSWDK.

    thanks in advance.
    Dushan.


  2. #2
    Join Date
    May 1999
    Location
    Pune, MH, India.
    Posts
    453

    Re: How to "UNLOAD" a servlet ???

    Normally servlet engines reload the servlet if the servlet class is changed. Or at least they give UI to reload servlet (e.g. in ServletExec, there is HTML UI for this).

    JSDK doesn't support this feature. I am not sure about JSWDK, but it might also not support this feature.

    I don't think there is anyway by which you can unload the servlet programatically. Also note that servlet engines will reload servlet ONLY IF servlet class is changed.

    - UnicMan
    http://members.tripod.com/unicman

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured