Make your servlets dynamically build their own (html)<param>s based on what
your user has already done... Like setting and reading cookies. Based on
what the user needs, you can often bypass DB lookup methods. 

-r

************************************************************************
Randy Melder
602.952.6651
[EMAIL PROTECTED]
http://www.microtest.com/
************************************************************************


-----Original Message-----
From: Omar Eljumaily [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 31, 1999 10:00 AM
To: [EMAIL PROTECTED]
Subject: Using JServSSI


Hi,
    I've installed JServ SSI and it works well,
although I'm not sure about the optimum way
of using it.  My problem is that the way I
see it, all tag reqests get routed through the
service method of my servlet.  Is there any
simple way of maintaining state for a particular
session/page?
    My strategy for the following would
be to use the init parameter to initialize a page specific
object keyed from cid and then store it in my session
information.  This way, I don't do multiple database
lookups for a single record.
    If I use this approach, I'd have to have
a page specific object stored in my session for every
page.  Is there an eisier/better way of doing this?  Seems
like there should be.  Does anybody have any pointers
to examples?

<body>
<Servlet code="shop.Invoice"><param name="what" value =
"init-cid"></Servlet>
<br>Bill To:
<br>Name:&nbsp;&nbsp;&nbsp;&nbsp;<Servlet code="shop.Invoice"><param
name="what" value="name"></Servlet>
<br>Address:&nbsp;&nbsp;&nbsp;&nbsp;<Servlet code="shop.Invoice"><param
name="what" value="address"></Servlet>
<br>&nbsp;
</body>

Thanks,

Omar


--
Omar Eljumaily
Omnicode
707 573-1814




------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:       [EMAIL PROTECTED]


------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:       [EMAIL PROTECTED]

Reply via email to