Dear colleagues,

I am facing a number of problems, the least of which is the random way I
can communicate with this list (I am getting messages out of order and
see
mine after a week or so!). Hence I packed a number of questions in this
message:

1) I am implementing Applet to Servlet exchange of serialised objects. I
cannot seem to pass the object or even load the servlet with NScape.
Works
fine with IE 5.0, I get no reaction with NS 4.06 - 4.5, although I apply
the hack suggested by Hunter in his book. I am posting on the applet
side and I implement the doPost() or service() on the servlet side. No
reaction whatsoever. Same story without the hack. Any ideas?

2) On an intranet, the request.getServerName() on the JWS 1.x returns
the
IP address instead of the machine name! I need the machine name, as I am
passing it along to a proprietary database connection. I circumvented
this
with a creation of an InetAddress and reading getHostName() which
returns
correctly. However, it takes an awful lot of time, probably querying the
non-existing DNS service. I have found no documented property that could
give my servlet access to the machine name directly, e.g. from
System.Properties. I am running this on NT. Any ideas?

3) Last but not least: I have made five different succesful deployment
efforts of JWS with a set of JNI accessing servlets on NT machines. I
now
need to deploy a version on a portable running '98. I try the
tried-and-proven methodology of putting the JNI-accessing servlets in a
\classes directory and putting the DLLs I need in JWS's \lib and/or
\bin,
Windows\system, Windows\System32 etc. Whatever I tried, there is NO way
I
can make the '98 machine see my DLLs. Is there some environment variable
I
need to set so that I will stop seeing the ugly 'no such&such in shared
library path'. Which is the 'shared library path' that '98 are using?
I've
put the DLLs in almost all the directories included in the path
variable,
to no avail.

4) I am constructing a dynamic HTML page from a servlet according to
parameters passed with GET. The page contains an applet, which in turn
calls upon other servlets. What is the correct way to set the applet's
codebase? I thought it would be as if it were static HTML, that is, that
the browser would look again from public_html and below to interpret the
page and fetch the applet. It doesn't seem to be so, as my browser
complains that the applet is not found. (Cut & paste from the returned
source to a static test page, proves that the applet is there and
functioning). Any ideas?


Thanks a million for any answers. As the list comes to me in a peculiar
way (my sysadm swears it's not our fault) I would appreciate it if you
could cc: to my account.

Apologies for cramming two weeks' questions in one message:-)


Kostas

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to