Simple enough, but I'm running out the door right now so forgive the haste.

You need to set up a context for your website and set it's docroot to C:\cisc\site

That should automatically allow your jsps to be visible.  Ideally you'd also create a 
WEB-INF folder (case is important) in that root folder as well but it's not completely 
necessary in the first instance.  

It depends a bit on how you've got apache and tomcat hooked up as to how the pages 
will be delegated (ie: who will be in charge of presenting them, Apache or Tomcat), 
but if you're using the isapi_redirector (the normal method on a windows box - making 
some assumptions here based on the C:\ stuff) you will probably already have set it up 
to redirect all jsp requests to tomcat.  

If all that is gobbledygook, send me another note and I'll see if I can help further 
tomorrow.

Cheers for now

Tref

------------------------------------------------------
Tref Gare
Development Consultant
Areeba
Level 19/114 William St, Melbourne VIC 3000
email: [EMAIL PROTECTED]
phone: +61 3 9642 5553
fax: +61 3 9642 1335
website: http://www.areeba.com.au
------------------------------------------------------
"This email is intended only for the use of the individual or entity named above and 
contains information that is confidential. No confidentiality is waived or lost by any 
mis-transmission. If you received this correspondence in error, please notify the 
sender and immediately delete it from your system. You must not disclose, copy or rely 
on any part of this correspondence if you are not the intended recipient. Any 
communication directed to clients via this message is subject to our Agreement and 
relevant Project Schedule. Any information that is transmitted via email which may 
offend may have been sent without knowledge or the consent of Areeba."
------------------------------------------------------

-----Original Message-----
From: Nicholas J Campbell [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 5 February 2003 2:54 PM
To: 'Tomcat Users List'
Subject: RE: JSP's in other directories

Whoops...i actually meant the webapps folder...
Currently this is where I can access from the web
C:\Program Files\Apache Group\Tomcat 4.1\webapps\examples
That's it
I have my site at c:\cisc\site
And I have a jsp page tmp.jsp in the c:\cisc\site folder that I want
access to because I am running apache 2 and it currently loads the
index.html file from there but I want to change it to a jsp page at some
point and I have to be able to access it

Is that a better explaination?

-Nicholas Campbell
 
"In a world without walls and barriers, what need is there for windows
and gates!" - a mac ad
-
"I never let schooling get in the way of my education." - MT

-
Live Penguine! - Tux the linux mascot
Vivez le penguine!, �Viva en penguine!, Lang lebe der Pinguin!, Viva no
penguine!, Viva sul penguine!
-
"There are 10 kinds of people in this world...those who understand
binary...and those who don't!" - ThinkGeek.com
 
 

-----Original Message-----
From: Tref Gare [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 04, 2003 10:46 PM
To: Tomcat Users List
Subject: RE: JSP's in other directories

Not quite sure of your situation so this may not answer the question.

However you can place a jsp in any folder you like within the context of
the webapp/virtual site in question.

In other words if your site is at c:/mysite
And it contains a c:/mysite/WEB-INF folder (which says it is a tomcat
webapp)
Then you can place your jsp files in any folder you like beneath the
mysite folder.

Ie: C:/mysite/intro/intro.jsp
C:/mysite/details/details.jsp
and c:/mysite/root.jsp

Will all work fine.

If that's not the answer you're after, repost with some more specifics
and someone will be able to help.


cheers
------------------------------------------------------
Tref Gare
Development Consultant
Areeba
Level 19/114 William St, Melbourne VIC 3000
email: [EMAIL PROTECTED]
phone: +61 3 9642 5553
fax: +61 3 9642 1335
website: http://www.areeba.com.au
------------------------------------------------------
"This email is intended only for the use of the individual or entity
named above and contains information that is confidential. No
confidentiality is waived or lost by any mis-transmission. If you
received this correspondence in error, please notify the sender and
immediately delete it from your system. You must not disclose, copy or
rely on any part of this correspondence if you are not the intended
recipient. Any communication directed to clients via this message is
subject to our Agreement and relevant Project Schedule. Any information
that is transmitted via email which may offend may have been sent
without knowledge or the consent of Areeba."
------------------------------------------------------

-----Original Message-----
From: Nicholas J Campbell [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 5 February 2003 2:11 PM
To: 'Tomcat Users List'
Subject: JSP's in other directories

Hi,
        I have a question, I want to be able to access JSP pages that
are outside of the web-inf directory setup by tomcat...I do not know how
to do it, obviously. I have Apache 2 installed and use that at my main
server and then am running tomcat for the purposes of Servlets and JSP's
and I want to know what I have to do to make myself be able to access a
jsp page that is in a directory like c:\site

Thanks for the help

-Nicholas Campbell
�
"In a world without walls and barriers, what need is there for windows
and gates!" - a mac ad
-
"I never let schooling get in the way of my education." - MT
-
Live Penguine! - Tux the linux mascot
Vivez le penguine!, �Viva en penguine!, Lang lebe der Pinguin!, Viva no
penguine!, Viva sul penguine!
-
"There are 10 kinds of people in this world...those who understand
binary...and those who don't!" - ThinkGeek.com
�
�




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to