File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

where to store .jsp files

 
abhay das
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 93
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 93
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic