Solved

How to get my JSP propety values in Java class

Posted on 2010-08-26
6
471 Views
Last Modified: 2013-11-24
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
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 92

Accepted Solution

by:
objects earned 300 total points
ID: 33537246
> 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
 
LVL 13

Expert Comment

by:Murali Murugesan
ID: 33538309
if you use struts don't you get the values in the ActionForm?.
0
 
LVL 40

Assisted Solution

by:gurvinder372
gurvinder372 earned 200 total points
ID: 33538929
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
Technology Partners: 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!

 
LVL 40

Assisted Solution

by:gurvinder372
gurvinder372 earned 200 total points
ID: 33538935
0
 
LVL 20

Author Comment

by:Sathish David Kumar N
ID: 33568893
need to mention ...
action=# and method post  in form in jsp (if java script submit)
 
0
 
LVL 20

Author Closing Comment

by:Sathish David Kumar N
ID: 33569012
Not get full solution ...
0

Featured Post

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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question