Re: Best practices for validating request params?

2003-06-28 Thread Simon Price
You may want to take a look at the (from my dodgy memory) req-params action which does a simple existential check on request parameters. There's an example of its use in the modular database sample code's sitemap. Cheers Simon Sonny Sukumar wrote: Hi guys, I was wondering what the best way is

Best practices for validating request params?

2003-06-28 Thread Sonny Sukumar
Hi guys, I was wondering what the best way is to validate request parameters. I have a few questions: 1.) What is the best way to validate the *existence* of all expected request params (both for simple queries and for posting form data)? By this, I mean I'd ideally like to notify the client

RE: reading xml from pipeline into a flow script

2003-06-28 Thread Jonathan Spaeth
Title: RE: reading xml from pipeline into a flow script One simple way of accomplishing this is to simply, define pipeline to generate, transform, and serialize the xml.  Then, in the flowscript, simply use the jaxp dom api to load the generated xml: flow() {     var document = Packages.j

reading xml from pipeline into a flow script

2003-06-28 Thread Simon Price
From within a flow script, I would like to read (or pass in) xml generated by a series of pipeline xslt transformations. Please could someone give me a pointer on how to do this? Cheers Simon --- Simon Price Institute for Learning

RE: add user to unix

2003-06-28 Thread Geoff Howard
With Runtime.exec() but you need to read up heavily on it's use and/or ask about it on a more appropriate general java list or forum. I can tell you quickly that anytime you need to use exec() you should look into a threaded approach to handle parsing the standard error and standard out stre

add user to unix

2003-06-28 Thread Sliman Bouchareb
hello experts, i have a small applikation where the users can log in in to a portalpage (mysql-database), if they are not in the database they can create a user account (user,pass). what i want is when they create a useraccount, that a user be automatically created also under unix to a usergroup wh

Re: svgz to jpeg ?

2003-06-28 Thread Upayavira
On 28 Jun 2003 at 8:39, rob wrote: > Thanks for you reply, > > but how do I generate the source ? > > The file generator only seems to accept uncompressed > svg. When I use a compressed svg as the source I get the > following error message : Ah. So your file on disc is compressed svg. Okay, so

Apache 2.0.43 - Tomcat 4.1 - Cocoon 2.0.4 problem

2003-06-28 Thread Martín Mauri
Hi, I've setup an Apache / Tomcat / Cocoon integrated configuration. Fortunately the Apache / Tomcat part works pretty well, but I'm facing problems with the Cocoon part...I think it's redirection problem as my servlets are served well, but when I try to access a .xml file it simply shows me the t

Re: install cocoon 2.1-m2 on tomcat 4.1.24

2003-06-28 Thread Peter Ross
On Fri, Jun 27, 2003 at 11:32:00AM -0400, Geoff Howard wrote: > At 09:36 AM 6/27/2003, you wrote: > >Geoff, > > > >I think you misunderstood my mail, I *DON'T* have a copy of > >xmlParserAPIs.jar in the tomcat common/endorsed directory. > > Ah, sorry - I thought the situation was reversed. > > >H

Javascript within XSP-Actions?

2003-06-28 Thread Markus Heussen
Hi all! Does anybody know if I can use javascript for writing custom xsp actions? What about the configuration? Thanks for every help. Markus I tried this but it doesn't work: http://localhost"/> http://localhost:8081"/> My xsp ac

Re: svgz to jpeg ?

2003-06-28 Thread rob
Thanks for you reply,   but how do I generate the source ?   The file generator only seems to accept uncompressed svg. When I use a compressed svg as the source I get the following error message :   Original Exception: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.a