Solved

How to get my JSP propety values in Java class

Posted on 2010-08-26
6
464 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

744 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now