ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to pass request parametrs to Servlet

Post new topic  Reply to topic
 How to pass request parametrs to Servlet « View previous topic :: View next topic » 
Author Message
PankajS
PostPosted: Fri Jun 05, 2009 1:46 am    Post subject: How to pass request parametrs to Servlet Reply with quote

Voyager

Joined: 27 Dec 2004
Posts: 82

Hi guys,
I need send file in binary format and request parameters to a servlet.
I have gone through some information in the forum where multipart message is discussed.

Still,I am not getting idea how request parameters can be send to servlet from ESQL code. (so that server side code can access that by .getParameter())

I do NOT want to pass the paramters as the part of request URL

Any suggestion ?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jun 05, 2009 3:35 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

So in order to "pass them to a servlet" you appear to be "sending them over HTTP".

In that case, you must construct the HTTP request you are making so that it includes the binary data and the request parameters.

Read up on the HTTPRequest node and the various messages trees that it takes.

And understand that Broker allows you to construct an (almost) arbitrary HTTP document, if you understand how to write the necessary code to do so.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to pass request parametrs to Servlet
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.