• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to invalidate session using JSTL  RSS feed

 
Azz Romaysa
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I know how to do that in JSP <% session.invalidate(); %>, but I want to do it using JSTL. Does someone know how to do that?

Abu Romaysa
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66152
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't. Performing processing, rather than renderring a view, is not the focus of the JSTL.
 
Azz Romaysa
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oke thanks. I've another qtion if it's possible: is there a methode in java which cheks a string.

For example:
String a = "I don't know how";
And I wanna know if this Srting a contains "how"
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66152
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look here.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!