Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I view .JSP files

Tags:

jsp

I am new with web application and I have some files (web files) with the extension of .jsp. I would like to know how I can view them in suitble way in my machine? Do I need apache server?

Note: I am talking about the end-user view NOT the programmer view!

like image 382
Aan Avatar asked Feb 24 '12 17:02

Aan


3 Answers

Install Apache on your PC. Put the JSP file in the /htdocs/JSP folder in the Apache installation. You will have to create the JSP folder. Name the JSP file index.jsp. Open Apache and start the web service (the top one. Click Start) To view it, go to your browser and type in the following URL: 127.0.0.1/JSP. If that doesn't work, type in 127.0.0.1/JSP/index.jsp

This should help.

like image 190
user2640445 Avatar answered Oct 28 '22 01:10

user2640445


JSP files are JavaServer Pages, and you'll need to run a JSP server to have them run. If you have Apache installed, you'll be able to get the jsp application running with Apache Tomcat: http://tomcat.apache.org .

like image 27
RobLoach Avatar answered Oct 28 '22 03:10

RobLoach


Basically to open a .jsp file, you can use notepad, notepad++, eclipse, textpad and so on.

To open whole application, debug, run and test, better to use Eclipse.

like image 24
Siva Charan Avatar answered Oct 28 '22 01:10

Siva Charan