How do u pass data from one jsp to another jsp?

Answers were Sorted based on User's Feedback



How do u pass data from one jsp to another jsp?..

Answer / shaik syed basha

You can pass parameter names and values to the target file
by using a <jsp:param> clause. An example of this would be
passing the parameter name username (with name="username")
and the value scott (with value="scott") to a servlet login
file as part of the request. If you use <jsp:param>, the
target file should be a dynamic file that can handle the
parameters.

Is This Answer Correct ?    19 Yes 3 No

How do u pass data from one jsp to another jsp?..

Answer / soumyojit chakraborty

This can be done by using an implicit object in jsp, called
session. Sessions are set using Session.setAttribute() and
retrieved in another jsp using Session.getAttribute().

Is This Answer Correct ?    13 Yes 0 No

How do u pass data from one jsp to another jsp?..

Answer / sreedhar

In that jsp we can pass the values one page two another
page four ways:

1)Hidden form fields
2)session
3)query String
4)request Object

Is This Answer Correct ?    10 Yes 1 No

Post New Answer

More Core Java Interview Questions

Can we catch more than one exception in single catch block?

0 Answers  


What is meant by call by reference?

0 Answers  


What is an object's lock and which object's have locks in java programming?

0 Answers  


In how many ways we can the thread? in java

3 Answers  


What is OOPs & Why?

3 Answers  






Why does it take so much time to access an applet having swing components the first time?

0 Answers  


What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?

0 Answers  


I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in

0 Answers  


Difference between comparator and comparable in java?

0 Answers  


what should do when using multiple catch() block & what should never do for the same?

1 Answers  


Which package is imported by default?

0 Answers  


Difference between static synchronization vs. Instance synchronization?

0 Answers  


Categories