• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

request dispatching

 
mahesh narayan
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have a scenario where i need to get some data from pure old java object and forward the data to a php as a request.It would be helpful if someone could put some light on how to do this.

i tried using request.requestDispatcher(), but couldnt succeed.
I am running the php file on IBM http server and the servlet is in websphere app server.

any help on this would be appreciable

rgds
Mahesh
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use sendRedirect(), add your data in the url as parameters.
 
mahesh narayan
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Adeel.

The amount of data that i need to forward to the php file is huge. Thus adding it in URL would create problems as GET allows only limited amount of data to be transfered. So how do i go about that.

rgds
mahesh
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This thread might help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic