WEB-INF Classes and Classpath
843840Feb 2 2009 — edited Feb 2 2009Hi,
I have just setup a new web server and deployed a test JSP. This JSP connects to a resident class in the WEB-INF/classes/testapp and output a String on the JSP page. The thing is unless I add the folder to the classpath, it comes up with an error message
Only a type can be imported. testapp.test resolves to a package
When actually the testapp.test is a class. I remember on previous deployments (where I hadn't setup the server) I wasn't required to add this detail in the class path for every site. And even in this case on the live Linux site, I'm having trouble adding more that one item in the class path. I have 2 questions.
1. How do I make it so I don't need to add each site various class folders into the classpath?
2. What format should I be using on the /etc/profile classpath on a linux server so I can add multiple items?
Thanks, really apprecaite any assistance ;)
Dan