Results 1 to 1 of 1
  1. #1
    kemplu is offline Member
    Join Date
    Jul 2011
    Posts
    1
    Rep Power
    0

    Default Java Server Client checking software version and update Eclipse

    Hello,

    I'm new in java and must make a dummy server client connection (webserver) that check if the client has the actual software (actual version) and send links (in .txt or something else, if any update available). I'd like to make a program as simple as possible.

    I am using Eclipse Java EE IDE and Tomcat v6.0, and xml for the software lists.
    Now, I can upload the client's list into server and this list is saved here:
    C:\Users\Kemplu\Desktop\MTK\.metadata\.plugins\org .eclipse.wst.server.core\tmp0\wtpwebapps\Project\c lient.xml

    I'd like now to compare that list with the server's list (is that ok?), but I don't know what I should do here, because I still have problem with importing java code into jsp.

    Java Code:
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
    <%@ page import="java.util.List"%>
    <%@ page import="java.util.Iterator"%>
    <%@ page import="java.io.File"%>
    <%@ page import="java.lang.Object"%>
    <%@ page import="junit.framework.Assert"%>
    <%@ page import="org.custommonkey.xmlunit.XMLUnit"%>
    <%@ page import="org.custommonkey.xmlunit.DetailedDiff"%>
    <%@ page import="mtk.MyXMLTestCase"%> 
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Check for Update</title>
    </head>
    <%
        String myControlXML = "actual.xml";
        String myTestXML = "client.xml";
    
    %>
    
    <body>
    Hulaa
    <input type="button" value="Download" onclick="window.open('Link.txt')"></input>
    </body>
    </html>
    Anyone has any suggestion?
    I really appreciate any help, and sorry for my poor english.

    Best regards,
    Kem
    Last edited by kemplu; 07-13-2011 at 12:04 AM.

Similar Threads

  1. Replies: 8
    Last Post: 05-24-2011, 12:32 PM
  2. Replies: 0
    Last Post: 12-21-2010, 04:21 PM
  3. Client Server applications in eclipse
    By murthybhat in forum New To Java
    Replies: 0
    Last Post: 01-08-2010, 07:49 AM
  4. Replies: 0
    Last Post: 11-06-2008, 01:30 AM
  5. java code for checking if a software is installed or not
    By heggemony in forum Advanced Java
    Replies: 1
    Last Post: 07-31-2007, 02:19 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
  •