dcsimg
In need of example code for posting to an HTML form.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Jason_Scanzoni
Posted On:   Thursday, March 11, 2004 04:37 PM

Dang... my need for help finally over-powered my ego. Ok, I am working on a WYSIWYG html Applet that I can implement into my PHP CMS. I decided I would start out by just creating a simple Java console program that would connect to my PHP page and post a string I send to the program. I looked around Google, some Java sites, and these forums to look for some example code to post a string to a web form. I did not find anything! Right now, I haven't even been able to start my program because I cannot even get this part working. What I need is some example code that will access a web form and post to it in the background, then tell the user that it was successful (possibly something the PHP page would return after submitting). I wi   More>>

Dang... my need for help finally over-powered my ego.

Ok, I am working on a WYSIWYG html Applet that I can implement into my PHP CMS.

I decided I would start out by just creating a simple Java console program that would connect to my PHP page and post a string I send to the program. I looked around Google, some Java sites, and these forums to look for some example code to post a string to a web form. I did not find anything! Right now, I haven't even been able to start my program because I cannot even get this part working.

What I need is some example code that will access a web form and post to it in the background, then tell the user that it was successful (possibly something the PHP page would return after submitting). I will be able to implement the JavaBeans (I guess that is what does all of the forms and GUI ) to an Applet. If possible, could the code be super-commented so I can understand exactly what does what?

Also, does anyone know of any FREE open-source java WYSIWYG Applets that I can use as an example when I get to the designing and functionality?

Another question is if anyone knows how I would go about displaying the formatted text in an applet? Do I use JavaBeans?

Thank you,
- Jason

P.S........
I wish that Sun's Java Documentation was as nice as PHP's where they have the sample code, and then they have the comments at the bottom where users can also post sample code.

   <<Less

Re: In need of example code for posting to an HTML form.

Posted By:   Jason_Scanzoni  
Posted On:   Thursday, March 11, 2004 04:40 PM

sorry, didn't format that.



Dang... my need for help finally over-powered my ego.



Ok, I am working on a WYSIWYG html Applet that I can implement into my PHP CMS.



I decided I would start out by just creating a simple Java console program that would connect to my PHP page and post a string I send to the program. I looked around Google, some Java sites, and these forums to look for some example code to post a string to a web form. I did not find anything! Right now, I haven't even been able to start my program because I cannot even get this part working.



What I need is some example code that will access a web form and post to it in the background, then tell the user that it was successful (possibly something the PHP page would return after submitting). I will be able to implement the JavaBeans (I guess that is what does all of the forms and GUI ) to an Applet. If possible, could the code be super-commented so I can understand exactly what does what?



Also, does anyone know of any FREE open-source java WYSIWYG Applets that I can use as an example when I get to the designing and functionality?



Another question is if anyone knows how I would go about displaying the formatted text in an applet? Do I use JavaBeans?



Thank you,

- Jason



P.S........
I wish that Sun's Java Documentation was as nice as PHP's where they have the sample code, and then they have the comments at the bottom where users can also post sample code.

About | Sitemap | Contact