Comment

Andrew
JSP TOMCAT,
August 13, 2007 at 1:41 AM

OK so to save stuff into tomcat save in webapps\folder\file. ROOT is something that shows up with http://localhost:8080/file and any other folder there shows up as http://localhost:8080/folder/file thats saving now startup:
I have my JDK in this folder: C:\jdk
JRE is here: C:\jdk\jre
I have my TOMCAT in this folder: C:\tomcat
startup is here: C:\tomcat\bin
My CMD prompt looks like this for startup:

C:\my\start\path\in\cmd>cd C:\tomcat\bin

C:\tomcat\bin>set CATALINA_HOME="C:\tomcat"

C:\tomcat\bin>set JRE_HOME="C:\jdk\jre"

C:\tomcat\bin>startup
Using CATALINA_BASE: "C:\tomcat"
Using CATALINA_HOME: "C:\tomcat"
Using CATALINA_TMPDIR: "C:\tomcat"\temp
Using JRE_HOME: "C:\jdk\jre"
C:\tomcat\bin>


And thats startup. If you keep that prompt open until you wish to shut TOMCAT down, use the command 'shutdown' as long as you didn't switch folders. Else Rename the TWO variables and go back to the bin folder. If you specified CATALINA_HOME then where ever you are in the cmd, unless you are in tomcat's bin, you can put the path like this in the command: 'C:\tomcat\bin\startup' and 'C:\tomcat\bin\shutdown'

Please replace the paths I have placed in this post with your very own paths.
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
WebSevices Questions

Tomcat
Tomcat  to run one application in tomcat server which files we need.i think jsp,xml,html is sufficient 

Development process Questions

Tomcat
the project in tomcat where we can store the html and Jsp ad Java, XML files in the tomcat web apps folder. the following structure is correct or not Tomcat-web apps-my project(beside this one jsp file) Inside the my project WEB-INF 

JSP Servlet Questions

tomcat jsp call DLL
tomcat jsp call DLL  Where can i find Example of use JSP under Tomcat environment call DLL 

JSP Servlet Questions

JSP tomcat hosting
JSP tomcat hosting  Hi, What is JSP tomcat hosting? Thanks  ... then the hosting environment is called as jsp tomcat hosting. There are many hosting services provider who provides jsp tomcat hosting. Thanks 

JSP Servlet Questions

tomcat - JSP-Servlet
tomcat  i want to run my war file in server in tomcat... to how to assign static IP in tomcat.... i want to run my project in local-network... my project is in jsp 

JSP Interview Questions

tomcat - JSP-Interview Questions
tomcat  how to run a program of jsp using tomcat server.please give... the tomcat, create a folder 'application' into C:\apache-tomcat-6.0.16... that create a jsp file 'hello.jsp'and put into the 'application' folder. To start 

JSP Servlet Questions

connect jsp with tomcat - JSP-Servlet
connect jsp with tomcat  hello friends, i have severe problem in making connection between tomcat 6.0.18 and jsp pages.my system configuration... already set) ->tomcat 6.0.18 (c:/tomcat/tomcat6.0/) I have my site folder 

JSP Servlet Questions

tomcat cache - JSP-Servlet
tomcat cache  hai friends i have a query that is i want to remove the cache memory from Tomcat server Automatically using jsp without deleting it manually from work folder because every time when i make any changes 

JSP Interview Questions

