• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to pass vector in sendredirect mrthod in jsp

 
raja pulleboina
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to trasfer vector object from one application to other application by using sendredirect method,..please help me on this...thanks in advance

regards
raja
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't. All you can pass is string values in the query string.
 
xsunil kumar
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You cannot. You can pass only String values by appending in URL. otherwise use response.sendRedirect and use session.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
xsunil kumar wrote:... and use session.

The session cannot be used either as it cannot be accessed by the other application.
 
xsunil kumar
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bibeault, i mean to say that response.requestDispatcher.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Same applies. No Java construct is going to be available to the other application.
 
raja pulleboina
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi thanks for the value replies.. but i have one conern .. how to pass a vector object from context to other contest..please help me thanks in advance

regards
raja
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the applications are in the same container, some containers allow cross-context communication. But since you haven't given us any info on that, who can say?
 
swapnl patil
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:If the applications are in the same container, some containers allow cross-context communication. But since you haven't given us any info on that, who can say?


Bear can you please explain this in brief how to do ?
 
raja pulleboina
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
both the contexts are in differenet michanes jvms..
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then it cannot be done.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!