How to compile and run jsp file without using eclipse

16,350

For compiling a JSP file on command prompt, Refer: http://docs.oracle.com/cd/E19146-01/821-0790/abxcc/index.html

For running you will need a Webserver.

Share:
16,350

Related videos on Youtube

Kranti123
Author by

Kranti123

Updated on September 09, 2022

Comments

  • Kranti123
    Kranti123 over 1 year

    I dont have eclipse, I want to compile jsp files and servlets. How to compile and run jsp file without using eclipse.

    • Pradeep Simha
      Pradeep Simha over 10 years
      You or eclipse will not compile JSP, a web server will and to run JSP you need a web server like Apache Tomcat.
    • upog
      upog over 10 years
      just deploy your JSP file in a webapp server
    • Chowdappa
      Chowdappa over 10 years
      if you have only JSPs, you can dump into ROOT folder of tomcat and work with them.
    • Gerrit Brink
      Gerrit Brink about 8 years
      It annoys me that these questions are down-voted, it's a perfectly valid question. Of course you need a web container to deploy the jsp's, but the question was how do you compile a JSP outside of the container or with the programmatically. The person which down-voted this either does not understand the question or they disagree with doing it because some people take offense if you deviate from a standard which they have adopted. Please upvote the question, it truly deserves more attention.