W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 2000

Servlet initArgs incoporating spaces

From: Simon Brooke <simon@weft.co.uk>
Date: Thu, 10 Aug 2000 13:04:20 +0100
Message-ID: <39929A44.8DE07BCC@weft.co.uk>
To: www-jigsaw@w3.org
Problem:

When setting up Servlets using the Jigsaw servlets.properties file,
space is interpreted as a separator. This means that initArg values
can't include spaces. You can set up initArgs with spaces through the
jigadmin interface, but jigadmin is just too clumsy and cumbersome for
setting up systems which have large numbers of servlets each with large
numbers of initArgs.

Is there any way in the servlet.properties file of delimiting or
escaping initArgs to allow the inclusion of spaces? Here's an example of
what I want from an Apache JServ servlet zone properties file:

----------------------------- cut here: example ------------------------
servlet.locations.code=uk.co.weft.htform.List
servlet.locations.initArgs=title=Locations,query_template=select * from
location order by
name,action_url=/deadskunk/location,action_field=location,link_field=name,can_add=Add
a new LOCATION
----------------------------- cut here: example ------------------------


-- 
Simon Brooke, Technical Director, Weft Technology Ltd --
http://www.weft.co.uk/

	the weft is not just what binds the web: it is what makes it a web
Received on Thursday, 10 August 2000 08:05:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:34 GMT