How to view .JSP files

I am new to web application and I have several files (web files) with the extension .jsp . I would like to know how can I view them in my car? Do I need an Apache server?

Note: I am talking about the presentation of the end user, not the presentation of the programmer!

+4
source share
5 answers

Install Apache on your PC. Place the JSP file in the / htdocs / JSP folder in your Apache installation. You will need to create a JSP folder. Name the JSP file index.jsp. Open Apache and start the web service (click "Start"). To view it, go to your browser and enter the following URL: 127.0.0.1/JSP. If this does not work, enter 127.0.0.1/JSP/index.jsp

This should help.

+1
source

Basically, to open a .jsp file, you can use notepad , notepad++ , eclipse , textpad , etc.

To open the whole application, debug, run and test, it is better to use eclipse .

+2
source

JSP files are JavaServer pages, and you need to start the JSP server so that they start. If you have Apache installed, you can run the jsp application with Apache Tomcat: http://tomcat.apache.org .

+2
source

Download JRun from Adobe http://www.adobe.com/products/jrun/

I am still using JRun.

You can also use Eclipse. http://www.eclipse.org/downloads/moreinfo/jee.php

0
source

Open it with a standard text editor to see what is written inside (for example, notepad, editing block, or whatever you like).

Actually, "JSP is an HTML page containing a link to Java servlets or java server applets," as stated here

-one
source

Source: https://habr.com/ru/post/1398270/


All Articles