473,387 Members | 1,664 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

creating a new web application

In my system i have apache-tomcat-4.1.34.

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

is working fine.

How can I create an application for change the examples to the another name.

I am new for the tomcat.
Enybody can help me .This is very urgent for me.
Jul 27 '07 #1
6 1810
JosAH
11,448 Expert 8TB
In my system i have apache-tomcat-4.1.34.

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

is working fine.

How can I create an application for change the examples to the another name.

I am new for the tomcat.
Enybody can help me .This is very urgent for me.
That is a very old Tomcat version you have installed on your computer. The
current version is 6.x. Check out Tomcat's homepage where you can find all
the documentation of that Servlet container. Please don't just start hacking
away because Tomcat is very unforgiving. Here's the homepage.

kind regards,

Jos
Jul 27 '07 #2
http://localhost:8080/examples/first.jsp

in this above url "examples" is a context.you can find this in root directory.
if you want a url like

http://localhost:8080/xyz/first.jsp

then you have to create a new context "xyz" in root directory.
Jul 27 '07 #3
http://localhost:8080/examples/first.jsp

in this above url "examples" is a context.you can find this in root directory.
if you want a url like

http://localhost:8080/xyz/first.jsp

then you have to create a new context "xyz" in root directory.

can you tell me what are the modifications have to do. This is very useful for me.
Thanks in advance..
Jul 27 '07 #4
praveen2gupta
201 100+
In my system i have apache-tomcat-4.1.34.

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

is working fine.

How can I create an application for change the examples to the another name.

I am new for the tomcat.
Enybody can help me .This is very urgent for me.
Hi
Go to Tomcat->webapps folder, create a new folder Ex newweb or as desired.
Now create a WEB-INF folder inside this new folder. copy and paste
web.xml file here from your existing application. Inside this(WEB-INF) folder create a folder classes.
Now restart Tomcat server. It will work.
open as. Copy and past first.jsp page also.

http://localhost:8080/newweb/first.jsp
Jul 27 '07 #5
Hi
Go to Tomcat->webapps folder, create a new folder Ex newweb or as desired.
Now create a WEB-INF folder inside this new folder. copy and paste
web.xml file here from your existing application. Inside this(WEB-INF) folder create a folder classes.
Now restart Tomcat server. It will work.
open as. Copy and past first.jsp page also.

http://localhost:8080/newweb/first.jsp

Thanks for your reply...

But it is not working. Can I change context path from the server.xml?. This is necessary or not.

Thanks in advance....
Jul 27 '07 #6
JosAH
11,448 Expert 8TB
Thanks for your reply...

But it is not working. Can I change context path from the server.xml?. This is necessary or not.

Thanks in advance....
As I wrote in my previous reply: please read and understand instead of blindly
trying to hack you way into Tomcat.

kind regards,

Jos
Jul 27 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: PK | last post by:
Hello, I am looking for help on the following. I'm trying to create a custom browser toolbar button that will do a few things. One that I'm trying to do at the moment is just simply return the...
0
by: Robert | last post by:
I get these errors when creating a asp .net web application project in VS 2003 on a remote web server: "Microsoft Development Environment The Web was created successfully, but an error occurred...
6
by: DraguVaso | last post by:
Hi, In my application, on some given actions while debugging in Visual Studio, I suddenly get a "System.ComponentModel.Win32Exception was unhandled" Message="Error creating window handle."...
15
by: Carlos Lozano | last post by:
Hi, What is the right way to create an OCX COM component. The component is already registerred, but can't create an instance. I am using the reference to the interop module created. If I use...
12
by: Mats Lycken | last post by:
Hi, I'm creating a CMS that I would like to be plug-in based with different plugins handling different kinds of content. What I really want is to be able to load/unload plugins on the fly without...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.