| Author |
Message |
|
|
Post subject: MyBlog Struts/Hibernate CRUD Example Project
Posted: Mar 20, 2008 - 07:32 PM
|
|
Joined: Mar 20, 2008
Posts: 4
|
|
|
|
|
 |
|
|
Post subject: RE: MyBlog Struts/Hibernate CRUD Example Project
Posted: Mar 20, 2008 - 09:19 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5662
|
|
| Are you manually modifying the URL ? Can you help me reproduce this condition at my end where the old values are returned. What steps should I follow when I run the example ? |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Mar 20, 2008 - 10:38 PM
|
|
Joined: Mar 20, 2008
Posts: 4
|
|
| take a look at this video demo |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Mar 21, 2008 - 04:48 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5662
|
|
| The file that you have uploaded seems to be corrupted. I got a message saying the file is damaged. You will have to upload it again. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Mar 21, 2008 - 10:29 PM
|
|
Joined: Mar 20, 2008
Posts: 4
|
|
please try to download the clip from here http://www.giulioscuro.net/demo.avi
i really don't understand why sometimes the action getPosts return a list of objects
that don't match the records in the db. For example i add a post then i modify its title, then i open another browser window and point to
localhost:8080/MyBlogStrutsHibernateExample , i follow the link 'click here' in the index page
and i see the unmodified version of the post in the table.
that's what happens sometimes not always. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Mar 25, 2008 - 07:28 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5662
|
|
| Can you try working with the internal web browser. Does it work without issues ? |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Mar 25, 2008 - 09:45 PM
|
|
Joined: Mar 20, 2008
Posts: 4
|
|
| same issues in internal browser, mozilla and ie. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Mar 27, 2008 - 10:43 AM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5662
|
|
If your not using transactions to commit those results to the DB, what's happening is that they are staying cached in the session (which will *eventually* flush the change, but not immediately) and when you try with another browser window, it's re pulling from the DB and getting the old values.
You will have to use transaction management. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|