Hi Jeff,
Craig is probably a better person to answer this, but in case it doesn't attract
his attention (the volume on this list has drastically increased of late), the way
I think it works is like this:
JSP is of course server-side only, and is compiled into a servlet and thus is bound
by all the rules that govern servlets. JSP, once executed, generates plain old
HTML. Absent some javascript, you can't do anything more on the client side than
you can with HTML. Even if you could execute a System.getProperty() [and maybe you
can from a Servlet?], you'll be returning the values of the server machine, not the
client.
I'm no javascript guru, but perhaps there is a way in javascript to attempt what
you're trying to do. I still don't think so - if applets aren't allowed access to
client-side system values, I doubt that javascripts are.
Of course that's just my opinion; I could be wrong...
-bml
"Bailey, Jeff A" wrote:
> Quick question
>
> Has anyone implemented a method to access the username of the person logged
> into an NT system through a JSP in any way? Specifically the username of
> the person accessing the jsp through a browser.
>
> Sort of like using System.getProperty("user") from a JSP (sorta)
>
> I remember reading about some attempts to do this but dont remember the
> details and it is something that would greatly aid some tasks I am working
> on. Any third party utilities? etc?
>
> Any ideas are greatly appreciated.
>
> Thanks,
>
> J
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
--
_________________________________________________________________________
Brian M. Long RandomWalk Computing, Inc. [EMAIL PROTECTED]
'Apollo was astonished / Dionysus thought me mad' -Hemispheres, 14:52
__________________________________________________________________________
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html