Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

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("");%>
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).]
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!