tomcat - JSP-Interview Questions
tomcat   i have installed tomcat server but i have not got tomcat6.exe file in the bin directory.although i have got the icon (of apache tomcat... file after downloading tomcat server,then put it into C:\\ directory and extract 

JSP Servlet Questions

Tomcat error - JSP-Servlet
Tomcat error  Sir I have Installed Tomcat 6.0 om my personel computer havind Operating system windows xp. But when I start the tomcat it gives the error :-this is non microsoft product please see event log . what might 

JSP Servlet Questions

tomcat problem - JSP-Servlet
tomcat problem  Hi! Rose India Team, I am unable to install the tomcat server. It stops at this stage during installation .......c:\program files... installed several times and worked successfully on tomcat but this time it stops 

JSP Servlet Questions

ecclipse_tomcat - JSP-Servlet
have java also installed.. How can I configure Tomcat for ecclipse...For running a small applcation..  Procedure to configure Tomcat in eclipse Go... runtime click on add button on the right side panel choose Apache Tomcat 

JSP Servlet Questions

tomcat - JSP-Servlet
tomcat  hi friends, can anybody plzzzzzzzz help me to write ,compile servlet using tomcat 5 from the start..   Hi friend, Set... the values as Variable Name: CLASSPATH Variable Value: C:\Program Files\Java\Tomcat 

JSP Servlet Questions

JSP, Tomcat apche6, Crimson Editor - JSP-Servlet
JSP, Tomcat apche6, Crimson Editor  Hello, some additional in my first question. how can i use JSP, Apache Tomcat 6 and crimson editor to save my data. please teach me step by step regarding to this question. thanks a lot 

JSP Servlet Questions

Tomcat installation problem - JSP-Servlet
Tomcat installation problem   Hello I have installed Tomcat... tomcat homepage "http://localhost:8000/"..I am awaiting for response..Thanks...:\apache-tomcat-6.0.16; 2) Put the servlet-api.jar into lib folder of apache tomcat 

JSP Servlet Questions

apache tomcat problem - JSP-Servlet
apache tomcat problem  hi, i am trying to run apache tomcat. but it is showing "The CATALINA_HOME environment variable is not defined correctly...\;"; i installed my apache tomcat in c: whats wrong with this   

JSP Servlet Questions

How Run JSP in Apache TomCat Server? - JSP-Servlet
How Run JSP in Apache TomCat Server?  How to Run JSP in Apache Tomcat... pasted my hello world example of JSP in the Jsp-example directory. and tried. ... the Jsp-example\WEB-INF\classes directory and put the class files of your example 

JSP Servlet Questions

How to run a simple jsp page in tomcat???
How to run a simple jsp page in tomcat???  i am trying to run a simple jsp page in tomcat,i am having web.xml also in WEB-INF folder. but it is giving me this error below....please help me to solve it. my jsp page code is given 

JDBC Questions

jsp fie execution in tomcat and using mysql - JDBC
jsp fie execution in tomcat and using mysql  I created 2 jsp files and kept them under a new directory in the web-apps subdirectory of Tomcat's...:THE LAST JSP PAGE IS COMING DIRECTLY ON EXECUTION IN TOMCAT 

JSP Servlet Questions

jsp
folder like examples and put jsp file into it. 7)Then start the tomcat server... CATALINA_HOME and put the path of your apache tomcat as a value like: C:\apache...-tomcat lib as a value like C:\apache-tomcat-5.5\lib.*; 3)Also put the servlet 

JSP Servlet Questions

JSP
JSP  Hello...this is Prashant khandekar..i am very much new to JSP and tomcat. So i just wanted to ask you i m working on very basic project in which there will be 2 text boxes "start" and "end" this text boxes will contain 2 

Tomcat Server

Download Tomcat
protocol for web server. Jasper : Jasper is called the JSP engine of Tomcat. JSP...Download Tomcat In this section we will discuss about downloading tomcat. This section will describe you about Apache Tomcat. This page will describe you 

JSP Servlet Questions

Protect to folder in webapps Tomcat - JSP-Servlet
Protect to folder in webapps Tomcat  Thanks for previous answer. my question is- I want to know how to protect the folder inside the webapps in tomcat. i want to give only war/jar file to client .how to do 

Development process Questions

jsp
in tomcat type Exception report message description The server encountered... org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 7 in the jsp file: /jsp/insertdate.jsp month cannot be resolved 4 

JSP Servlet Questions

