473,385 Members | 1,893 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,385 software developers and data experts.

Upload JSP web site to Tomcat web server

ak1dnar
1,584 Expert 1GB
Hi,

I have created a JSP web Application in my localhost. Here as my web/Application server I used Sun java system Application server.

Now The site is ready to upload to its remote location.
Since this is my first attempt to JSP web site I have ask some help from you guys.

Now the problem is on our remote server we have Apache Tomcat/5.5.17

Is it a possible to Put our local site there at tomcat.

Then How can I do that.?
Thanks!
Jul 17 '07 #1
3 4000
Hi,

I have created a JSP web Application in my localhost. Here as my web/Application server I used Sun java system Application server.

Now The site is ready to upload to its remote location.
Since this is my first attempt to JSP web site I have ask some help from you guys.

Now the problem is on our remote server we have Apache Tomcat/5.5.17

Is it a possible to Put our local site there at tomcat.

Then How can I do that.?
Thanks!
So what have done with the local Sun App Server?
Is it a JSP u want to deploy or the whole site?

for tomcat webserver:

Ok if it is the whole site, you will need to create a web.xml (Deployment descriptor) for the web application defining where your resources (jsps, html, welcome page file list, erro page,...etc etc) are. then put that in the folder with called web-inf inside your web application folder. Then put yo web folder in the webApp folder under tomcat installation directory....

Start tomcat.... eish, just go onto the index.html in the doc folder in the tomcate installation directory.... there is where your answer is
Jul 17 '07 #2
ak1dnar
1,584 Expert 1GB
So what have done with the local Sun App Server?
Is it a JSP u want to deploy or the whole site?

for tomcat webserver:

Ok if it is the whole site, you will need to create a web.xml (Deployment descriptor) for the web application defining where your resources (jsps, html, welcome page file list, erro page,...etc etc) are. then put that in the folder with called web-inf inside your web application folder. Then put yo web folder in the webApp folder under tomcat installation directory....

Start tomcat.... eish, just go onto the index.html in the doc folder in the tomcate installation directory.... there is where your answer is
So I have to create a web.xml manually is it?
Is there any way to generate this web.xml file from SunJavaSystemAppServer 9.

I copied the site folder from

Expand|Select|Wrap|Line Numbers
  1. D:\Program Files\Sun\SDK\domains\domain1\mywebsite
to

Expand|Select|Wrap|Line Numbers
  1. D:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\ROOT\mywebsite
And its working, but Once I upload the same directory to remote Tomcat server on my hosting company Its not working (HTML(s) are working)

What might be the reason for this?
Jul 17 '07 #3
ak1dnar
1,584 Expert 1GB
Oops! :)

The problem was with our hosting provider.Now Its fixed.
Thanks!

-Ajaxrand
Jul 18 '07 #4

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

Similar topics

2
by: Jacques Cooper | last post by:
Hello, How do I upload a disk file using HTML? For example, many job boards allow you to upload your resume to their site. Thanks, Jacques
14
by: Al Smith | last post by:
I need help in implementing proper error handling. I am trying to upload a file based on the sample code below. The code works well except if the file selected is too big. I do know about the...
1
by: Albano Alves | last post by:
Boas! Estou desenvolver um gestor documental para funcionar numa intranet. Uma das acções é o upload de ficheiros para o servidor. Existe alguma forma de ilimitar o tamanho dos ficheiros no...
4
by: jf li | last post by:
I have a Asp.net web application and a Asp.net Web service application. The Web application is using HtmlInputFile to get a 50M size of file selected by end user, read the data of this file and...
15
by: David Lozzi | last post by:
Howdy, I have a function that uploads an image and that works great. I love ..Nets built in upload, so much easier than 3rd party uploaders! Now I am making a public function that will take the...
3
by: Mike Kelly | last post by:
Hi. I've built a page using standard ASP.NET 2.0 features and when I upload a large file (>20MB) to our intranet server, I get a paltry 100KB/s on our 100Mb/s LAN. Simply copying the file, I get...
6
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a...
9
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web...
0
ak1dnar
by: ak1dnar | last post by:
Hi, I made a simple web application using JSP. as the IDE i am using DW8 and my local App server is SUN java sys app serv 9. In locally Site is working fine. but once i upload the site to the web...
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: 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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.