hi mukul -
this list is not actively monitored by sun. put another
way, if you post a message to the list from an address
which is subsribed to the list then your message will
get posted to the list. we require posters to be registered
to minimize the "spam" type messages.
regarding content for this list, in general, anything
which pertains to the combination of the above is fair
game in my book:
servlet
http
cgi
design discussions (eg connecting to a db)
session management
servlet engines (and specification compliance)
html
jsp (core jsp questions should go to
[EMAIL PROTECTED])
form processing
javaScript and/or servlets
the boundaries are by definition broad and can finger into
many disciplines at which point the discussion should possibly
not continue on this list. we look to the members to help
monitor the "signal to noise" ratio here.
as to why you didn't see your email posting, there could
be a number of reasons:
you posted from an address not registerd
on the list. it is quite common for any one
person to have 3 or more addresses.
your registration is configured such that you
will not receive copies of your posts. you
can administer your account at:
http://archives.java.sun.com/archives/servlet-interest.html
the list server could be a bit sluggish.
hope this helps,
- james
Mukul Gandhi wrote:
>
> Hi,
> I feel some of my mails are getting filtered from this list. May be after
> some discussion on this list regarding not answering questions which are
> "off topic". Recently I answered question regarding thin & thik drivers
> which was not related to servlets. I think we should respect the charter of
> the list if we are its member. I apologize to list members & sun
> microsystems for my mistake, and ask the list administrators to allow my
> questions & answers to come to this list. I promise that from now onwards,
> they will be related only to servlets.
>
> -mukul
>
> Although Steven gave good suggestions to solve this problem, but I think
> what Xizhen
> wants is "when the browser closes, then only servlet is allowed to be run
> by another user". If I use synchronized to lock some code or use single
> threaded model where service method of the servlet cannot be executed
> simultaneously by more than 1 thread, *then* issue of removing contention
> is controlled by the servlet code *and* not by the browser.
>
> And servlet has no idea by default when the browser closes. I think, one
> can force the servlet not to accept simultaneous connections(and I mean
> when the browser closes) is to utilize cookies(i.e some form of session
> tracking).
> On *onUnload* event of the html page, we can force the servlet to be
> called(and send some cookie to inform the servlet of this event). After
> this, servlet can free some lock(eg semaphore) to give code access to
> another user.
>
> -mukul
>
> At 06:59 PM 7/20/99 -0400, you wrote:
> >You can have a boolean(or int, if you want a counting
> >semaphore) that is set when the servlet is in use..
> >
> >Tim
> >
> >--- Xizhen Wang <[EMAIL PROTECTED]> wrote:
> >> Hi all!
> >>
> >> Is it possible to disallow multiple users logging in
> >> and running Java
> >> Servlets at the same time? I want to disallow access
> >> to my Java Servlets
> >> if another user has already logged on. Can I use
> >> session tracking to
> >> prevent this from happening - ie force other users
> >> to wait and log in
> >> again once the first user has logged out/closed his
> >> browser?
> >>
> >> Thanks!
> >> Xizhen
>
> ___________________________________________________________________________
> 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
___________________________________________________________________________
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