Author |
Message
|
binitkgupta |
Posted: Wed Nov 02, 2011 11:09 pm Post subject: Putting message using amqsput.exe via HTML |
|
|
 Newbie
Joined: 28 May 2008 Posts: 9
|
Hi,
In html program like rfh util we need to browse for a file and then have a button. when u click that button it should execute amqsput.exe and put the msg to queue.
Can anyone help me with the line of codes
Thanks
Binit |
|
Back to top |
|
 |
zpat |
Posted: Thu Nov 03, 2011 12:10 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Quote: |
In html program like rfh |
I have problem with the English, let alone the code - what does this mean?
Are you talking about using CGI?
What is the actual requirement here? A browser based interface to put messages? Why does it have to be a browser? |
|
Back to top |
|
 |
binitkgupta |
Posted: Thu Nov 03, 2011 12:52 am Post subject: |
|
|
 Newbie
Joined: 28 May 2008 Posts: 9
|
I want to invoke amqsput.exe program and using that I want to put the message. This is to be done in HTML.
Normally in RFHutil we browse the message and then post it to a queue. The same thing I want to implement in HTML. |
|
Back to top |
|
 |
zpat |
Posted: Thu Nov 03, 2011 1:01 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Where is the http server located? On what platform?
Why does it have to be a browser? How will you handle security?
Where do you expect the exe to run, on your desktop, on the http server? |
|
Back to top |
|
 |
binitkgupta |
Posted: Thu Nov 03, 2011 1:19 am Post subject: |
|
|
 Newbie
Joined: 28 May 2008 Posts: 9
|
HI,
I want to run the html program in my local machine, windows |
|
Back to top |
|
 |
zpat |
Posted: Thu Nov 03, 2011 1:24 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
html is not a program.
The usual aim of a browser design - is not to invoke local programs, but to have a thin client to executables that run elsewhere.
Java script, Java Applets and ActiveX of course break this model.
You could look at support pac MA0J.
Other way would be to use MO71 and apply the optional authority restrictions to remove the unwanted menu options.
Of course, if you are relying on hard-coding the queue name, as a form of security - this is not a good idea. Implement proper OAM security. |
|
Back to top |
|
 |
|