I have an application which receive an object with data as parameter in a bean then I read that data
using set and get from my *.jsp. Till this point all is working but in my jsp I link with a different website(in another server) and when from the other app I come back(automatically the other app redirect me back to my app), all the data from the object which I retrieved before as parameter is not displayed in the screen as before.
Could somebody tell me what way could I make that the infomation appears in my web after comes back
If you redirect directly from 2nd servlet to previous jsp. . Then off-course your jsp is unable to fetch data from servlet 1 .. And it is also unable to fetch data from servlet 2 because parameters are not matching. . .
if its really require for you to keep the data then you need to store the data before switching to other sites and when the site redirects user to your side you can display the data sotred.(You can add data in session) else you can Ask the third party to redirect it to the servlet which transfers you to the jsp with data.