Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
vivek sivakumar
Ranch Hand
Posts: 187
  • 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("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).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic