Results 1 to 1 of 1
- 07-12-2011, 10:25 PM #1
Member
- Join Date
- Jul 2011
- Posts
- 1
- Rep Power
- 0
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.
Anyone has any suggestion?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>
I really appreciate any help, and sorry for my poor english.
Best regards,
KemLast edited by kemplu; 07-12-2011 at 11:04 PM.
Similar Threads
-
Migrating from Java version 1.5 update 6 to version1.6
By pink123 in forum New To JavaReplies: 8Last Post: 05-24-2011, 11:32 AM -
Java(TM) Web Start Launcher doesn't work after a software update for some users
By Richard Gillespie in forum Advanced JavaReplies: 0Last Post: 12-21-2010, 03:21 PM -
Client Server applications in eclipse
By murthybhat in forum New To JavaReplies: 0Last Post: 01-08-2010, 06:49 AM -
How to define new server runtime in Eclipse version 3.3
By Crisanto in forum EclipseReplies: 0Last Post: 11-06-2008, 12:30 AM -
java code for checking if a software is installed or not
By heggemony in forum Advanced JavaReplies: 1Last Post: 07-31-2007, 01:19 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks