sun

sun

how to run one jsp file

View Answers

January 5, 2011 at 5:23 PM

Hi Friend,

Firstly, you need to download and install apache tomcat 6.0.16 and put the extracted folder in c drive. Then

1)Go to the Control Panel>>System>>Environment Variable and set the variable CATALINA_HOME and put the path of your apache tomcat as a value like: C:\apache-tomcat-6.0.16 .

2)Like that create another variable classpath and put the path of apache-tomcat lib as a value like C:\apache-tomcat-5.5\lib.*;

3)Also put the servlet api.jar file inside the lib folder.

4)Now create a jsp file:'hello.jsp'

<%@page language="java"%>
<%String st="Hello World";
%>
Message is <%=st%>

5)Put this jsp file inside the apache-tomcat>>webapps>>web application folder>>

6)You have to give appropriate name to web application folder like examples and put jsp file into it.

7)Then start the tomcat server by clicking startup.bat from the bin folder of your tomcat.

8)Open your browser and type the following url:

http://localhost:8080/examples/hello.jsp and press enter.

9)You jsp program will then display the output on the browser.

For more information, visit the following link:

[JSP Tutorials][1]

Thanks


January 5, 2011 at 5:25 PM

For more information, visit the following link:

JSP Tutorials

Thanks









Related Tutorials/Questions & Answers:
Sun Java
Sun Java  Hi, What is Sun Java? How to get the Sun Java for development? Is Java still open source? Thanks
sun
Advertisements
Sun Certification - Java Magazine
Sun Certification  How can crack sun certification in SCJP
ModuleNotFoundError: No module named 'sun'
ModuleNotFoundError: No module named 'sun'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'sun' How to remove the ModuleNotFoundError: No module named 'sun' error
ModuleNotFoundError: No module named 'sun'
ModuleNotFoundError: No module named 'sun'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'sun' How to remove the ModuleNotFoundError: No module named 'sun' error
Sun Microsystems Java
Sun Microsystems Java  Hi, What is Sun Microsystems Java? Thanks   Hi, Read it at http://www.roseindia.net/java Thanks
ModuleNotFoundError: No module named 'nester_sun'
ModuleNotFoundError: No module named 'nester_sun'  Hi, My Python... 'nester_sun' How to remove the ModuleNotFoundError: No module named 'nester_sun' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'nester_sun'
ModuleNotFoundError: No module named 'nester_sun'  Hi, My Python... 'nester_sun' How to remove the ModuleNotFoundError: No module named 'nester_sun' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'sun_digui'
ModuleNotFoundError: No module named 'sun_digui'  Hi, My Python... 'sun_digui' How to remove the ModuleNotFoundError: No module named 'sun... have to install padas library. You can install sun_digui python with following
ModuleNotFoundError: No module named 'sun_digui'
ModuleNotFoundError: No module named 'sun_digui'  Hi, My Python... 'sun_digui' How to remove the ModuleNotFoundError: No module named 'sun... have to install padas library. You can install sun_digui python with following
ModuleNotFoundError: No module named 'sun_nester'
ModuleNotFoundError: No module named 'sun_nester'  Hi, My Python... 'sun_nester' How to remove the ModuleNotFoundError: No module named 'sun... have to install padas library. You can install sun_nester python
ModuleNotFoundError: No module named 'sun-oss'
ModuleNotFoundError: No module named 'sun-oss'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'sun-oss' How to remove the ModuleNotFoundError: No module named 'sun-oss
ModuleNotFoundError: No module named 'sun_digui'
ModuleNotFoundError: No module named 'sun_digui'  Hi, My Python... 'sun_digui' How to remove the ModuleNotFoundError: No module named 'sun... have to install padas library. You can install sun_digui python with following
ModuleNotFoundError: No module named 'sun_nester'
ModuleNotFoundError: No module named 'sun_nester'  Hi, My Python... 'sun_nester' How to remove the ModuleNotFoundError: No module named 'sun... have to install padas library. You can install sun_nester python
ModuleNotFoundError: No module named 'sun-oss'
ModuleNotFoundError: No module named 'sun-oss'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'sun-oss' How to remove the ModuleNotFoundError: No module named 'sun-oss
ModuleNotFoundError: No module named 'sun-test'
ModuleNotFoundError: No module named 'sun-test'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'sun-test' How to remove the ModuleNotFoundError: No module named 'sun-test
Sun App Server - JSP-Servlet
Sun App Server  Dear Roseindia Team, I am Ragavendran.R.. I need to be clarified with a thing regarding J2EE1.4 Sun App server.. As everyone is aware, the web application can be executed using say http://localhost
date_sun_info
  date_sun_info() Function of PHP date_sun_info function returns... on success or False on failure.  Description on PHP date_sun_info() FunctionADS_TO_REPLACE_1 array date_sun_info ( int $time , float $latitude , float
ModuleNotFoundError: No module named 'nester_test_sun'
ModuleNotFoundError: No module named 'nester_test_sun'  Hi, My... named 'nester_test_sun' How to remove the ModuleNotFoundError: No module named 'nester_test_sun' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'nester_test_sun'
ModuleNotFoundError: No module named 'nester_test_sun'  Hi, My... named 'nester_test_sun' How to remove the ModuleNotFoundError: No module named 'nester_test_sun' error? Thanks   Hi, In your python
Version of xdoclet>xdoclet-sun-module dependency
List of Version of xdoclet>xdoclet-sun-module dependency
How to design a weeping sun
How to design a weeping sun Have you ever seen weeping sun, no! Get ready to make this effect in the photoshop by using... Tool: Choose Pen Tool (P key) and point to make rays of the sun ADS_TO_REPLACE_4
Sun Java Wireless Toolkit
Sun Java Wireless Toolkit       Java Platform, Micro Edition The Sun Java Wireless Toolkit... and successful wireless applications to market quickly. Sun Microsystems
Installing Sun JDK on Linux
Installing Sun JDK on Linux (Fedora Core 3)                          
java.lang.NoClassDefFoundError: com/sun/mail/util/MessageRemovedIOException
java.lang.NoClassDefFoundError: com/sun/mail/util/MessageRemovedIOException  Hi, In my maven project its giving following error: Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util
Open Sourcing Java by Sun Microsystems
Open Sourcing Java by Sun Microsystems       Sun Microsystems brings a revolution in computer programming field from the year of its release back in the 90s. Sun developed Java
Maven Dependency xdoclet-sun-module >> 1.2.3
You should include the dependency code given in this page to add Maven Dependency of xdoclet >> xdoclet-sun-module version1.2.3 in your project
Maven Dependency xdoclet-sun-module >> 1.2b4
You should include the dependency code given in this page to add Maven Dependency of xdoclet >> xdoclet-sun-module version1.2b4 in your project
Maven Dependency xdoclet-sun-module >> 1.2
You should include the dependency code given in this page to add Maven Dependency of xdoclet >> xdoclet-sun-module version1.2 in your project
Be a Sun Certified Java Programmer
Be a Sun Certified Java Programmer in Roseindia Technologies     The course of Sun Certified Java Programmer... Examination: Sun Microsystem offers SCJP certification exams in two versions SCJP 5
Maven Repository/Dependency: xdoclet | xdoclet-sun-module
Maven Repository/Dependency of Group ID xdoclet and Artifact ID xdoclet-sun-module. Latest version of xdoclet:xdoclet-sun-module dependencies. # Version Release Date You can read more
Sun's JDBC-ODBC driver does not implement the getPrimaryKeys() method for the DatabaseMetaData Objects.
Sun's JDBC-ODBC driver does not implement the getPrimaryKeys() method for the DatabaseMetaData Objects.  Is there a way to find the primary key(s) for an Access Database table? Sun's JDBC-ODBC driver does not implement
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/MailLogger
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/MailLogger  Hi, How to solve following error? Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/MailLogger
Tutorial - Sun Java System Application Server Platform Edition
Sun Java System Application Server Platform Edition       In this tutorial we will be using Sun Java... provided by it. The Sun Java System Application Server Platform Edition 9
Installing Sun Java System Application Server Platform Edition
Installing Sun Java System Application Server Platform Edition... will learn how to install Sun Java System Application Server Platform Edition..._TO_REPLACE_3 The default installation directory is "C:\Sun\AppServer" leave
Sun Certified Java Professional (SCJP)
Sun Microsystem offers SCJP certification exams in two versions SCJP 5 CX-310-055 and SCJP 6 CX-310-065 certification exams in which SCJP 6 CX-310-065 certification examination is the latest version. For qualifying SCJP 5 CX-310-055
Appendix A. First Appendix
Appendix A. First AppendixPrev Part II. Appendixes Next     Appendix A. First AppendixFirst Section The Sun Certified Business Component Developer (SCBCD
Download JDK
development program provided by sun Microsystems. Java Development Kit or JDK comes in various version and can be downloaded free from the sun Microsystems. JVM
Java Certification
; Sun's certification programs in Java technology are well recognized... to another.   The main motive of Sun's certification program is to learn the process since it provides validation of skill sets for specific job roles. Sun
W - Java Terms
W - Java Terms       Java Web Start Sun Microsystems has developed....     Sun Java Wireless Toolkit The Sun Java Wireless
About Java Programming Language
developed by Sun Microsystems. Java is a very powerful general-purpose programming... a language named Oak. Language Oak was developed in the early the nineties at Sun.... Sun Microsystems is putting huge effort to develop and release new versions
Java JVM
Java JVM       The JVM is a crucial component of the Java Platform introduced by Sun Micro Systems. It  is a set of computer data structures & programs which use a virtual
Java Web Start
Java Web Start       Sun Microsystems has developed a framework named Java Web Start. This framework allows us to directly start application software for the Java
Java DB
Java DB       Java DB is an open source Apache Derby database supported by Sun. Java DB is completely written in the Java programming language having the functionality write once run
Introduction to Java
Java is an open source object oriented programming language that was developed by Sun Microsystems. A team of Sun Microsystems including Patrick Naughton, Mike Sheridan under James Goslings decided to develop a programming language
Deploying Application
with  Sun Java System Application Server Platform Edition 9. We will also learn the different methods of deploying applications on the Sun Java System... There are three ways for deploying Application on the Sun Java System Application Server
Java Around The Globe
;     Sun Advances Security for the Java SE Platform Sun...?. Sun will begin delivering synchronized security releases of current and legacy versions of Java.       Microsoft and Sun Expand
Learn Java - Learn Java Quickly
developed by Sun Microsystems. This is freely available to public for all purposes... technology can be sold without paying or consulting to the Sun Microsystems. ADS
Instructor Led Training (ILT) on JavaFX at RoseIndia Technologies
an Online Training on the latest Java Technology JavaFX announced by Sun Microsystems... of Java based technology at Sun Microsystems, the founder of Java. It is the outcome of Sun JavaF3 Project designed by Chris Oliver, the father of Java
J2ME Tutorial
was designed by Sun Microsystems and is a replacement for a similar.../vnd.sun.j2me.app-descriptor, which developed by the Sun Microsystems, Inc.  

Ads