File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Ajax in Tomcat
Joined: Aug 18, 2006
Oct 26, 2007 01:59:00
I am a starter in Ajax and i am implementing it using
I have 3 files
1.try.html - html file
Can someone please tell me where do i store these files in tomcat 6.0 files so that i can get them running.
Thankyou in advance
..............................<br />Exceptions are a part of possibility<br />Errors are a part of truth<br />................................
Jesper de Jong
Joined: Aug 16, 2005
Oct 26, 2007 07:09:00
It's not as easy as just putting the files in the right place. You will have to create a Java web application, package it as a WAR file and deploy the WAR file in Tomcat.
Have a look at this:
1.4 Tutorial - Getting Started with Web Applications
Java Beginners FAQ
JavaRanch SCJP FAQ
The Java Tutorial
Java SE 7 API documentation
- My blog about Scala
Joined: Aug 18, 2006
Oct 28, 2007 22:39:00
Thank you for the Reply,
i researched a lot on this problem....here it goes
3.Style sheet(In ROOt/css folder)create css folder if absent
4.servlet in ROOT/WEB-INF/classes folder
had a hard time playing with it...
hope some one finds it useful
Joined: Dec 11, 2004
Oct 29, 2007 04:23:00
For experimenting with
, this is fine but, before moving any further, you should consider Jesper's advice and learn how to create your own web applications.
By putting your code into the ROOT directory, you've mixed your code with an existing (but unrelated) web application.
How to ask a question...
Simple Servlet Examples
I agree. Here's the link:
subject: Ajax in Tomcat
Heeelp! Fileupload with jsf and ajax
Unable to run start up file for tomcat 6.0
how to access other folders outside webapp in tomcat6
Setting up contexts somewhere other than webapps
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014