Tomcat jar file issue - JSP-Servlet
Tomcat jar file issue  Hello All, Currently in my application we... folder from JRUN server to Tomcat 6.0.29 webapps folder. When our GUI code...) at org.apache.jsp.securepages.homePage_jsp._jspService(homePage_jsp.java :503 

Tomcat Server

Tomcat an Introduction
/ JSP specifications: Servlet/JSP Spec  Apache Tomcat... Tomcat an Introduction        Apache Tomcat:  Apache Tomcat server is one of the most popular open source 

Tomcat Server

Tomcat Server
(JSP) specifications. Tomcat can be configured through the XML configuration... engine of Tomcat that parses the JSP file. The parsed JSP file is converted... : Servlet 3.0 JSP 2.2 EL 2.2 The latest stable version of Tomcat at the time 

JSP Servlet Questions

Tomcat access to network files
Tomcat access to network files  i have web application which is running on tomcat 6.0, it access network files from JSP. but i am getting an errror. please help 

Development process Questions

why tomcat is shoutdown when access the jsp page - Development process
why tomcat is shoutdown when access the jsp page  I have a menu.when i click on menutitem(jsp page),some time tomcat is shoutdown and sometimes it is working fine  Hi Friend, Please send your code. Thanks 

Eclipse Plugins

Sysdeo Tomcat Launcher Plugin
) ClassNotFoundException on javac/Main when accessing JSP : Tomcat is started with a JRE... Sysdeo Tomcat Launcher Plugin   ... Tomcat 4.x, 5.x and 6.x Registering Tomcat process to Eclipse 

Java Beginners

netbeans with mysql and tomcat
netbeans with mysql and tomcat  Hi. I have to run a JSP or JAVA file in netbeans with mysql database and tomcat server 7.0. But while the page loading itself it say error. ClassNotFoundException: com.mysql.jdbc.Driver. How 

Free Programming books

Tomcat Books
more sophisticated Web applications. Tomcat version 5 supports the latest JSP... Software Foundation. Tomcat implements the servlet and the JavaServer Pages (JSP... Servlet/JSP container. Apache Tomcat version 5.5 implements the Servlet 2.4 

JDBC Questions

Connection pool in Tomcat 6 - JDBC
Connection pool in Tomcat 6  Hi All, Any one please tell me how to implement connection pooling in Tomcat 6 and MySQL 5.0.1b. Thanks...://www.roseindia.net/jsp/jspfundamentals.shtml Hope that it will be helpful 

JSP Servlet Questions

jsp - JSP-Servlet
jsp  how to use java program in jsp ie, how to call a java program from jsp page I saw some of the sample java programs like - webapps/examples/WEB-INF/classes/HelloWorldExample.java in Tomcat folder when i installed Apache 

JSP Tutorials

Tomcat 7 in Eclipse Helios
the jsp file and save, it will automatically deploy the JSP file on tomcat...: How To Download Eclipse Helios, Tomcat 7 and create first JSP page Here... a simple JSP file and run on Tomcat 7. URL to Download Eclipse Helios You 

JSP Servlet Questions

JSP+MSACCESS - JSP-Servlet
JSP+MSACCESS  Hello, My jsp page while running in TOMCAT 5.5 gives me the error.(have created DSN EMP) error:java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified 

JSP Servlet Questions

Datagrid in JSP - JSP-Servlet
Datagrid in JSP  I Want to display some record in datagrid of JSP page. I am using Apache tomcat server. please help me.  Hi Friend, Please visit the following code: http://www.roseindia.net/jsp/data-grid.shtml 

JSP Servlet Questions

jsp - JSP-Servlet
jsp  how can i do program in jsp ???   Hi Friend, Install Tomcat Server and set the following Environment variables 1)CATALINA_HOME = C... application folder inside C:\apache-tomcat-6.0.18\webapps and put your jsp file 

JSP Servlet Questions

JSP File
JSP File  Hi, What is JSP File? How to create JSP file? Thanks   Hi, JSP file is simple text file with .jsp extenstion. You can run JSP file on tomcat server. Read more at JSP tutorials section. Thanks 

JSP Servlet Questions

jsp - JSP-Servlet
the tomcat server.  Hi friend, Plz give full details with source code where you having the problem : For more information on JSP visit to : http://www.roseindia.net/jsp/ http://www.roseindia.net/jsp/loginstatus.shtml 

