I want to split my apps to different servers, so that I can shut down one
server without affecting the other apps on other servers.
My problem: I like to share some user specific data between the different
servers, like username, roles granted to this user and so on. In the actual
system I all on
Hi,
I tried to set setSendBufferSize(int) in java.net.Socket. I get a message
java.lang.NoSuchMethodError:.
This is the first time I ran my servlet after upgrading to Java 2 SDK, v
1.3.0.
I took the line out and the servlet runs fine. Am I missing something or is
the a bug?
I am using jsdk2.
Yes, I did.
But I got the same result.
S.A.Pamungkas
--- Rosh Nair <[EMAIL PROTECTED]> wrote:
> Get the package from servlets.com provided by
> O'Relly that helps upload file
> and support encoding type multipart/form-data. You
> can get some sample apps
> too. I think this will help you.
>
> Ro
You should declare Package abc.pqr in the source and compile it as javac -d
xyz.java.
You must not have compiled the class with Package. In such a compilation,
though the java source gets compiled, at runtime, it throws above error.
Abhay
- Original Message -
From: Mark Koscak <[EMAIL
The error you're getting means that your driver doesn't support the
ResultSet.first() method. Most Java JDBC drivers were not Java JDBC API 1.2
compatible until just recently. It's only then that Java truely supported
scrollable result sets that could jump around rather then just going to the
ne
Jon,
> Thanks for the replies.
No sweat. This seems to be one of the first speed bumps folks
run into. Lately I've been thinking a lot about putting together a
tutorial on how webservers and browsers work, for servlet developers.
> My actual form tag looks like this:
>
>
> The word "logi
Jon writes:
> Please take a look at the following "skeleton code":
Thanks for saving me time, but next time I recommend you append the
full code for reference. I suspect that's where the problem lies here.
> public void doPost(HttpServletRequest request, HttpServletResponse response)
>
The id parameter is returning a null value. The method in the form should
be
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: POST problem (newbie)
>Date: Wed, 27 Dec 2000 20:07:22 +0100
There is no difference .Cannot really think of
a problem.
Have u typed the action="Servlet" properly...
Moreover i suggest u to change the name of the
servlet
--- "Jonathan Silvergran, SM3OJR" <[EMAIL PROTECTED]>
wrote:
> Greetings,
>
> Please take a look at the followi
Hi:
When you download from the Sun website, open the Servlet API folders and
check to make sure that all the java files have been compiled into class
files. If not, then compile them before you start programming any serlets.
Also make sure that your classpath is set correctly.
Goodluck and have fu
Its possible to run servlets without LAN..
As regards the socketexception.i think u
have not installed TCP/IP.
--- keesara dinesh <[EMAIL PROTECTED]>
wrote:
> Is it possible to run servlets without having a
> LAN i.e on my win98 PC.
>
> when i run servletrunner i am getting
>
u can get the details from OReilleys book
--- Janardhan Kandregula
<[EMAIL PROTECTED]> wrote:
> hi all,
>
> pls give me account of everything that can happen in
> between mail sending
> by a mail client and it's reaching it's destination
> , and
> esp about what happens in mail server.
> plsgive
Greetings,
Please take a look at the following "skeleton code":
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
doPost(request, response);
} // end doGet
public void doPost(HttpServletRequest request, HttpServl
Hi,
I was trying to use SSI on Domino R5 Server, but got a "Class Not Found" =
exception. Does anyone know if it is supported, and if so, how?
Also, are we able to install JSP support in R5?
Thanks!
Gina
___
To unsubscribe
Hi :-) I have a question about how to use SingleTon with Servlet as a
helping class
I suppose the name of my SingleTon class is MySingleTon.class, and it
has a public
method getMe to return the Only-One instance:
IMO, when we first use MySingleTon.class by the following line:
MySingleTon
At 09:18 AM 27/12/2000 -0700, Unni Nair wrote:
>>>Hello,
>>>
>>>I am trying to display a result of a SQL statement. This is what I am doing
>>>1) Show a sql.jsp to enter the sql.
>>>2) Invoke a servlet called SQL which creates serialises the output result
>>>and redirect the url back to the sql.js
Steven
snip
> I think his point is to build a mailing list server, akin to
> mailman or majordomo or listserv, in Java.
I've been thinking about this lately too, albeit from a different
perspective. Perhaps with an evolution of the listserv concept? On many
large lists people complain abou
>>Hello,
>>
>>I am trying to display a result of a SQL statement. This is what I am doing
>>1) Show a sql.jsp to enter the sql.
>>2) Invoke a servlet called SQL which creates serialises the output result
>>and redirect the url back to the sql.jsp with sql_result=yes as the parm.
>>3) in sql.jsp, c
Just install microsoft personal web server on your machine. ( it is in win
98 installation cd , add-ons folder). You can install JRun and connect with
personal web server using the connector wizard.
so u can run servlet in a single machine.
Hope this solves u'r problem.
ram
>From: keesara din
Manish Bhatnagar wrote:
>
> Try this out:
> HttpSession httpSession = httpservletrequest.getSession(true);
> String httpSessionId = httpSession.getId();
> String sessionId = String.valueOf(httpSessionId);
Calling String.valueOf(httpSessionId) is unnecessary because
httpSessionId is ALREADY
At 03:31 PM 26/12/2000 -0700, Unni Nair wrote:
>Hello,
>
>I am trying to display a result of a SQL statement. This is what I am doing
>1) Show a sql.jsp to enter the sql.
>2) Invoke a servlet called SQL which creates serialises the output result
>and redirect the url back to the sql.jsp with sql_r
"Esposito, Francis (Exchange)" wrote:
>
> On NT, this requires that you at least have a network
> card so you can install IP services and bind them to
> a physical device.
>
The above answer is wrong. It shows why it is
wise to do some research on your own before
asking questions here.
The sho
http://java.sun.com
Check out the tutorials section and you probably should buy a book.
However, if you don't understand object oriented programming then you will
more than likely need to learn what that as well.
But there are a lot of free stuff for learning and developing java apps.
-Ori
I use Tomcat (jakarta.apache.org) on a stand-alone WinNT system for
servlet/JSP development, before migrating to a production environments using
various platforms. You should be able to do this under Win98 as well,
assuming you have the proper JVM installed.
- Original Message -
From: ke
My understanding is that you need to have TCP/IP services installed. On NT,
this requires that you at least have a network card so you can install IP
services and bind them to a physical device. Once you have this, you can
basically set up a single PC LAN.
Even though you are accessing the serv
At 02:26 PM 12/27/00 +, you wrote:
>Is it possible to run servlets without having a
>LAN i.e on my win98 PC.
I haven't used servletrunner but Tomcat and Apache on my WinNT desktop
machine seems to be fine.
>And another thing is: are there any sites which give free
>education on java?
I sugg
Hi everybody,
How can I show a image file (figure) when the Web Page is requested to
the servlet?
For example:
out.println("");
The expression above didn't work, because the image wasn't showed in the
browser.
Is there a default directory to put the image file?
Note: I use the jsdk2.0.
Is it possible to run servlets without having a
LAN i.e on my win98 PC.
when i run servletrunner i am getting SocketException
and other Exceptions.
And another thing is: are there any sites which give free
education on java?
Please help me.
_
Don't be such a big head..you could have just type the url for the guy
with out your negative comment.
-Original Message-
From: Purav [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 27, 1999 7:29 PM
To: [EMAIL PROTECTED]
Subject: Re: Apache Server on Windows
C'mon..This is an of
Try http://www.apache.org
There you get both: The docu and the binaries.
> Hi Java Guru's,
> Can anyone suggest me the site where I can get information
> regarding how to use Apache on Windows NT and from where I can download
> Apache server for Windows.
>
> Thanks in advance,
> Surendra
C'mon..This is an offtopic question. atleast check www.apache.org before
posting a question here
anyways..go to www.apache.org :) :)
Br
Purav
-Original Message-
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
hi
u can get the apache server for windows at www.apache.org
it comes with a complete documentation on how to install it and administer
it.
if u wanna run servlets/JSP make sure to download apachejserv also
cheerio
manish
-Original Message-
From: A mailing list for discussion about Sun M
You can also realize a performance gain from Oracle if you create the second
query statement only once using a bind variable (ID) and change ID through
your loop.
-Original Message-
From: Srinivas K. R. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 26, 2000 10:11 PM
To: [EMAIL PROTEC
http://java.apache.org/
-Original Message-
From: Surendra G L [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 29, 2000 6:30 AM
To: [EMAIL PROTECTED]
Subject: Apache Server on Windows
Hi Java Guru's,
Can anyone suggest me the site where I can get information
regarding how to u
Hi Java Guru's,
Can anyone suggest me the site where I can get information
regarding how to use Apache on Windows NT and from where I can download
Apache server for Windows.
Thanks in advance,
Surendra
___
To unsubsc
I think u have problem with path . The server is not able to get the
resource means the package. Please give the whole enviornment u r using and
where it the package, to give a solution
- Original Message -
From: "Stephen Fenelon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wedne
Hi List,
Is there any way to set some HTTP header values from a servelt before
forwarding
the request to another servlet?
I want to set header values for "REQUEST_METHOD" and "HTTP_REFERER" from a
servlet
and then forward the request to another servlet.
Thanks in advance,
-gireesh
_
Or you can also do something like :-
String variable = request.getParemeter("anotherVariable");
try {
float value= Float.parseFloat(variable);
} catch (NumberFormatException e) {
float = 0;
}
-Original Message-
From: SSM Technologies [SMTP:[EMAIL PROTECTED]]
Sent:
If condintion is met do response.sendredirect or use requestdispatcher.
To know more abt the sendredirect or dispatcher look into archives or
java.sun.com
out.println is used to display anything on the screen / browser Since u
need to load another htm file, u need to use redirection.
Vijaylakshm
Below is Viraj's answer to get primitive type of Float.
>Float val= new Float(variable);//Its float wrapper
>float value=val.floatValue();/*Its method of Float class converting the
>Float object into primitive data type float */
Below is Pradeep's answer to get primitive type of Float.
>Float.par
Hi all
I have some conditions in my servlet
if condition 1 is met I would like to load condition1.htm
if condition 2 is met I would like to load condition2.htm
and so on.
Can somebody tell me what I should have in the out.println
TIA
Hamid
_
Thanks all for your response on Casting
I really appreciate the help
It works!
Hamid
___
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://ar
Hi all this message seems to have failed to reach the list, I'll try
again...
>>Hi I am trying to put a sax wddx processer in a servlet and it compiles
without error but throws this error when run as a servlet:
>>500 Servlet Exception
java.lang.NoClassDefFoundError: com/allaire/wddx/WddxDeserial
>The real SQL statements are much more complex, and it would be
If you can make much more complex SQL statements, why don't u manipulate
those stuff in SQL statement ?
Even though the first resultset affects the second resultset, you can
handle that with only one SQL statement.
That would be muc
hi all,
pls give me account of everything that can happen in between mail sending
by a mail client and it's reaching it's destination , and
esp about what happens in mail server.
plsgive somelinks where I can get all the info.
thanx in advance,
janardhan
45 matches
Mail list logo