Solved

How to get my JSP propety values in Java class

Posted on 2010-08-26
6
466 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
difference of if loops 23 49
reverse digits of a number using for loop 5 40
What's wrong with this code? 4 22
going to wrong jsp page 2 19
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 …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn how to implement Singleton Design Pattern in Java.

786 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