W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 1998

Re: SSI question

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Wed, 23 Sep 1998 10:18:14 +0200
Message-Id: <199809230818.KAA28022@ender.inria.fr>
To: joelg <joelg@ihs.com>
cc: www-jigsaw@w3.org
joelg writes:

> 
> Hello,
> 
> I just installed Jigsaw this morning and need your help ASAP for a demo......
> I need to call jdbcCommand with an arguement (the notebook uses hardcoded 
> values in it's example).  For example, I call jdbcCommand in a file called
> my.shtml.  I need to call this with an arguement passed in by calling 
> www.mymachine.com:8001/my.shtml?user=joel.  This way I can look up joel in
> my database.  I realize I should be able to figure this out myself, but I nee
> d
> to get something to show ASAP.  Any help would be GREATLY appreciated.
> 

 You can get the query string with <!--#echo var="QUERY_STRING" -->
 but you can't pass an argument to the SSI jdbcCommand. I think that 
 what you want to do can't be done with SSI. The best way to do what 
 you want is probably to write a Servlet or a new Jigsaw resource. 
 In the next Jigsaw release you will be able to use HTML/Java pages 
 (.jhtml) that allows you to write Java code in  HTML pages.
 
 Regards, Benoit.


- Benoît Mahé -------------------------------------------------------
                      World Wide Web Consortium (W3C)
                    Architecture domain - Jigsaw Team           

  http://www.w3.org/People/Mahe - bmahe@w3.org - +33.4.92.38.79.89 
---------------------------------------------------------------------
Received on Wednesday, 23 September 1998 04:18:26 GMT

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