• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

how to show the request and result in same page

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi babu,

Please see this Thread to see the solution regarding your above query..
 
yeah, but ... what would PIE do? Especially concerning this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic