• Post Reply Bookmark Topic Watch Topic
  • New Topic

Reg : Jsp file

 
ramkumar chennai
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • 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,
 
sudipto shekhar
Ranch Hand
Posts: 826
Chrome Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • 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!!!
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • 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
  • 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,
 
vanlalhmangaiha khiangte
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • 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
Chrome Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • 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 ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!