stinaq
stinaq

Reputation: 1284

Forms in jsp, what to use instead of hidden field

I'm very new to jsp and is unfortunately working with Websphere 5. I'm now trying to make a simple web page that can show information from the enterprise beans and got instructed to send information from the jsp-page to the servlet via a hidden field in the form. This seems like a sort of out dated way to do things. Are there better ways?

As I said, I'm new to the jsp-part, but do know Java and html, but no JavaScript.

Grateful for help!

Upvotes: 0

Views: 1497

Answers (1)

Kent
Kent

Reputation: 195159

so you want

  • store some data used by jsp and servlet
  • want it to be hidden to user
  • No html hidden form element.
  • No javascript

how about maintain the data in session object?

Upvotes: 3

Related Questions