Commit bb3f718c by Patryk Czarnik

Klient7_Dispatch_JAXB - zapis HTML

parent 48fbe326
...@@ -33,5 +33,4 @@ build/ ...@@ -33,5 +33,4 @@ build/
### Mac OS ### ### Mac OS ###
.DS_Store .DS_Store
/wynik.html /wynik?.html
/wyniki.html
...@@ -28,7 +28,7 @@ public class Klient5_DispatcherXSLT { ...@@ -28,7 +28,7 @@ public class Klient5_DispatcherXSLT {
Source result = dispatch.invoke(src); Source result = dispatch.invoke(src);
System.out.println("Mam wynik: " + result); System.out.println("Mam wynik: " + result);
Utils utils = new Utils(); Utils utils = new Utils();
utils.xslt(result, "arkusz.xsl", "wynik.html"); utils.xslt(result, "arkusz.xsl", "wynik5.html");
System.out.println("Gotowe"); System.out.println("Gotowe");
} }
} }
...@@ -31,7 +31,7 @@ public class Klient6_DispatcherXSLT_Samowystarczalny { ...@@ -31,7 +31,7 @@ public class Klient6_DispatcherXSLT_Samowystarczalny {
Source result = dispatch.invoke(src); Source result = dispatch.invoke(src);
System.out.println("Mam wynik: " + result); System.out.println("Mam wynik: " + result);
Utils utils = new Utils(); Utils utils = new Utils();
utils.xslt(result, "arkusz.xsl", "wyniki.html"); utils.xslt(result, "arkusz.xsl", "wynik6.html");
System.out.println("Gotowe"); System.out.println("Gotowe");
} catch (MalformedURLException e) { } catch (MalformedURLException e) {
throw new RuntimeException(e); throw new RuntimeException(e);
......
...@@ -40,7 +40,8 @@ public class Klient7_Dispatch_JAXB { ...@@ -40,7 +40,8 @@ public class Klient7_Dispatch_JAXB {
Source result = dispatch.invoke(src); Source result = dispatch.invoke(src);
System.out.println("Mam wynik: " + result); System.out.println("Mam wynik: " + result);
Utils utils = new Utils(); Utils utils = new Utils();
utils.wypiszTransformerem(result); // utils.wypiszTransformerem(result);
utils.xslt(result, "arkusz.xsl", "wynik7.html");
System.out.println("Gotowe"); System.out.println("Gotowe");
} catch (JAXBException e) { } catch (JAXBException e) {
e.printStackTrace(); e.printStackTrace();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment