Already tried that... I created index.html, which doesn't load either.
Same error - HTTP404.
date.jsp doesn't include any other files, but it accesses class files in the
Web-inf folder. Here's the jsp code line where teh classes are invoked:
<jsp:useBean id='clock' scope='page' class='dates.JspCalendar'
type="dates.JspCalendar" />
date.jsp in attached, for detail.
Thanks
AC
-----Ursprüngliche Nachricht-----
Von: Kitching Simon [mailto:[EMAIL PROTECTED]]
Gesendet: Thursday, January 11, 2001 2:18 PM
An: '[EMAIL PROTECTED]'
Betreff: RE: Mounting directory
So you have created a directory
%TOMCAT_HOME%\webapps\examples\xyz
and put a file "date.jsp" in there?
And then you try to access it as:
http://localhost:8080/examples/xyz/date.jsp
and you get HTTP 404?
I suggest trying an html file instead of date.jsp,
eg create "test.html" in the xyz directory and
try to load that.
Does date.jsp try to "include" other files, or
redirect to other files which aren't in your new
xyz directory?
> -----Original Message-----
> From: Chalasani, Ashant [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, January 11, 2001 2:11 PM
> To: '[EMAIL PROTECTED]'
> Subject: AW: Mounting directory
>
> Thanks Simon,
>
> I am using
> jakarta-tomcat-3.2.1.zip
> Win-NT 4.0
> Java 1.2 on jBuilder 3
>
> Regards,
> Ashant
>
> -----Ursprüngliche Nachricht-----
> Von: Kitching Simon [mailto:[EMAIL PROTECTED]]
> Gesendet: Thursday, January 11, 2001 2:07 PM
> An: '[EMAIL PROTECTED]'
> Betreff: RE: Mounting directory
>
>
> It would help if you said what version
> of tomcat, what operating system
> and what java version..
>
> If you are working on unix, then are
> the directory and files readable by the
> user that tomcat is running as?
>
> Regards,
>
> Simon
>
> > -----Original Message-----
> > From: Chalasani, Ashant [SMTP:[EMAIL PROTECTED]]
> > Sent: Thursday, January 11, 2001 1:56 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: Mounting directory
> >
> > Hello all,
> >
> > I'm new to Tomcat and jsp at large, so please bear with the dumb
> > questions...
> >
> > I have the Jakarta server running and the server.xml file has the
> context
> > set by default to /webapps/examples for demonstrating examples.
> >
> > <Context path="/examples"
> > docBase="webapps/examples"
> > crossContext="false"
> > debug="0"
> > reloadable="true" -->
> > </Context>
> >
> > The examples that came with the Tomcat download all load fine through
> > localhost:8080. For example /webapps/examples/dates/date.jsp loads and
> > functions.
> > But when I include a folder of my own such as
> > /webapps/examples/xyz/date.jsp
> > (note: I'm using the same jsp file as in example, only the xyz directory
> > is
> > different), the file doesn't load and I get HTTP 404 error.
> >
> > Can anybody suggest a reason/remedy.
> >
> > Thanks in advance
> > AC
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
date.jsp
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]