Writing data to the Web server


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Writing data to the Web server

  1. #1
    Join Date
    Dec 2005
    Posts
    2

    Writing data to the Web server

    I have problems with saving data on the Apache Web Server. I wanted to write an applet that opens and edits data and by closing an applet window the data must be saved. Of cource, by users the standard File class and writing threads, an applet tries to write it locally (not necessary). Then I tired to use URLConnection to the php script by sending data to it(because it is a web application partly written on php with an apache).
    1. My question is is it a correct solution?
    2. How php can read data from java applet(php code)?
    3. Are there properties for java URLConnection that are necessary to send the data to php script?

  2. #2
    Join Date
    Oct 2005
    Location
    New Jersey
    Posts
    255
    Uisng URLConnection sounds correct to me. It does not matter if there is a Java servlet or PHP code to process the request. It only requires a standard HTTP request. You can send the data through parameters, like
    http://www.myapp.com/testing?param1=Hello&param2=World
    Happiness is good health and a bad memory.

  3. #3
    Join Date
    Dec 2005
    Posts
    2
    But I am going to save to a file the image data... How can I send it for a php code?

Similar Threads

  1. Can a Delegate be passed to a Web Service?
    By Steve Hiner in forum .NET
    Replies: 7
    Last Post: 04-22-2002, 09:19 PM
  2. ANN: ActiveX Web Server
    By WebX Server in forum web.announcements
    Replies: 0
    Last Post: 09-27-2001, 06:00 AM
  3. Reading Data from a Web page
    By Jawahar Rajan in forum Web
    Replies: 1
    Last Post: 06-20-2001, 10:04 AM
  4. How to up load Sql server data base on web
    By Gourav Sharma in forum Database
    Replies: 8
    Last Post: 06-19-2000, 01:52 PM
  5. Best way to cache data on web server??
    By Joshua Anderson in forum Web
    Replies: 1
    Last Post: 05-16-2000, 12:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center