Hi,
I am trying to set a classpath through command line as follows--
java -classpath -Dcl.prop=C:\\server.properties
but the command line argument needs a "classname".....however I am doing this to be able to read the value of cl.props in the
jsp using a System.getProperty("cl.prop");
How do I do this?When I do try
java -classpath -Dcl.prop=C:\\server.properties LL000SInput.jsp
--OR------
java -classpath -Dcl.prop=C:\\server.properties LL000S
I get the following error
Exception in
thread "main" java.lang.NoClassDefFoundError: LL000SInput/jsp
---OR-------
Exception in thread "main" java.lang.NoClassDefFoundError: LL000S
Any help will be appreciated
Thanks,