I will try it out. Thanks, Luanne
--- James Mason <[EMAIL PROTECTED]> wrote: > Luanne, > > I was reading through the web.xml file for Cocoon > and it mentions > something about some app servers (Tomcat in > particular) keeping a > servlet mapping to *.jsp even when another servlet > is mapped to /. > Cocoon solves this by mapping their servlet to both > / and *.jsp. Maybe > this is the same problem here? > > Try adding > > > <servlet-mapping> > <servlet-name>webdav</servlet-name> > <url-pattern>*.jsp</url-pattern> > </servlet-mapping> > > to your slide/WEB-INF/web.xml file just after the > mapping for /. > > -James > > >>> [EMAIL PROTECTED] 6/17/2004 9:31:40 PM > >>> > I'm using the SLide-Tomcat bundle. But even then, I > need to just create different kinds of files and > store > them. I'm not worried about them getting compiled or > anything to get served. In fact, I need to be able > to > retrieve the source of the file and send it off to > another application. > > Luanne > > --- "Fallin, Jonathan A." < [EMAIL PROTECTED] > > wrote: > > Apache doesn't serve .jsp files in the same was as > > .html or .xml files. JSP > > files have to be compiled first, usually by a Java > > Servlet Container like > > Tomcat, and are served from there. (i.e. Not the > > Apache Doc Root folder) > > > > **You could configure Apache to serve .jsp files > > from its Doc Root just like > > ..html but there's absolutely no point in doing so > - > > other than as a > > exercise. > > > > Jonathan > > > > -----Original Message----- > > From: Luanne Coutinho > > [mailto:[EMAIL PROTECTED] > > Sent: Thursday, June 17, 2004 7:45 AM > > To: [EMAIL PROTECTED] > > Subject: putMethod cannot create a JSP > > > > Hello, > > > > I am trying to use the putMethod to create a JSP > > file with content "test" > > (Filename: jsptest.jsp) I get an Apache 404 error. > > > > The same code works perfectly for creating a > > test.html or a test.xml Why > > can't I create a jsp the same way? > > > > Thanks > > Luanne > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > New and Improved Yahoo! Mail - 100MB free storage! > > http://promotions.yahoo.com/new_mail > > > > > --------------------------------------------------------------------- > > 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] > > > > > > > > > __________________________________ > Do you Yahoo!? > Take Yahoo! Mail with you! Get it on your mobile > phone. > http://mobile.yahoo.com/maildemo > > --------------------------------------------------------------------- > 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] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
