-
1. Re: where to place jar files
pvamstel Oct 1, 2002 2:02 AM (in response to shivaulagam)You do not have to set the classpath.
All is done in the run.bat file.
If you want to add jars to jboss you can add them in the $jboss_dist/server/default/lib.
War ear and rar files go in the $jboss_dist/server/default/deploy folder. -
2. Re: where to place jar files
shivaulagam Oct 1, 2002 3:19 AM (in response to shivaulagam)hi,
shiva again, i got the following error while i browse the page HelloWorld.jsp (which call the HelloWorld.class)
i suppose, i have to set the path properly or any one of the .xml file has to be modified pl see the error message and help me out
thank you and take care
shiva.
Error message
An error occurred between lines: 1 and 12 in the jsp file: /HelloWorld.jsp Generated servlet error: C:\WINDOWS\TEMP\Jetty__8080___invoker\HelloWorld$jsp.java:57: Class org.apache.jsp.HelloWorld not found. HelloWorld obj = new HelloWorld(); ^ An error occurred between lines: 1 and 12 in the jsp file: /HelloWorld.jsp Generated servlet error: C:\WINDOWS\TEMP\Jetty__8080___invoker\HelloWorld$jsp.java:57: Class org.apache.jsp.HelloWorld not found. HelloWorld obj = new HelloWorld(); ^ 2 errors Date: Tue, 01 Oct 2002 06:10:29 GMT Server: Jetty/RELEASE_MAJOR_MINOR (Windows 98 4.10 x86) Servlet-Engine: Jetty/RELEASE_MAJOR_MINOR (Servlet 2.3; JSP 1.2; java 1.3.0) Content-Type: text/html Content-Length: 2278
HTTP ERROR: 500 Unable to compile class for JSP An error occurred between lines: 1 and 12 in the jsp file: /HelloWorld.jsp Generated servlet error: C:\WINDOWS\TEMP\Jetty__8080___invoker\HelloWorld$jsp.java:57: Class org.apache.jsp.HelloWorld not found. HelloWorld obj = new HelloWorld(); ^ An error occurred between lines: 1 and 12 in the jsp file: /HelloWorld.jsp Generated servlet error: C:\WINDOWS\TEMP\Jetty__8080___invoker\HelloWorld$jsp.java:57: Class org.apache.jsp.HelloWorld not found. HelloWorld obj = new HelloWorld(); ^ 2 errors
RequestURI=/invoker/HelloWorld.jsp -
3. Re: where to place jar files
pvamstel Oct 2, 2002 1:49 AM (in response to shivaulagam)You have to create a war file.
And in the war file you must have a
WEB-INF/classes folder
Put your class files there it should work