Hi Mauricio,

No, you don't have to use JavaBeans to use the implicit session object.
As long as you have session enabled for your webapp, you will get a session
object.

As for your second question, you really should think what will happen when
more than 2 request arrive at the same time.

Regards,

Raymond pau



                                                                                       
                            
                    Mauricio Tia                                                       
                            
                    Ni Gong Lin          To:     [EMAIL PROTECTED]        
                            
                    <[EMAIL PROTECTED]>         cc:     (bcc: Raymond Pau/adc)                
                            
                    Sent by:             Subject:     JSP Session                      
                            
                    [EMAIL PROTECTED]                                                     
                            
                    r                                                                  
                            
                                                                                       
                            
                                                                                       
                            
                    05/24/2002                                                         
                            
                    09:11 PM                                                           
                            
                    Please respond                                                     
                            
                    to "Tomcat                                                         
                            
                    Users List"                                                        
                            
                                                                                       
                            
                                                                                       
                            




Hi,

Does it must use JavaBeans in order to use session among several jsp
files? Is there any simpler solution?

I want to maintain a persistent database connection in all jsp files.
For example:

"Create a database object in first jsp file and retrieve it in other jsp
files"

Regards,

Mauricio Lin

--
To unsubscribe, e-mail:   <
mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to