Hi everyone,

I've been trying to use an RMI Service from a JSP page, but whenever I try it I get an error of not finding the object. I've started the rmiregistry service, and the Services Implementations registers it, and when I run a class client I have for it, it works well. but when I try a JSP page I get the following error:
http://img152.imageshack.us/img152/9882/87198913ca2.jpg

The code is the zip I include in the attachment.

Thanks you.

John

and another idiot insisting on using Java code in JSP.
And rude too, expecting people to open potentially dangerous attachments and read their content, taking a lot of time.

The error "MyRemote cannot be resolved to a type." seems to be pretty straightforward; you need to include the 'MyRemote' class in your JSP for it to successfully compile. I know this advice would fall on deaf ears but avoid using scriptlets in your JSP's, put the application logic in servlets instead.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.