If you add the following to your web.xml it should work fine:

 <servlet-mapping>
     <servlet-name>webdav</servlet-name>
     <url-pattern>*.jsp</url-pattern>
 </servlet-mapping>

In your case, the JspServlet is intercepting the request for the JSP file before it 
gets to Slide and is looking for it in the non-existent subdirectory 
"<tomcat_dir>/webapps/slide/files". 

Hope this helps,
Brett Collett

-----Original Message-----
From: Haipeng Du [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 22 September 2004 3:42 AM
To: [EMAIL PROTECTED]
Subject: RE: JSP files



I did that before. As you said, jsp files can not be put to slide server. I 
also want to know how to do that.
Maybe that is a bug for slide server.
Haipeng

>From: "Miguel Figueiredo" <[EMAIL PROTECTED]>
>Reply-To: "Slide Users Mailing List" <[EMAIL PROTECTED]>
>To: "'Slide Users Mailing List'" <[EMAIL PROTECTED]>
>Subject: JSP files
>Date: Tue, 21 Sep 2004 15:53:58 +0100
>
>
>  Hello folks,
>
>  Does anyone tried to put a jsp file into the slide repository? Or opening
>it?
>
>  I've been trying it, but when making a put nothing happens in the tomcat
>console window and the error 404 is returned. When getting the file same
>error. I've been using the web folder interface...
>  Thing is that I can put a file in there, and then rename it (executing a
>move on the file) to a jsp file. When using drag&drop or ctrl+c on the 
>file,
>I also can get it to my local disk, but when double-clicking on it the 
>error
>404 is returned.
>
>  Can anyone help me with this? I believe slide should work with every kind
>of files, it should not take a different action when trying to manage jsp
>files witch seems to be the case.
>
>  Thanks in advance,
>  Miguel Figueiredo
>
>
>PS: by the way, I tried to enable webdav in IIS with success and it handles
>the jsp files as expected. On the other hand, it fails to handle the asp 
>and
>aspx files hehehe :)
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

_________________________________________________________________
Get ready for school! Find articles, homework help and more in the Back to 
School Guide! http://special.msn.com/network/04backtoschool.armx


---------------------------------------------------------------------
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