From bettini@dsi.unifi.it Sun Aug 05 08:52:18 2001
Received: from mail-6.tiscalinet.it ([195.130.225.152] helo=mail.tiscalinet.it)
	by fencepost.gnu.org with esmtp (Exim 3.22 #1 (Debian))
	id 15TNOD-0002ki-00
	for <help-java2html@gnu.org>; Sun, 05 Aug 2001 08:52:18 -0400
Received: from dsi.unifi.it (62.11.37.127) by mail.tiscalinet.it (5.5.031)
        id 3B43877D00CAF812 for help-java2html@gnu.org; Sun, 5 Aug 2001 14:52:12 +0200
Message-ID: <3B6D195D.DF81AC39@dsi.unifi.it>
Date: Sun, 05 Aug 2001 12:01:02 +0200
From: Lorenzo Bettini <bettini@dsi.unifi.it>
Organization: Dipartimento Sistemi e Informatica, Univ. di Firenze
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: help-java2html@gnu.org
Subject: Re: [Help-java2html] Setup java2html as cgi
References: <Pine.GSO.4.10.10104121438190.2527-100000@irz614>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: help-java2html-admin@gnu.org
Errors-To: help-java2html-admin@gnu.org
X-BeenThere: help-java2html@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
Reply-To: help-java2html@gnu.org
List-Help: <mailto:help-java2html-request@gnu.org?subject=help>
List-Post: <mailto:help-java2html@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-java2html>,
	<mailto:help-java2html-request@gnu.org?subject=subscribe>
List-Id: Users list for java2html <help-java2html.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-java2html>,
	<mailto:help-java2html-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-java2html/>

Hi Robert

	I was wondering if you received my last mail, with the new version of
java2html (in order to hardcode the source root path), and asking
whether I could put the link to your examples in the html of
Source-highlight.

	I wrote again, because I haven't received your answer for a long time.

cheers
	Lorenzo

Robert Wetzel wrote:
> 
> Hi there,
> 
> > my memory needs to be refreshed about CGI: in which case
> > QUERY_STRING is used? GET or POST or both?
> 
> Only in the GET method (I didn't know it either, but that
> says the test with my Roxen webserver).
> The POST method puts the arguments into the input of
> a CGI script. The script have to interpret the variable
> REQUEST_METHOD to know which method is used 'on' it.
> 
> >>   Currently all file names (input file, css file, ...)
> >>   must be given relatively to the java2html program
> >>   or as an absolute path name.
> 
> > what do you mean? ../.. doesn't work?
> 
> It works. BUT: ../.. is handled relatively to the location
> of java2html in the underlying filesystem. For example,
> java2html resides in /usr/local/httpd/cgi-bin. Then
> ../../Hello.java is the same as /usr/local/Hello.java.
> 
> >>   * What should happen if no arguments were given? Display
> >>     an error page?
> 
> > Surely :-)
> 
> Nextquestion: Internally created or use an external HTML
>                page/template? (which is much handier for
>                configuration)
> 
> >>   * Currently the files given are related to the location
> >>     of java2html in the 'real' filesystem. I don't like to
> >>     give full pathnames only because I like to share one
> >>     java2html between all users of a web host/site.
> 
> > so what solution would you propose?
> 
> Very good question... Currently I have no idea :-(
> 
> > I would like you to send an example html page to use this CGI (or if you
> > put it already online an URL :-)
> 
> Good idea! You will find a tiny 'Hello' collection at
> 
>   http://www.inf.tu-dresden.de/~rw8/java2.html
> 
> Oh, while testing I found another missing feature (or bug...):
> There will be problems giving java2html strings like
> 'title=Happy Java with java2html :-)'
> 
> cheers,
> 
>   Robert.
> 
> _______________________________________________
> Help-java2html mailing list
> Help-java2html@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-java2html

-- 
+-----------------------------------------------------+
|  Lorenzo Bettini          ICQ# lbetto, 16080134     |
|  PhD student in Computer Science                    |
|  Florence - Italy         (Linux User # 158233)     |
|  Home Page        : http://w3.newnet.it/bettini     |
|  Mail             : bettini@dsi.unifi.it            |
|  http://music.dsi.unifi.it         XKlaim language  |
|  http://w3.newnet.it/bettini/purple     Cover Band  |
|  http://www.gnu.org/software/src-highlite           |
|  http://www.gnu.org/software/gengetopt              |
+-----------------------------------------------------+




