aspose file tools*
The moose likes Servlets and the fly likes where to store .jsp files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "where to store .jsp files" Watch "where to store .jsp files" New topic
Author

where to store .jsp files

abhay das
Greenhorn

Joined: Aug 22, 2001
Posts: 9
Hi,
Kindly help regarding where to save all jsp files and html files.
I'm using jakarta-tomcat-3.2.1 as my server.And also how can I connect between various html and jsp files when I run it in a web browser?If any documentation is there kindly refer the URL.
Thanx
Abhay
mocca az
Ranch Hand

Joined: Mar 07, 2001
Posts: 93
Greetings!
There is a thread here for you to follow http://www.javaranch.com/ubb/Forum7/HTML/005712.html
To connect various .jsp & .html files u use <a href="filename">Link Name</a>
I am not sure if this answers your question???
abhay das
Greenhorn

Joined: Aug 22, 2001
Posts: 9
Hi Mocca,
I would like to clarify about what I want...See I have installed tomcat-3.2.1 in my D: drive.I have been able to make a connection with tomcat and can view the tomcat webpage.But the thing which I want to know is like when I write up some .Jsp or .Html file I need to store it some where...so where to store it?Is it in some directory in tomcat or I have to prepare some two or three separate directory for .jsp and .html etc.
I have tried some examples to run but it shows some error Http404...Not found....somthing like that.I have defined the classpath to access some database from Oracle8i.After startup, the classpath I defined is like D:\jakarta-tomcat-3.2.1\bin>set classpath D:\jsdk2.0\lib\classes12.zip.
But it does not show any results...only the error.
But the foremost thing you can do is like tell me where to save all these files.
Thanx
Abhay
Dennis Cannell
Greenhorn

Joined: Sep 04, 2001
Posts: 3
If your tomcat install has worked:
go
http://localhost:8080/
if it's up and running, then search your drives for some of the examples you see on those pages and you'll find them in
TOMCAT_HOME/webapps/examples
So create your own webapp in that directory (TOMCAT_HOME/webapps), along with associated WEB-INF directory and web.xml if needed and then jsp's fly in there.
Good luck
p.s. I would try that other thread I looked at it and it looks like a good guide
mocca az
Ranch Hand

Joined: Mar 07, 2001
Posts: 93
As far as i can see, you haven't even bothered to read post i told you about. Here it is, so try again http://www.javaranch.com/ubb/Forum7/HTML/005712.html
Read it and understand what are you reading, otherwise you will just come back here and ask the same question again.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: where to store .jsp files