Solved

How to get my JSP propety values in Java class

Posted on 2010-08-26
6
468 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
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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
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…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

809 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