answersLogoWhite

0

How do you run jsp programs?

Updated: 8/16/2019
User Avatar

Wiki User

12y ago

Best Answer

The JSP Files in a web application can be placed inside the WEB-INF folder and then invoked.

If the JSP is in WEB-INF\webapps\examples\hello.jsp

you can invoke it by calling

http://localhost:8080/examples/hello.jsp

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you run jsp programs?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How to run the jsp programs?

JSP programs can be run on any machine that has a web server like Weblogic or Websphere or tomcat. The Web Archive file (WAR) and Enterprise Archive file (EAR) corresponding to the web application must be deployed on the server. Once that is done, you can start the web server and then you are all set to run jsp programs.


How do you run programs?

The JSP Files in a web application can be placed inside the WEB-INF folder and then invoked. If the JSP is in WEB-INF\webapps\examples\hello.jsp you can invoke it by calling http://localhost:8080/examples/hello.jsp


Is jsp is platform independents?

Yes. JSP is a java based technology and hence it is platform independent. So, you can run it in any environment. The same JSP that can run in a windows box can always run in a Linux box.


Is jsp a language.justify?

JSP stands for Java Server Page, which is a program that controls how things appear on a webpage. JSP is not considered a language but it is written for programs using the programming language of JavaScript.


How do you run jsp page in eclipse?

As far as i know, you can't. Jsp pages is to be ran from server, preferably GlassFish.


How does a JSP page handle run-time exceptions?

You can use the errorPage attribute of the page directive. If this attribute is defined in a JSP page, when a run time exception is encountered, the control will be transferred to this JSP page. This error page can access details of the Exception from the request and use it to display a logical message to the user.


When should you use jsp and servlet in your project?

JSP and servlets are used in when you are building a website that provides a server sided service, for example connecting to a database is a service. == == JSP/Servlets are java code that perform the backend operations for web pages. Such servlets run in a java container, such as JBoss or Tomcat. Where you would use these would be in a web-based environment where you wanted to run the backend on Java, as opposed to PHP, Perl, etc. As an example, eBay is run by JSP/Servlet technology. However, JSP/Servlet technology is much more complicated than scripting languages, but well worth learning.


What are jsp actions?

JSP actions are XML tags that direct the server to use existing components or control the behavior of the JSP engine. JSP Actions consist of a typical (XML-based) prefix of "jsp" followed by a colon, followed by the action name followed by one or more attribute parameters. There are six JSP Actions: < jsp : include / > < jsp : forward / > < jsp : plugin / > < jsp : usebean / > < jsp : setProperty / > < jsp : getProperty / >


What is acronym of jsp?

JSP stands for Java Server Pages


What is full from JSP?

JSP stands for Java Server Pages


When was JSP Records created?

JSP Records was created in 1978.


How to Update data from jsp into database?

can i get update coding in jsp??