CrazyEngineers
  • how to start with servlets ???

    Updated: Oct 25, 2024
    Views: 978
    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)?
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • ms_cs

    MemberApr 5, 2009

    If you use netbeans It would be better...You can easily compile and run..
    Are you sure? This action cannot be undone.
    Cancel
  • sahilgandhi87

    MemberApr 5, 2009

    ms_cs
    If you use netbeans It would be better...You can easily compile and run..
    I am new to servlets so tell me what to use?
    Are you sure? This action cannot be undone.
    Cancel
  • shalini_goel14

    MemberApr 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
    Are you sure? This action cannot be undone.
    Cancel
  • sahilgandhi87

    MemberApr 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
    Are you sure? This action cannot be undone.
    Cancel
  • sahilgandhi87

    MemberApr 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-#?
    Are you sure? This action cannot be undone.
    Cancel
  • shalini_goel14

    MemberApr 5, 2009

    sahilgandhi87
    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-#?
    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
    Are you sure? This action cannot be undone.
    Cancel
  • Anil Jain

    MemberApr 5, 2009

    sahilgandhi87
    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-#?

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

    -CRazy
    Are you sure? This action cannot be undone.
    Cancel
  • sahilgandhi87

    MemberApr 5, 2009

    shalini_goel14
    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
    It's ok now..
    Are you sure? This action cannot be undone.
    Cancel
  • sahilgandhi87

    MemberApr 5, 2009

    crazyboy
    Just 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
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register