paperclips-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paperclips-discuss] Problems with Paperclips CVS


From: Nic Ferrier
Subject: Re: [Paperclips-discuss] Problems with Paperclips CVS
Date: Wed, 10 Nov 2004 11:56:01 +0000

Andy Madigan <address@hidden> writes:

> I tried the latest Paperclips in CVS and it works insofar as the server
> does start, but it can't find any files (it won't even list the root
> directory). I've tried using a simple server.xml as well as simply
> specifying a docroot on the command line. This is using sablevm
> 1.1.6. 

I have not run paperclips against sablevm. I'll install debian's and
see what happens.

But Paperclips definitely works. I just tested it again with the files
you submitted to me. 

So it looks like it might be a sable problem. We'll find out.



> I'm not really that concerned about not being able to find files, what
> I really need to know is how CGIServlet (in gnu.paperclips.servlets) is
> used. I have a similiar type of servlet. The servlet needs to be able
> to access files, and needs to be associated with a specific file
> exstension (.ssjs). How would I use this servlet? (I would prefer to be
> able to hardcode this into the container somewhere, rather than using 
> server.xml).

I can't remember what the status of CGIServlet is.

But you could write a method to start paperclips and bind the servlet
for you automatically.

Do you want to know how to do that?


btw using server.xml for this is fine. Unlike some other servlet
containers I could mention, Paperclips allowed deployers to override
anything that is specified in a web.xml with similar constructs in a
server.xml.

Why not use server.xml?

-- 
Nic Ferrier
http://www.tapsellferrier.co.uk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]