Skip to Content

WAS

HI All,

see the following once.....

Actually my doubt is when will be the destroy() method of servlet will be called using SAPNWDS

I have written one servlet program,in that i wrote the statement System.out.println(".......");

when i deploy the above servlet then where the output will be displayed,how to see the out put on the server.

while using Tomcat server the output is displayed on the Tomcat server.

But in the NWDS how to see the output on the server.

please help me..

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 25, 2006 at 06:58 AM

    Hi Lotla

    what u have asked is critical issue.

    On this issue sap team is going to research.

    If u have any idea appraoch the SAP germany

    regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 25, 2006 at 07:42 AM

    Hi,

    The server calls a servlet's <b>destroy()</b> method when the servlet is about to be unloaded(e.g. because a new version should be loaded or the server is shutting down). In the <b>destroy()</b> method, a servlet should free any resources it has acquired that will not be garbage collected.The <b>destroy()</b> method also gives a servlet a chance to write out its unsaved cached information or any persistent information that should be read during the next call to init().

    Regarding ur next doubt this

    Webdynpro VS. Java Servlet will help you.

    Regards,

    Pooja.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.