I was just wondering whether I could have the following code within modx instead of having it in an external file:
<?xml version="1.0" encoding="utf-8"?>
<jnlp codebase="http://www.interactivebrokers.com/java/classes/" href="tws.jnlp">
<information>
<title>Trader Workstation</title>
<vendor>Interactive Brokers</vendor>
<homepage href="http://www.interactivebrokers.com"/>
<icon width="64" height="64" href=" http://www.interactivebrokers.com/images/tws64x64.gif"/>
<description>Interactive Brokers Trader Workstation</description>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.5+" java-vm-args="-Dsun.java2d.noddraw=true -Xmx160M"/>
<j2se version="1.4+" java-vm-args="-Dsun.java2d.noddraw=true -Xmx160M"/>
<jar href="jts.jar"/>
<jar href="jcommon-1.0.0.jar"/>
<jar href="jfreechart-1.0.0.jar"/>
<jar href="pluginsupport.jar"/>
<jar href="jhall.jar"/>
<jar href="other.jar"/>
<jar href="rss.jar"/>
<property name="sun.java2d.noddraw" value="true"/>
</resources>
<application-desc main-class="jclient.LoginFrame">
<argument>c:\ibjts</argument>
<argument>gw1.ibllc.com:4000</argument>
</application-desc>
</jnlp>
however, doesn’t seem to work though - maybe I just create a weblink to the file instead.