File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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


Alefia Lotia

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

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:
subject: JRUN
jQuery in Action, 3rd edition