User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 329,009 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,435 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 137 | Replies: 2
Reply
Join Date: May 2007
Posts: 2
Reputation: afflictedd2 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
afflictedd2 afflictedd2 is offline Offline
Newbie Poster

Remotely Invoked Methods and JSP

  #1  
6 Days Ago
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
Last edited by afflictedd2 : 6 Days Ago at 12:38 am.
Attached Files
File Type: zip MyRemote.zip (4.6 KB, 0 views)
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2004
Location: Netherlands
Posts: 5,301
Reputation: jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough 
Rep Power: 17
Solved Threads: 167
Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Remotely Invoked Methods and JSP

  #2  
5 Days Ago
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.
42 Private messages asking for help will be ignored
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
Reply With Quote  
Join Date: Jun 2006
Location: India
Posts: 6,610
Reputation: ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold 
Rep Power: 21
Solved Threads: 297
Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Rebellion Revamped

Re: Remotely Invoked Methods and JSP

  #3  
1 Day Ago
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.
"I don't accept change. I don't deserve to live."

"Working a real job is a win if you're lazy, greedy, or unmotivated. If you're average, you fit right in. And if you're above average, the basic terms of employment and premise of the arrangement is against your interests."
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Marketplace (Sponsored Links)
Thread Tools Display Modes

Other Threads in the JSP Forum

All times are GMT -4. The time now is 4:55 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC