Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to show the request and result in same page

 
yoga babu
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
yoga babu
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi babu,

Please see this Thread to see the solution regarding your above query..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic