Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 23rd, 2006, 11:42 PM
Registered User
 
Join Date: Apr 2006
Location: Bandung, West Java, Indonesia.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default HTTP POST/GET

Please help im facing difficulties in How to build HTTP request method GET/POST using JSP without using form?sorry if my english is not gud!!

  #2 (permalink)  
Old April 24th, 2006, 09:18 AM
Friend of Wrox
 
Join Date: Oct 2004
Location: delhi, delhi, India.
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default

Hi d_alchemist!!
  You can only create get request without using form.
just create a string like
say value1 and value2 are the fieldvalues

 myurl="http://mylocalhostip/filename.asp?firstname="+value1+"&lastname="+value 2

then
document.location.href=myurl

Offcourse if you found any technique for making method"Post" without the form ,plz let me know

Hope this will help you




Cheers :)

vinod


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question on HTTP Post dgrumbli BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 3 December 20th, 2006 02:03 PM
Http Post issue Phoenixheart C# 0 November 6th, 2006 03:54 AM
HTTP post silver_scar C# 2005 0 July 31st, 2006 09:52 AM
HTTP-POST with C# jcascio ASP.NET 1.0 and 1.1 Professional 3 April 12th, 2004 01:15 PM
HTTP Post .Net sjlsysprg1 Pro VB.NET 2002/2003 5 June 26th, 2003 12:20 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.