Results 1 to 9 of 9
- 04-18-2009, 06:39 AM #1
Member
- Join Date
- Apr 2009
- Posts
- 5
- Rep Power
- 0
- 04-18-2009, 06:47 AM #2
The SAX or DOM APIs in javax.xml, org.xml.sax and org.w3c.dom
Don't forget to mark threads as [SOLVED] and give reps to helpful posts.
How To Ask Questions The Smart Way
- 04-18-2009, 07:03 AM #3
Member
- Join Date
- Apr 2009
- Posts
- 5
- Rep Power
- 0
Hmmm, everything I find on it is related to javascript. Do these apply for a java application as well?
- 04-18-2009, 07:16 AM #4
Member
- Join Date
- Apr 2009
- Posts
- 5
- Rep Power
- 0
Okay, I found this in the DocumentBuilderFactory API:
Would a new object have to be created for each value of the form in javascript? How does it know to point to my java class file?Java Code:public abstract Object getAttribute(String name) throws IllegalArgumentException{}
- 04-18-2009, 07:37 AM #5
Sorry, I assumed you meant that you were sending the form data to a remote server, which you were writing in Java. I've never used JSP myself.
Don't forget to mark threads as [SOLVED] and give reps to helpful posts.
How To Ask Questions The Smart Way
- 04-18-2009, 09:13 AM #6
Member
- Join Date
- Apr 2009
- Posts
- 5
- Rep Power
- 0
That is exactly what I am trying to accomplish in java. I need to send form data to a remote server in a SOAP envelope. I have the soap envelope all setup but I need to figure out how to get the form values from the HTML into my java.
- 04-18-2009, 04:31 PM #7
You want some javascript that is called when you submit the form. You get the values in the form with stuff like Document.getElementByID("name").getValue(), which you then pass to whatever sends the SOAP message.
Don't forget to mark threads as [SOLVED] and give reps to helpful posts.
How To Ask Questions The Smart Way
- 04-18-2009, 07:19 PM #8
Member
- Join Date
- Apr 2009
- Posts
- 5
- Rep Power
- 0
Great, and how do the values get passed from those javascript calls to my java code that sends the SOAP message? Thank you so much for the help BTW!
- 04-18-2009, 08:18 PM #9
I'm afraid I don't know, never having used Java servlets.
Don't forget to mark threads as [SOLVED] and give reps to helpful posts.
How To Ask Questions The Smart Way
Similar Threads
-
how to capture jsf form data
By Srikala in forum JavaServer Faces (JSF)Replies: 2Last Post: 07-16-2009, 09:06 AM -
how can i insert data form GUI to ...
By the swan in forum AWT / SwingReplies: 3Last Post: 04-14-2009, 06:14 PM -
enctype=multipart/form-data with form data in struts
By vk_satheesh in forum New To JavaReplies: 0Last Post: 09-19-2008, 12:48 PM -
Inserting data to database from the form
By Ms.Ranjan in forum JavaServer Pages (JSP) and JSTLReplies: 2Last Post: 06-17-2008, 01:06 AM -
how to upload a file along with html form data
By pranith in forum Java ServletReplies: 3Last Post: 07-30-2007, 02:33 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks