This week's giveaway is in the Java/Jakarta EE forum.
We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line!
See welcome thread
Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How I can send an information for session of another application ?  RSS feed

Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am with a great problem and wanted to know if a solution for this exists.
I have a simple application (MyApp1), that servlet is one that the user registers types it. When clicar in button OK, I receive the value typed for it, and sending this information for servlet of one another application " MyApp2".
After the sending, I make one " sendRedirect" that it will open the application (MyApp2). In the other application (MyApp2), I included a button that will have to recoup the information that was sent by the other application (MyApp1).
When I carried through a test, this functioned perfectly. But one exists however.
When I tried to recoup the information that was sent for MyApp2, the execution stopped in breakpoint. After this, April one other browser, I placed one registers different and I made told process the same previously.
When the execution stopped again in breakpoint, started to debugar to guarantee that it registers would bring it different.
In case of as to browser, everything functioned perfectly, but when I gave continuity in the process that I executed first, it brought the same one registers typed as browser. I carried through these tests because I identified that a risk exists from that the user can registers receive it of one another one.
I do not obtain to deal with this process competing form.
It will be that some form exists to decide this?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!