Eric, Thank you, its great to see a few options.
Unfortunately, the problem is more severe. Even the example, which I did not change, will not produce an image, and my test, produced a NoClassDefFound exception: I am not sure what to check. I am running java version "1.4.2_03" and Tomcat 4.1 I am not 100% sure that it was working previously, but at this time, if any transformation is requested, it fails. http://nees.ucsb.edu/imageserver Thanks again for any clues to tracking this down. --Hank class java.lang.NoClassDefFoundError Message Location LineN/A ColumnN/A Stack TraceClass NameMethod NameFile NameLine Number java.lang.ClassforName0Class.java- 2 java.lang.ClassforNameClass.java 141 java.awt.Toolkit$2runToolkit.java 748 java.security.AccessControllerdoPrivilegedAccessController.java- 2 java.awt.ToolkitgetDefaultToolkitToolkit.java 739 org.orbeon.oxf.processor.ImageServerfilterImageServer.java 374 org.orbeon.oxf.processor.ImageServerstartImageServer.java 184 org ----- Original Message ----- From: "Erik Bruchez" <[EMAIL PROTECTED]> To: "OXF Users" <[EMAIL PROTECTED]> Sent: Thursday, May 06, 2004 6:50 PM Subject: Re: Simple Imageserver example > Hank, > > You can either use the Request generator, or use the <param> element in the > controller to set XForms instance parameters based on the URL path. For example: > > <page id="album-summary" path-info="/pictures/([^/]+)/" > matcher="oxf/processor/perl5-matcher" > xforms="image-form.xml" > model="image.xpl" > view="image.xsl"> > <param ref="/form/image-id"/> > </page> > > What the code above does is to extract a regular expression group from the URL > path, and then store it in the XForms instance. This will work assuming you > have an instance like this, for example: > > <form> > <image-id/> > </form> > > and a path like "/pictures/12345/". > > This solution works on the URL path exclusively, so will not match request > parameters (i.e. the query string). > > Whatever option you choose, you should then create an Image Server > configuration based on the XForms instance, for example using XSLT. > > -Erik > > Hank Ratzesberger wrote: > > > I want to use the image server by just passing url parameters. > > > > I tried using the sample just as it is, copying the url from > > the source code. I am a bit confused as to how the sample > > pipeline works because although it passes all parameters in > > the url, it also has a xforms param. > > > > I want to call the image server with just a few simple params, > > do I need a request generator to parse the url params and > > then feed this to the image server? > > > > Thanks for any tips, even RTFM, although I've been scouring. > > > > --Hank > > > > Hank Ratzesberger > > Institute for Crustal Studies > > University of California, Santa Barbara > > 1140 Girvetz Hall > > Santa Barbara, CA 93106 > > 805-893-8042 > > ============================== > > _______________________________________________ > oxf-users mailing list > [EMAIL PROTECTED] > http://mail.orbeon.com/mailman/listinfo/oxf-users _______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