JSP Interview Questions

jsp - JSP-Interview Questions
jsp  i have installes tomcat server 5.0.how can i run a jsp...; Hi Friend, After installing the tomcat server,put the apache-tomcat folder... of apache tomcat folder and set the classpath: CLASS_PATH= C:\apache 

Java Beginners

urgent-Exception in Tomcat - Java Beginners
urgent-Exception in Tomcat  I am using eclipse ee and tomcat server. my jsp pages are working fine.after some time it cant display my jsp pages.it raises following exception.Html pages is working . HTTP Status 500 

Java Beginners

Steps For SSL Implementation/Enabling in Apache Tomcat 6.0
Steps For SSL Implementation/Enabling in Apache Tomcat 6.0   Hi , I am using the NetBeans 6.9 IDE Apache Tomcat 6.0 as Web server Front end jsp... / enable In Apache Tomcat 6.0 

Java Beginners

Steps For SSL Implementation/Enabling in Apache Tomcat 6.0
Steps For SSL Implementation/Enabling in Apache Tomcat 6.0   Hi , I am using the NetBeans 6.9 IDE Apache Tomcat 6.0 as Web server Front end jsp... / enable In Apache Tomcat 6.0 

JSP Servlet Questions

jsp error - JSP-Servlet
jsp error  Hello, my name is sreedhar. i wrote a jsp application... sheet. I developed this application using NET BEANS 6.0 and i used apache tomcat... in detail. Visit for more information. http://www.roseindia.net/jsp/ Thanks 

JSP Servlet Questions

jsp webhosting - JSP-Servlet
jsp webhosting  we have made one jsp / tomcat website. The site...). the problem is sometimes the pages working fine and some times (may be after tomcat restart) it gives "Unable to compile class for JSP" in some pages or in all 

JSP Servlet Questions

EL in jsp - JSP-Servlet
EL in jsp  hai, I tried to test EL operators in my jsp i... recognise EL .i am using tomcat 5.5 .is there any need to configure in web.xml? in case please let me know  What version of JSP ru using?? see 

JSP Servlet Questions

start tomcat automatically by double clicking on exe
start tomcat automatically by double clicking on exe  Hi I wanted to start tomcat automatically by double clicking on exe. i made project in jsp and use tomcat 6 as a server. but now i wanted to do some challenging in that. i 

Servlets

Working with Tomcat Server
Working with Tomcat Server       This section explains how to work with Tomcat Server Apache Tomcat is a famous Servlet container developed at  Apache 

JSP Servlet Questions

connection of jsp with mysql - JSP-Servlet
connection of jsp with mysql  can anybody tell me about connection of JSP with MYSQL? and also tell me which version is compatible with tomcat 4.1 i am using tomcat 4.1, MYSQL 5.0 but i have problem with connection 

JSP Servlet Questions

servlets and jsp - JSP-Servlet
A SERVLET AND JSP IN COMMANDPROMPT AND ALSO IN NETBEANS IDE6.0,IT'S VERY URGENT... prompt.. you have to creat the following directory structure in your Tomcat folder where u have installed Tomcat.Generaaly in C drive we will install tomcat

JSP Servlet Questions

JSP with RMI
JSP with RMI  I want to do RMI in Jsp. I have tried but its not getting inerface declare in the directory of tomcat. Since we have to make interface extending from Remote. While requesting jsp page through browser it shows error 

Web Services

Introduction to the Tomcat web server
a web application with jsp/servlet install any web server like JRun, Tomcat etc... Introduction to the Tomcat web server       Tomcat is an open source web server developed 

JSP Servlet Questions

JSP Hosting - JSP-Servlet
JSP Hosting  Hi, I did a project using jsp, i host that using godaddy.com server, but when i reload or update the jsp i got an error msg. Can... support, currently in my localsystem i use jds 1.6. and tomcat 5.0. You can 

JDK 6 Tutorials

