This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

vivek sivakumar
Ranch Hand
Posts: 187
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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("");%>
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).]
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic