how to start with servlets ???

sahilgandhi87

sahilgandhi87

@sahilgandhi87-jf94Wy Oct 25, 2024

how to compile the servlets program?
what should i need for that ?
how to run servlet program?
how to download tomcat server(actually i visited their site but don't know the appropiate link)?

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • ms_cs

    ms_cs

    @ms-cs-Ab8svl Apr 5, 2009

    If you use netbeans It would be better...You can easily compile and run..

  • sahilgandhi87

    sahilgandhi87

    @sahilgandhi87-jf94Wy Apr 5, 2009

    ms_csIf you use netbeans It would be better...You can easily compile and run..

    I am new to servlets so tell me what to use?

  • shalini_goel14

    shalini_goel14

    @shalini-goel14-ASmC2J Apr 5, 2009

    @ms_cs In order to make them running in Netbeans also, he need to download Apache tomcat before installing netbeans right?

    @sahil Anyways don't go directly for netbeans if you are not familiar with it,

    1. better download latest apache tomcat from following link

    <a href="https://tomcat.apache.org/download-60.cgi" target="_blank" rel="nofollow noopener noreferrer">Apache Downloads</a>

    Click on "zip" option provided in "Binary Distribution" heading at the end of the page shown by above link.

    2. You will get a zip file, then extract that file in any of your drives or directory.Then to start up your apache tomcat server-run startup.bat file in bin folder of Apache Tomcat installed directory.
    3. Go to browser and type #-Link-Snipped-#
    4. It will show a web page of tomcat with a "tiger"pic in it. This means your tomcat is installed correctly and started.
    5. To shut down this server, again go to bin directory of your Apache tomcat installed folder and double click on shutdown.bat.
    6. Your server will stop.

    You can also refer Complete Reference (even this forum also) for servlets. Check following thread also:
    #-Link-Snipped-#

    If still any queries, feel free to ask. We will try our best to help you 😀

    Thanks

  • sahilgandhi87

    sahilgandhi87

    @sahilgandhi87-jf94Wy Apr 5, 2009

    shalini_goel14@ms_cs In order to make them running in Netbeans also, he need to download Apache tomcat before installing netbeans right?

    @sahil Anyways don't go directly for netbeans if you are not familiar with it,

    1. better download latest apache tomcat from following link

    <a href="https://tomcat.apache.org/download-60.cgi" target="_blank" rel="nofollow noopener noreferrer">Apache Downloads</a>

    Click on "zip" option provided in "Binary Distribution" heading at the end of the page shown by above link.

    2. You will get a zip file, then extract that file in any of your drives or directory.Then to start up your apache tomcat server-run startup.bat file in bin folder of Apache Tomcat installed directory.
    3. Go to browser and type #-Link-Snipped-#
    4. It will show a web page of tomcat with a "tiger"pic in it. This means your tomcat is installed correctly and started.
    5. To shut down this server, again go to bin directory of your Apache tomcat installed folder and double click on shutdown.bat.
    6. Your server will stop.

    You can also refer Complete Reference (even this forum also) for servlets. Check following thread also:
    #-Link-Snipped-#

    If still any queries, feel free to ask. We will try our best to help you 😀

    Thanks

    Thanks a lot shalini

  • sahilgandhi87

    sahilgandhi87

    @sahilgandhi87-jf94Wy Apr 5, 2009

    now after extracting files of tomcat when i click on startup.bat file,dos prompt comes and suddenly disappears without doing anything.Now after that when i wrote in the browser #-Link-Snipped-# ,nothing happens .should i be connected to net while writting #-Link-Snipped-#?

  • shalini_goel14

    shalini_goel14

    @shalini-goel14-ASmC2J Apr 5, 2009

    sahilgandhi87now after extracting files of tomcat when i click on startup.bat file,dos prompt comes and suddenly disappears without doing anything.Now after that when i wrote in the browser #-Link-Snipped-# ,nothing happens .should i be connected to net while writting #-Link-Snipped-#?

    Sorry Sahil, I guess some problem with CE editing options, I typed #-Link-Snipped-# and it become cPanel and blah blah non sense.😐

    Type #-Link-Snipped-# and then try and let me know if any issues.You don't need to be connected to Internet.

    Thanks

  • Anil Jain

    Anil Jain

    @CrazyBoy Apr 5, 2009

    sahilgandhi87now after extracting files of tomcat when i click on startup.bat file,dos prompt comes and suddenly disappears without doing anything.Now after that when i wrote in the browser #-Link-Snipped-# ,nothing happens .should i be connected to net while writting #-Link-Snipped-#?


    Just hover your mouse over #-Link-Snipped-# and at the bottom left of ths screen you will see its #-Link-Snipped-#

    -CRazy

  • sahilgandhi87

    sahilgandhi87

    @sahilgandhi87-jf94Wy Apr 5, 2009

    shalini_goel14Sorry Sahil, I guess some problem with CE editing options, I typed #-Link-Snipped-# and it become cPanel and blah blah non sense.😐

    Type #-Link-Snipped-# and then try and let me know if any issues.You don't need to be connected to Internet.

    Thanks

    It's ok now..

  • sahilgandhi87

    sahilgandhi87

    @sahilgandhi87-jf94Wy Apr 5, 2009

    crazyboyJust hover your mouse over #-Link-Snipped-# and at the bottom left of ths screen you will see its #-Link-Snipped-#

    -CRazy


    thanks for ur suggestion