we have 7 jsp pages .At last page we have a submit button
when we click it it will store all jsps data which we
provide will store into database. when we starting providing
data in jsp pages when we are at 3rd jsp at that time
sessions timeout where the data will be store which we r
provide in last two jsps?

Answer Posted / mohan

Well it depends on the scope u will specify for the pages
in Struts-cinfig file(I assume its Struts Framework), so
scope is Request, then the data will be thr only for that
request, if the scope is Session, then the data of all the
pages will be stored in Database...

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the custom tags?

528


In struts.xml, what does the attribute "method" stands for in the "action" tag?

521


What is the use of struts?

513


How the exceptions are handled in struts?

527


What is dispatch action class?

605






Explain the difference between dispatchaction and lookupdispatchaction in struts?

2078


Difference between html tags and struts specific html tags

505


What is the difference between Jakarta Struts and Apache Struts? Which one is better to use?

572


What is the design role played by struts?

550


What is the purpose of @conversionerrorfieldvalidator annotation?

615


What are the differences between http direct and http indirect?

465


What validate() and reset() method does ?

539


What is the use of lookupdispatchaction?

557


What is the purpose of '@customvalidator'?

580


Is struts 1 still supported?

508