Installing JSF 1.1 in TOMCAT 5.5.23
Tomcat 5.5.23 Jsf 1.1 Servlet 2.3 Jsp 1.2  The steps required..." from tomcat/webapps/jsp-examples/WEB-INF/lib directory ...Installing JSF 1.1 in TOMCAT 5.5.23    

JSP Servlet Questions

jsp hosting
hosting: Java Tomcat Glassfish Jboss JSP Struts Servlets PHP MySQL...jsp hosting  What is jsp hosting? Explain me in detail. I have to suggest a hosting company to my boss. Thanks   Hi, JSP hosting is java 

JSP Servlet Questions

servlet/jsp - JSP-Servlet
.jar". 2.Embed the jar in the tomcat "lib" folder. 3.Set the classpath 

JSP Servlet Questions

jsp
jsp  how jsp translated into servlets 

JSP Servlet Questions

JSP
JSP  How to run jsp program in eclipse 

Java Beginners

jsp
jsp  how to create jsp page 

JSP Servlet Questions

Jsp
Jsp  Can I implement interface in jsp 

JSP Interview Questions

JSP
what is JSP forward tag for  what is JSP forward tag for   It forwards the current request to another JSP page. Below is the syntax for the same:- <jsp:forward page="...url..." /> We can also forward parameter 

JSP Servlet Questions

jsp
jsp  how to include two jsp page 

JSP Servlet Questions

jsp data in excel - JSP-Servlet
jsp data in excel  i have create jsp page which has button for excel.this calls jsp which contains code which has and then code for present data in jsp using table. and getting this data from servlet which has query 

JSP Servlet Questions

probleming in runing jsp - JSP-Servlet
probleming in runing jsp  hi this is my simple jsp code... in "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\prog" thn i start tomcat service and click on tht prog appication i get page like 

JSP Servlet Questions

jsp
jsp  how to create a table in oracle using jsp and the table name is entered in text feild of jsp page 

HTML Questions

jsp
jsp  write a code for jsp file generator to generate a jsp page automatically taking html page as input 

JSP Servlet Questions

JSP - JSP-Servlet
JSP  Thanks for your reply....regarding dbase connection using beans. i am using tomcat 5.0. I want to know where i have to place this class file. when i am trying to place this class file(DBcon.java) in WEB-INF classes 

JSP Servlet Questions

java web application without running tomcat
java web application without running tomcat  I did a project by using jsp,html,javascript,css,tomcat,editplus and MSAccess as backend..i created set... the tomcat. That means by clicking an icon it has to go to the main page in the project 

JSP Servlet Questions

jsp runtime error - JSP-Servlet
jsp runtime error  sir, when i am running ur prog... from this website.... http://www.roseindia.net/jsp/poi/readingWriting.shtml i did the same.... C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\examples\excel 

JSP Servlet Questions

Same email-massage is sending twice in online server(tomcat) but working fine in my local server(Tomcat)..
Same email-massage is sending twice in online server(tomcat) but working fine in my local server(Tomcat)..  Sir, I created one project in jsp... mail to admin at specific time. In local Server(tomcat):::>When employee 

JSP Servlet Questions

JSP
JSP  Hi, What is JSP? What is the use of JSP? Thanks   Hi, JSP Stands for Java Server Pages. It is Java technology for developing web applications. JSP is very easy to learn and it allows the developers to use Java 

JSP Servlet Questions

jsp
jsp  how to connect the database with jsp using mysql   Hi Friend, Please visit the following links: http://www.roseindia.net/jsp/connectjspwith_mysql.shtml http://www.roseindia.net/jsp/Accessingdatabase-fromJSP.shtml 

JDBC Questions

jsp
jsp   what is the basic necessities reguired for running jsp using JDBC bridge?? and how to write a jsp code to access the detail present in microsoft access pls send link regarding above 

Training

Apache Tomcat Training
Apache Tomcat Training     Description of Apache Tomcat Server  Tomcat is an open source web server developed by Apache Group. Apache Tomcat is the web container that is used 

JSP Servlet Questions

jsp
jsp  how to include google map in our jsp page 

JSP Servlet Questions

