Hi:
Servlet is a good thing,but I want to use it to access a Oracle
Database,what should I do?Only may I use JDBC to do it?Does Servlet
provide a interface to the Database?
Thank you in advance.
I am looking forward to your help.
Yours
Hi:
I am now using Oracle's Web Application Server3.1 and hope to use
Servlets.But OWAS3.1 doesn't surport Servlet and IIS can do so with
Jran.Then I think that if I use IIS as OWAS's web listener,OWAS can
surport Servlet.How do you think my idea?Does you think it is feasible?Can you give me
ODBC-JDBC for the database connection.
My oracle database in DEC machine
and I use Jigsaw in my NT machine.
It is easy to setup.
You only have to setup JDBC, and use it.
I hope it will be helpful
- Bert -
-Original Message-----
From: yong hu [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTE
Hi:
I has write a JDBC-Servlet file,but it doesn't work,the error
information in the browser is 'having a internal server error' and
exception is 'Java.lang.NullPointerException'. I use oracle7.3 RDBS
,oci7 JDBC Driver and SUN Java Web Server.
The following is my code:
import java.sql.*;
Hi:
I has received your suggetion about why my JDBC-Servlet not to
work,and set the variable conn to a public one,the code is following:
import java.sql.*;
import java.io.*;
import java.util.Date;
import javax.servlet.*;
import javax.servlet.http.*;
public class SJdbcTest extends HttpServlet
Hi:
I want to use System.out.println() to show infomation of my code
executing,but the Java Contrl of my browser(IE4.0 and NV4.0) doesn't
show anything.
Hope that you give me help.
Thanks in advanc.
Regards.
HuYong
__
Get Your Private, Free
Hi:
I use oracle's JDBC driver oci7 in my Servlet.But the class can't be
loaded. The following is the code:
import java.sql.*;
import java.io.*;
import java.util.Date;
import javax.servlet.*;
import javax.servlet.http.*;
public class SJdbcTest extends HttpServlet {
public Connection
Hi:
I am a beginer of Servlet and want to know how a servlet
communicates with another.Might you tell me where I can get some
sample code of it? Any code you give me will also be very helpful to
me.
Thanks.
Regards.
Huyong
__
Get Your
Hi all:
I want to read chinese information from Oracle,but get the mess.I
try to use res.getString(),res.getBytes() ect.,but it is no use.Can
you give me some help?
My platform is javawebserver1.1.3,Oracle jdbc driver(oci7) or
jdbc-odbc bridge.
Thanks.
Regards.
Huyong
Hi all:
I want to use SUN's java WorkShop2.0 to develop java servlet and
want to know where I can free download it. At the same time,are there
other visual developing tools of servlet?
Any information will be helpful to me.
Thanks in advance.
Regards
HuYong
Rafa:
Make your class file to .jar file using JDK's jar.exe and put this
.jar file to javawebserver\lib\,then add javawebserver\lib\.jar to
classpath.
Good Luck.
Huyong
From: Rafa³ Knopa [EMAIL PROTECTED]
Reply-To: "A mailing list for discussion about Sun Microsystem's
JavaServlet API
Thanks,with your help,I has resolved that question.I close the
serversocket in destroy() method and it works well.
Howerver I meet with another question.I want to know if the serversocket
is my hope beacause the applet can't talk with servlet
well.Then after create the serversocket on port
vijaya,
Thanks for your help.I has tried your code and it works well.But
there is a bug in the code.The code "ServerSocket rSocket = new
ServerSocket(SERVLET_PORT)" will throw a excepiton:address in use unless I
close the serversocket first.
I has another quetion about RMI.I create tow RMI
You may unload the old servlet firstly,then load it again.
good luck
Huyong
From: Sunil Dua [EMAIL PROTECTED]
Reply-To: "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology." [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Single Thread
Date: Mon, 11 Oct
Use
if(!result.next()){
//the code executing when there are no records fetched
}
HuYong
From: Sunil Dua [EMAIL PROTECTED]
Reply-To: "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology." [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Resultset in a
How can I to make a connection to the server and retrieve the file if the
file I am trying to open is not in the same machine ?
From: Andras Balogh [EMAIL PROTECTED]
Reply-To: "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology." [EMAIL PROTECTED]
To:
To: [EMAIL PROTECTED]
Subject: Re: About BindException bug
Date: Tue, 12 Oct 1999 07:28:24 -0400
Yong,
The bug is nothing but if try to use the same port again it gives
exception.
i think you follow this..
--
From: Yong Hu[SMTP:[EMAIL PROTECTED]]
Reply To: A mailing list for
All,
Are there some "visual" tools to "develope" and "debug" the servlet.
Thanks advanced.
Huyong
__
Get Your Private, Free Email at http://www.hotmail.com
___
To
You may download Jrun Server from www.jrun.com.Jrun Server works good
with IIS.
From: Rizwan Quadri [EMAIL PROTECTED]
Reply-To: "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology." [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Servlets on IIS4
Date:
all,
Are there any tools which can develope and debug servlets visually?
Thanks
Huyong
__
Get Your Private, Free Email at http://www.hotmail.com
___
To unsubscribe,
all,
I has write a applet communicating to server-side java using RMI. When the
server-side java is a application(including a main() function),it work
well.Howerver when server-side java is a servlet,it
can't work and throw a exception when executing lookup():
Hit remote exception: Return
Hi,
I want to use RMI to implement the communication between applet and
servelt.When applet is in the same directory(my servlet directory:
c:\websphere\appserver\servlets\) as servlet(including Servlet_stub.class
and Servlet_skel.class),it can work well. But when
they are not in the same
Hi,
I am using IBM's Websphere as my servlet server. It's servlets phisical
path is c:\websphere\appserver\servlets\ and virtual path
is /servlet.I create my directory under c:\websphere\appserver\servlets\
,such as myservlet and place my servlet (nameed Test.class) in it. When I
use
Thanks for your help.In your way,I has resolved the problem.
From: Ben Dinnervile [EMAIL PROTECTED]
Reply-To: "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology." [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: About IBM Websphere
Date: Tue, 2 Nov
Hi,
I want to BEA's weblogic as my servlet server,but I don't know where I
should place my servlet class and how call it in browser.
I use http://localhost:7001/servlet/HelloWorldServlet but browser can't
find the class.
thanks in advance.
Huyong
]
Subject: Re: about weblogic
Date: Wed, 3 Nov 1999 09:52:07 -0500
Hi,
did you register your servlet in the properties file?
Tolu Agbeja
HLD BT [Concert]
Tel: 770-801-4549
Tel: 770-801-2549
-Original Message-
From: Yong Hu [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 02, 1999
Servlet is the best.You can use applet or HTML fiel as the client and applet
talks with servelt easilly using URL/URLConnection API. If you use RMI,you
must use applet as the client and the programing is complex.
From: Christian Nateghi [EMAIL PROTECTED]
Reply-To: "A mailing list for discussion
I develope a servlet as RMI server.The client is applet.I put the
servlet class and related stub class,skel class in servlet root
directory(as to websphere,that is c:\websphere\appserver\servlets).
My problom is: if I put applet class in the same directroy as the servlet
class,it works
all,
Can servelt talk with EJB? I want to implement a model:
applet---servlet---EJB.Is it possible?
Thanks in advance.
Huyong
__
Get Your Private, Free Email at http://www.hotmail.com
erver do we use?
Yong Hu [EMAIL PROTECTED] on 11/09/99 11:01:48 PM
Please respond to "A mailing list for discussion about Sun Microsystem's
Java
Servlet API Technology." [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:(bcc: Steve Buonincontri)
Subject: servlet and EJB
Hi,
I wish that a servlet read information from applet,which is a object
implementing java.io.Serializable.I define the object as a file ,which is
add to a .jar file.I use visual cafe compile the servlet and it is
successful.But when it run,the code Myobject ob=new Myobject() throw a
rs, that's probably why the servlet couldn't find UserInfo.
try to put them in the same classpath?
From: Yong Hu [EMAIL PROTECTED]
Reply-To: "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology." [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Servlet i
32 matches
Mail list logo