Solved

Submit HTTP post via Java

Posted on 2009-07-15
5
465 Views
Last Modified: 2012-05-07
Is there a simple Javascript to submit a HTTP post? I wish to run an ASP program that submits something like HTTP://www.ourwebsite.com?id=999&user="fred" with a user having to click on a link or button
0
Comment
Question by:cdjohn31
  • 2
5 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 250 total points
ID: 24857907
You would probably be better off using Ajax

http://www.openjs.com/articles/ajax_xmlhttp_using_post.php
0
 
LVL 92

Assisted Solution

by:objects
objects earned 250 total points
ID: 24857972
0
 
LVL 6

Expert Comment

by:jwenting
ID: 24858144
Javascript isn't Java. I've asked your post be moved to a more appropriate area.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 25624795
:-)
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question