• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Reg : Jsp file

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai All,

I have three JSP files. From the first jsp file all data has transferred to third JSP file via second JSP. Can you please specify which is the best way to solve?

Thanks,
 
Ranch Hand
Posts: 826
Eclipse IDE Oracle Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please can you be more specific with your question?
What is the data?
Which data you want to transfer?
Is it a bean attribute or a request scoped attribute?
Provide the details so that we can help you!!!
 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"ramkumar chennai" please see your private messages for an important administrative matter.
 
ramkumar chennai
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai,
Question:
In my first jsp have controls like textbox, textarea. After entered the values click submit button. It will goes to second jsp file. From second jsp file it will goes to third jsp file. In third jsp file reads all values, which entered in first jsp file. What is the best way to achieve.

Regards,
 
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


In my first jsp have controls like textbox, textarea. After entered the values click submit button. It will goes to second jsp file. From second jsp file it will goes to third jsp file. In third jsp file reads all values, which entered in first jsp file. What is the best way to achieve.



The second jsp does not do anything ? Or is something done by the second jsp .. If not .. send it directly to third jsp ...
 
ramkumar chennai
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is question was asked in interview.

Question

Which is the best way to read values in thrid jsp file from first jsp file.
But the first jsp file is not directly go to thrid jsp file.It will go via second jsp file.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Either you're mis-quoting the question from your interview or it's a poorly worded question. If I were asked this in an interview, I would push the interviewer to clarify the question; first to make sure that the interviewer knew what he/she was talking about and then to show that I could dig when necessary to make sure the question is clear cut before trying to answer it.
 
sudipto shekhar
Ranch Hand
Posts: 826
Eclipse IDE Oracle Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Use of beans, according to me, is the best way to do what you are saying.
Or set the values as attributes in the request or session or page or application scope.

Correct me if i am wrong.
[ November 21, 2008: Message edited by: Sudipto Shekhar ]
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please use real words when posting to the forums. Abbreviations such as "Reg" in place of whatever it's supposed to mean (I have no idea) only serve to make your posts more difficult to read and less likely to generate useful responses.

Please read this for more information.

thanks,
bear
JavaRanch sheriff
 
We don't have time to be charming! Quick, read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic