Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Pros and Cons of HiddenFields?  RSS feed

 
Mike Jeya
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai All,

I need one clarification,

There are so many ways are there to pass values from one Jsp to another.

what is advantage of hidden fields as well as disadvantages ?

Can anybody explain this,

Thanks in advance
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
advantage: easy to code, works also if there's no session mechanism in place
disadvantage: more network traffic, potential security problems.
 
Mike Jeya
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Jeroen

I need some more details
 
Mike Jeya
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I know about what kind of security problem might arise?

Can u explain abt secuity problems?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65825
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"J Mlke",

We're pleased to have you here with us in the JSP forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like homework....lol...

Security: You can get someone like me that can change the value of every hidden element on a Web page with on click in my favorites folder.

Eric
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!