aspose file tools*
The moose likes JSP and the fly likes how to show the request and result in same page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "how to show the request and result in same page " Watch "how to show the request and result in same page " New topic
Author

how to show the request and result in same page

yoga babu
Greenhorn

Joined: Jul 18, 2006
Posts: 17
Hai,

i have a jsp1 program with date and time text fields.i am passing this values to next page jsp2program and showing the results ,according to the date time i am fetching the datas from database and showing in jsp as a report.

the jsp2 program having 2 text field date and time having the values of what i am passing from jsp1 program.if i change these text field values i want to show the result according to that in same page.

jsp1 program:

Date : x1 text field
Time : x2 text field
submit


jsp2 program:

Date: x1
Time: x2
send

result


I have to show the result according to x1 date and x2 time.if user changed this value and by clicking send button in jsp2 program ,i have to show the result in the same page according to the changed date and time..

please forwards all your ideas and if any coding available please send me...


thanks a lot

Regards
Babu
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

Originally posted by yoga babu:

i have a jsp1 program with date and time text fields.i am passing this values to next page jsp2program and showing the results ,according to the date time i am fetching the datas from database and showing in jsp as a report.

the jsp2 program having 2 text field date and time having the values of what i am passing from jsp1 program.if i change these text field values i want to show the result according to that in same page.



Hi Babu,

There is some confusion in your criteria but what I have understand is �you want to forward your text fields value from 1st jsp page to 2nd jsp and then based of these values you fetching some records from the database and display all fetched data on 2nd jsp page� is this correct or I missed something ?
[ December 10, 2006: Message edited by: Saif uddin ]

Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
yoga babu
Greenhorn

Joined: Jul 18, 2006
Posts: 17
Hai,

i want to display the text field with values(what i m entering in to that) and corresponding report (vales from database) in the same page.

Date :
Time:

Submit

By cliking the submit button in want the corresponding result in same page.
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

Hi babu,

Please see this Thread to see the solution regarding your above query..
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to show the request and result in same page