my dog learned polymorphism*
The moose likes Servlets and the fly likes JRUN Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "JRUN" Watch "JRUN" New topic
Author

JRUN

Alefia Lotia
Greenhorn

Joined: Oct 25, 2000
Posts: 3
I have installed JRUN on an NT platform. The examples that come with the installation run fine. But when i run my own examples using beans, I get errors saying that the package name could not be found. I have put the class files in the classes directory under the jsm_default directory.
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
Are you using the Demo Application that comes with Jrun or are you using your own? The differences are actually minor. In either case, ensure the classpath on the server (your probably using the 'Default' server) has all the additional packages you may need (jdbc, xml etc.) Then the servlet class that you wish to use as the entry point needs to go in the directory WEB-INF\classes under your application directory. Once you have done this, you can access the servlet in your browser by : http : // 'host' / 'application name' / servlet / 'servlet class name'
(I added additional spaces to keep UBB from thinking this is a real url)
Hope this helps

[This message has been edited by Carl Trusiak (edited November 02, 2000).]


I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JRUN
 
Similar Threads
EJB and JRUN
Running JSP using JRun Server
What do you need to run Servlets?
Jrun configuration For JSP
JRun is crashing on every 2nd or 3rd hit