Hi,
wildwolf horse a �crit :
> Hi Veronique Dupierris:
>
> thanks a lot for your help.
> I just checked the it in Webserver.xml and I added it
> like that
> <WebApplication id="WebApp" mapping="/WebApp"
> docBase="WebApp" />
> I tried your's but it seems not work too. Maybe I
> should specify the path?
Yes, you should specify your path in docBase
>
>
> Now I moved to examples path, thanks god it works.
> But now I met another funny problem.
>
> At first I put my *.jsp and *.html files in
>
> C:\jswdk-1.0.1\examples\jsp\testOne\
> my beans in
> C:\jswdk-1.0.1\Webapp\Web-inf\jsp\beans\testOne\
>
> I run the jsp file it works perfectly.
>
> Then I moved the jsp and html file to
> C:\jswdk-1.0.1\examples\jsp\tutorial\testOne\
>
> when I run it the jspengine tole me:
>
> Unhandled error!
> com.sun.jsp.compiler.ParseException: Cannot read file:
> C:\jswdk-1.0.1\examples\jsp\testOne\golferror.html
>
> That means the engine still think the html file should
> be in old directory. Even I reboot the machine or put
> the html file to C:\jswdk-1.0.1\webpages\, it still
> not work.
>
> So the jsp engine has a very strong memory and if you
> put your file in one directory, you don't have chance
> to move to another?
>
> How can I solve this funny problem?
>
I'm not really sure that the jsp engine has a strong memory ;) How do you access
to golferror.html ? is it a link in an other pages, the error page of a jsp page or
do you try to access this page directly?
I tried to change the 'cal' example from example/jsp/cal to
example/jsp/tutorial/cal and it works well, except of course, the images and links
to specific location
>
> Thanks a lot for great help.
>
> Smart.
>
Veronique
>
> __________________________________________________
> Do You Yahoo!?
> Send online invitations with Yahoo! Invites.
> http://invites.yahoo.com
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets