Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

handling duplicate logins  RSS feed

 
shashiD kanth
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here I have two questions

1. I have a situation where in one user is logged in at one place, again if another person tries to login with same user and password, if username/password are correct, first user's session has to be deleted.

2. I want show errors in red, warnings in orange and other information in green in struts framework. How to acheive this?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This question gets asked a lot here.

In short, it can't be done reliably.
To find out more, search this and the JSP forums.
 
shashiD kanth
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please give answer anyhow
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66255
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by shashiD kanth:
please give answer anyhow


How rude. Ben has pointed out that this topic has been covered many times in these forums. Yet you expect someone to take the time to repeat what has already been posted in order to save you time searching for the existing disucssions? Please explain why your time is more valuable than anyone else's.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!