• Post Reply Bookmark Topic Watch Topic
  • New Topic

Passing variables  RSS feed

 
andrew simac
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to pass variables between 2 JSP pages?
 
Rahul Juneja
Ranch Hand
Posts: 425
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The option you can go forward in this is you can define the variable in applicaton Scope.

Cheers,
Rahul
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by andrew simac:
Is there a way to pass variables between 2 JSP pages?


There are many ways to pass variables between two jsp pages.
Describe what you are trying to do.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
define the variable in applicaton Scope


Not a good idea since this will cause threading issues.

But as Ben pointed out, until we know exactly what you are trying to do, we can't recommend any partcular mechansim.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!