Importing and exporting data between java program and a website


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 6 of 6

Thread: Importing and exporting data between java program and a website

  1. #1
    Join Date
    Oct 2005
    Posts
    7

    Importing and exporting data between java program and a website

    Is it possible to do this? I have a website that just contains a string which I want to assign to a StringBuffer, I will then process this and then export it to a seperate site. What commands do I need to perform this exchange?

  2. #2
    Join Date
    Nov 2004
    Location
    Norway
    Posts
    1,560
    There is no (decent) way to export anything onto another site unless that site has
    some accessible means of receiving it, like a servlet that takes this string as a
    parameter. The transfer could then be done with a HttpURLConnection.

    Are you in control of the code running on the other site ?
    eschew obfuscation

  3. #3
    Join Date
    Oct 2005
    Posts
    7
    The situation has now changed. Basically I'm doing a uni project on cryptography. What I am doing is importing an enrypted message from a txt file, and then performing a frequency attack on the cipher text. This part of the code is fine, but to fully automate the process my lecturer wants us to check our results against either an online dictionary or list of words. Is this possible?

  4. #4
    Join Date
    Nov 2004
    Location
    Norway
    Posts
    1,560
    I have no idea
    eschew obfuscation

  5. #5
    Join Date
    May 2005
    Posts
    9
    this is why you got webservers software for that sort of things, like weblogic or websphere. they allow you to run many kinds of codes and translate them to HTML for the users.
    note however, that those wo softwares are very heavy and complicated.

  6. #6
    Join Date
    Feb 2005
    Posts
    3
    I think servlet will help u in this regard, and u'll hav to maintain a database for this purpose.

    If you have confusion on servlet... i sugget discussion at javaranch servlet section

    Quote Originally Posted by hydeyho
    The situation has now changed. Basically I'm doing a uni project on cryptography. What I am doing is importing an enrypted message from a txt file, and then performing a frequency attack on the cipher text. This part of the code is fine, but to fully automate the process my lecturer wants us to check our results against either an online dictionary or list of words. Is this possible?
    ________________
    BeGoodDoGood!
    ____________
    soomrowaseem.

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