aspose file tools*
The moose likes Servlets and the fly likes How to do this ?? anyone has a sample code? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to do this ?? anyone has a sample code?" Watch "How to do this ?? anyone has a sample code?" New topic
Author

How to do this ?? anyone has a sample code?

vivek sivakumar
Ranch Hand

Joined: Aug 09, 2001
Posts: 187
My problem: i need to get the client's "user name" by using javascript , is it possible???
The problem is in my jsp page if i say<%=System.getProperty("user.name");%>
it gives me the root user name, but what i need is the username of the client (if a person opens my jsp page then automatically his user name(same as that which he used to logon to SYSTEM )should popup in other words i just need a javascript function which does this???!!! if anyone knows this then please tell me ! any alternative ideas(some tricks within jsp or servlets) is also welcome!
[This message has been edited by vivek sivakumar (edited August 22, 2001).]


SCJP, SCWD <br />A farmer learns more from a bad harvest than a good one.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to do this ?? anyone has a sample code?