JSP
JSP   How to create CAPTCHA creation by using JSP? I need an code for CAPTCHA creation by using JSP...   You can create a captcha validation using jsp. Have a look at the following tutorial: Captcha Creation 

JSP Servlet Questions

jsp
jsp  how to write a servlet and jsp program for user login form 

JSP Servlet Questions

jsp
jsp  how to write a servlet and jsp program for user login form 

JavaMail Questions

jsp
jsp  how to pass jsp variable to an html page 

JSP Servlet Questions

JSP
JSP  relevant difference between servlet and jsp in 1 line 

JSP Interview Questions

jsp
jsp  why jsp is translated into servlet?pls describe precisly 

HTML Questions

jsp
jsp  code for jsp automatic genration using html 

Development process Questions

jsp
jsp  how to write hindi in jsp and store in database as unicode 

JSP Servlet Questions

JSP
JSP  FILE UPLOAD-DOWNLOAD code USING JSP 

JSP Servlet Questions

jsp
jsp  how to delete data from database using jsp 

JSP Servlet Questions

jsp
jsp  I Want complete note on JSP servlet 

JSP Servlet Questions

jsp
jsp  how to upload image through csv format in jsp 

JSP Interview Questions

JSP
What are JSP directives, page directives and include directives?  what are jsp directives? and what are page directives? and what are include directives? can you explain taglib directives?   JSP directives JSP 

JSP Interview Questions

JSP
Can you explain jsp page life cycle what is el how does el search for an attribute in JSP  Can you explain jsp page life cycle what is el how does el...://www.roseindia.net/jsp/simple-jsp-example/LifeCycleOfJspPage.shtml http 

JSP Interview Questions

how to set the class path variable in tomcat ?
how to set the class path variable in tomcat ?  description... in the Apache Tomcat/6.0.16 logs. Apache Tomcat/6.0.16 jsp file <html>...;jsp:useBean id="test" class="action.TestBean" /> <jsp:setProperty name 

JSP Servlet Questions

jsp page submitting
jsp page submitting  whenever i am submitting the jsp page it downloads some unknown file on tomcat server 

JSP Interview Questions

JSP
JSP  what are the different scopes an object can have in a jsp page   JSP Scope Variables: Page scope-It makes the data available... the following links: http://www.roseindia.net/jsp/simple-jsp-example 

JSP Servlet Questions

JSP Hindi Page - JSP-Servlet
JSP Hindi Page  I need to provide users with option to print a Certificate in English or Hindi. This is an html page generated by JSP Code. Depending... choice. Application Server is tomcat. Pramod Mumbai 

JSP Servlet Questions

connecting jsp to mysql - JSP-Servlet
connecting jsp to mysql  Hi, i am working on 'Web application development' project that uses JSP, MySQL and tomcat.i am not able to connect to the mysql database through jsp. After downloading the mysql-connector-java-5.0   

JSP Servlet Questions

Jsp ,Servlet Problem - JSP-Servlet
Jsp ,Servlet Problem  hi, m new to jsp n Servlet. i really find ur... with oracle. it worked wonders. now i m starting jsp n servlet learning.. pls... to execute a servlet code on tomcat server... Thanking u... Santosh   

JSP Interview Questions

JSP
what is jstl in JSP   what is jstl   JSTL is also called as JSP tag libraries. They are collection of custom actions which canbe accessed as JSP tags. For more information, visit the following link: JSTL Tutorials 

Java Server Faces Questions

JSP
access application data stored in JavaBeans components. The jsp expression...). Before JSP 2.0, we could use only a scriptlet, JSP expression, or a custom tag to include server state in the jsp page output. For more information, visit 

JSP Servlet Questions

JSP
JSP public opinion poll   Develop a JSP for a news channel to conduct public opinion poll on any topic. Users will respond through yes or no options. Later display the result in percentage 

JSP Servlet Questions

jsp
jsp   Hi all..I am new in jsp. I have a question. I want develope a jsp page it contain two part for two different user group. i want to hide some information from user1 group and same as user2 group. can i do this in single jsp 

Advertisements Advertisements
 

 

 

DMCA.com