Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 475
  • Last Modified:

How to get my JSP propety values in Java class

HI,

How to get my JSP propety values in Java class, Property are textbox and drop down menu.

I dont want to pass in query string bcz i want to get mre than 10 filed.

i am using struts framwork.

0
Sathish David  Kumar N
Asked:
Sathish David  Kumar N
3 Solutions
 
objectsCommented:
> How to get my JSP propety values in Java class, Property are textbox and drop down menu.

They must be passed as part of the request

> I dont want to pass in query string bcz i want to get mre than 10 filed.

they need to be passed inthe query string
if it will be long then just use POST method
0
 
Murali MurugesanFull stack Java developerCommented:
if you use struts don't you get the values in the ActionForm?.
0
 
Gurvinder Pal SinghCommented:
if you submit the form, then you don't need to use query string. If ActionForm field names matches with the input attribute names in form, values will come in ActionForm object

0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Gurvinder Pal SinghCommented:
0
 
Sathish David Kumar NAuthor Commented:
need to mention ...
action=# and method post  in form in jsp (if java script submit)
 
0
 
Sathish David Kumar NAuthor Commented:
Not get full solution ...
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now