that's great idear, Denis!

S.


>From: Vitaly Lipovetsky <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>        Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Return FORMS from... files ?
>Date: Tue, 18 Jan 2000 10:24:44 +0200
>
>Denis Bucher wrote:
>
> >  Hello !
> >
> > > > The simplest and most employed  is just to have value substitution
>by your
> > > > own servlet (or CGI ) code. You prepare your static HTML file with
>some
> > > > special tag for substitution
> > > > <Input type=text Name="NAME_1" VALUE=<%%VALUE_1%%> >
> >
> > A general question : What is the best solution to have forms and result
> > HTML-only files managed by servlets ?
> >
> > My idea : adding some variables like said earlier, and those would be
> > replaced by data coming from the database...
>
>I built some classes to do that. I can replace values from a program and
>from a
>ResulSet too.
>My html templates look like this.
>
><!-- <SERVLET TEMPLATE SECTION> -->
>   <p>Available balance: @AMOUNT</p>
><!-- </SERVLET TEMPLATE SECTION> -->
>
>If It is interestingly I can publish my sources free on our web site.
>
> >
> >
> > BUT, what is the best solution, and which variables to put in the static
> > file ?
> >
> > Well, if some people have some experience with it, hints, tips, I would
> > be really interested and thankful...
> >
> > Thanks a lot :-)
> >
> > Denis Bucher
> >
> > --
> >
> > Denis Bucher,   /  [EMAIL PROTECTED]       T�l. +41-22-8000625   \  Internet
> > Horus Networks /  horus-networks.com    Fax: +41-22-8000622   \
>Services
> >               /  http://www.horus.ch   US Fax: (508) 437-1261  \
>Provider
> >
> >
>___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
>body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>--
>My best regards,
>Vitaly Lipovetsky.
>Deputy head of IT division
>First Ukrainian Intl bank
>
>Brainbench(Tekmetrix) e-certification id 14050 SYBASE DBA 4.38
>Brainbench(Tekmetrix) e-certification id 14050 MS SQL Server DBA 4.51
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to