Can I pass data into a HashMap<String,Object> from JSP to a JavaBean?

Posted by Parris on Stack Overflow See other posts from Stack Overflow or by Parris
Published on 2010-04-08T01:25:39Z Indexed on 2010/04/08 1:33 UTC
Read the original article Hit count: 445

Filed under:
|
|
|
|

Hi Everyone, I am just starting out with JSP, Java, etc web development... I would love to use some sort of framework, but for this project I can't do that. In any case I want to potentially pass essentially limitless data (for flexibility) to my javabeans. My idea was if I can have key value pairs that would really easy. The values will always be strings or integers. HashMap seems ideal in this case. Is this possible? Any ideas? Can I do this with JSP Bean tags or should I write scriptlets?

Thanks!!!

© Stack Overflow or respective owner

Related posts about java

Related posts about javabeans