I did this and it did fix the "weird" problem. However, it still takes 4
secs to display the redirected page using Netscape with Apache and Jserv
under NT.
dino
-Original Message-
From: Spencer Ridder <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, September 1
hi -
this limitation has been removed in the latest
jswdk (java server web development kit) 1.0
which can be found at:
http://java.sun.com/products/servlet/
look for "jswdk download"
hope this helps,
- james
¤p¬õ²ù wrote:
>
> Hi
Hi.
I need to run two servlet-server on a solaris server. But I got some
problem :
Loaded configuration from file:/data/team/small/www/jsdk2.1/default.cfg
Can't set up server admin
java.rmi.server.ExportException: Port already in use: 1109; nested
exception is
java.net.BindException:
hi all,
can anybody throw some light on MVC architecture. Also where does
html, servlet and database fit in to this.
thanks in advance,
pravin
___
To unsubscribe, send email to [EMAIL PROTECTED] and include in the bod
Hi Dino,
I tried your sample program and found it to behave just as you said.
The problem is that doPost() cannot send a redirect to the doGet()
method of the same servlet.
Break your servlet into two servlets, one having a doGet() method
and the other having a doPost() method, and it should wo
Ramesh,
Thanks a lot for your quick reply. In effect that is what I want.
But how to do that? If you are accessing html/perl files from a dir where
you have .nsconfig, then the server automatically authenticate the user. You don't
have to write any code. But if you are calling a JSP - for exampl
Use backward slash, like \" to print quotes.
To print \ also, need to put \\.
So it'll look like : print (" ");
-alok
Ravi K U wrote:
> hi,
>use a slash (probably forward slash ) it will work
> Ravi
> "Hervé Gissinger" wrote:
>
Hi,
We are using Java Server Pages for our development which gets converted to
servlet on the fly. How do you use the netscape server's authentication for
jsp pages? For html/perl script you create .nsconfig files in the dirs you want to
protect. Whenever you access a html page or perl script fr
> I know that Servlets are inherently multithreaded...meaning once a Servlet
> is loaded, it can serve multiple requests by spawing multiple threads.
> Is there a limit on the number of threads a servlet can spawn ? Or is it a
> configurable param of the WebServer ?
At least it is configurable par
Hey I think it is wonderful that the MS programmers are so ignorant,
leave them in their ignorance. It goes to show the difference between a
free state and a totalitarian state, the inhabitants of the dictatorship
firmly believe the propaganda and are ignorant of the outside world
because the stat
I know that Servlets are inherently multithreaded...meaning once a Servlet
is loaded, it can serve multiple requests by spawing multiple threads.
Is there a limit on the number of threads a servlet can spawn ? Or is it a
configurable param of the WebServer ?
Is it more efficient to have multiple
Title: servlet - bean - jsp
Hi,
I'm using jswdk 1.0. My requirement is to:
1. write a servlet that stores some data in a bean and passes it on to a jsp.
2. jsp shud read the data from the passed bean and display it on the client browser
My question is: in jswdk, where do i put the servlet,
this is not off topic.
[i'm guessing here a bit as to the behaviour your experiencing]
since your on win9x it is possible that the environment
space is not sufficently large enough to append the
values as specified in the startserver.bat. if you run
this script and subsequently see some logging
You need to reverse the order of the sendCustomerToServlet() and
connect() calls.
At the point you are logging "Connected", the connection has actually
only been "Opened". After opening, you can set the various properties
that determine how the connection will take place, then call connect()
to
Hello Everyone,
I'm developing an email system (servlets) which should looks every 30 seconds for new
emails and returns some emails with approperiate information from a database (mySQL).
Does anybody know any design pattern for such a system?
Any information, examples, or references would be
I'm having lots of problems with Netscape if I use the `sendRedirect' method
from HttpServletResponse.
I am using Apache and Jserv under NT.
However, I will first describe my use of it with the hopes that an
alternative way can be presented.
doPost(...) {
retrieve values from getParameters(
please stop this thread and make it die lot of SPAMS ON THIS ONE REALLY.
As james said silence is the best tool. Please ignore them and lets carry on
our business.
"Campbell, Sean" wrote:
> I don't see how the original post was so completely off the subject as to
> warrant consistent abus
On Fri, 17 Sep 1999, Message UK wrote:
> >First, "occasionally" is a vague term, and second, not everyone
> >would agree with you on this.
>
> Speak for yourself. I agree.
Funny, I'm not the one trying to speak for others.
[ ... ]
> >Only one side of the situation has
> >been presented (Adam S
I try to send a number of userdefined
strings as a serialized object from
an applet to a servlet (I use Jigsaw 2.0.2
as a server on my localhost).
This is my code for sending the object
from the applet:
log("Connecting to
servlet...");
URL StakoDBservlet = new URL(
Suchi wrote:
> Hi!
>
> I have tried the following, I have a parent html page, say Parent.html which has
>three frames in it, respectively serving servlet1, servlet2 and servlet3. Now on
>servlet3's html page I have a button that loads servlet4 in frame 3. I click on that
>button and servlet4 i
that was precisely my concern (the passing back of data between client and
server).
thanks very much, nic.
paul
-Original Message-
From: Nic Ferrier [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 17, 1999 3:37 PM
To: [EMAIL PROTECTED]
Subject: Re: object size
>>> Paul Szynol <[EM
I apologize if this bothers anyone. I'm new to the list and I must admit that
I'm not sure on the accepted ettiquete.
I'm having trouble getting the server working in JSDK 2.1. I simply want
to view the examples, however the server just doesn't seem to work.
I've tried the server in the JSWDK
comments included.
- james
Charles Forsythe wrote:
>
> [Just a little background on me: I'm a member of a large computer
> security consulting group. My personal expertise is helping clients
> secure their e-Commerce applications.]
>
> I thought I would offer up a couple of "data points" regard
"Campbell, Sean" wrote:
>
> I don't see how the original post was so completely off the subject as to
> warrant consistent abuse. The post DID have to do with troubleshooting
> servlets, albeit it had more to do with trying to identify if his web
> server software was properly configured. BUT if
> -Original Message-
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Paul Szynol
> Sent: Friday, September 17, 1999 1:10 PM
> To: [EMAIL PROTECTED]
> Subject: can each session have its own, restricted and p
>
>First, "occasionally" is a vague term, and second, not everyone would
>agree with you on this.
Speak for yourself. I agree.
Personally, I see putting "OFF-TOPIC" on the
>the Subject: line as similar to putting on your flashers (sorry, don't
>know the British term for you UK'ers :-)
hazard
> -Original Message-
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> Huegele, Karin N.
> Sent: Friday, September 17, 1999 1:32 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Servlet Output to new Target Browse
>>> Paul Szynol <[EMAIL PROTECTED]> 9/17/99 8:32:37 PM >>>
>does the session object limit the size of the object(s) that you
place into
>the session object?
The limitation is the heap size of the JVM.
If your table or vec fits it will go in a session.
Remember that only the session id is passed
Adam Smith wrote:
>
> Sorry to ask this here, but I can't find this information anywhere on the
> servlet mailing list site. Can someone tell me how to report abuse of this
> listserv?
>
> Since posting a message yesterday to the list I have received multiple
> harrassing emails from one of the pe
nic,
thanks for the help.
i do have another question (to everyone) --
does the session object limit the size of the object(s) that you place into
the session object?
in other words, should i worry that my vector or hashtable might eventually
"outgrow" the room available in session object? or
Throwing my 2 cents into the pot
Geoff wrote:
> Craig R. McClanahan wrote:
> >
> >Geoff, I haven't used getLastModified() a lot -- it's pretty useless for
> 100%
> >dynamic content -- but it seems to do what I wanted when I used it. See
> >further comments below.
>
> Yes, exactly. Here's my
>>> Paul Szynol <[EMAIL PROTECTED]> 9/17/99 6:09:33 PM >>>
>is it possible for each session that accesses a servlet to have its
own,
>restricted and persistent instance of an object or objects (e.g., an
array
>or a vector, etc)?
Yes.
> will multithreading accomplish this?
It's not multi-threadi
Alec
If u somehow came to know about the mystry of how to subscribe please do tell me . I
am scared of these mails. My email is [EMAIL PROTECTED]
Thank u in a advance
bye
vibhu
--
On Fri, 17 Sep 1999 17:50:41 Alec Matias wrote:
>I want to unsubscribe, Please tell me how?
>
>Alec
>
Get
Thank you for your suggestion!
I haven't done much JavaScript so far. I was wondering if:
1. Is it possible to initiate the process from the applet instead? So, say,
the applet calls a javascript method and passing the serialized object. I
understand that I could use netscape.javascript.JSObjec
>>> "Huegele, Karin N." <[EMAIL PROTECTED]> 9/17/99 6:24:46 PM
>>>
>However, what I don't know how to do is how
>to stream the hmtl that the applet gets back from the servlet to a
new
>browser window.
You can't do it.
Well, you can, but it would mean having your applet act as an HTTP
server and
[Just a little background on me: I'm a member of a large computer security
consulting group. My personal expertise is helping clients secure
their e-Commerce applications.]
I thought I would offer up a couple of "data points" regarding securing
data in web applications, since it seems to be a ho
Hi!
I have tried the following, I have a parent html page, say Parent.html which has three
frames in it, respectively serving servlet1, servlet2 and servlet3. Now on servlet3's
html page I have a button that loads servlet4 in frame 3. I click on that button and
servlet4 is loaded in frame 3. I
In my experience this is usually caused by line termination expansion by the
PrintWriter returned from response.getWriter(). If you buffer the data you
are going to write, for example in a ByteArrayOutputStream, then try and
write them using the writer (once Content-Length has been set), the
Prin
I don't see how the original post was so completely off the subject as to
warrant consistent abuse. The post DID have to do with troubleshooting
servlets, albeit it had more to do with trying to identify if his web
server software was properly configured. BUT if the list is strictly
constrained t
Below is a simple HTML Link manager that I wrote when I was learning
servlets. If a GET request comes in it displays the links it has collected.
If a POST request comes in, it expects to receive the information to add
another link to it's list of remembered links. Pretty simplistic, but
differen
I've just been looking back at what we were saying here...
>>Of course, if you're not using sessions, there isn't the
opportunity to do
>>this.
>Yes, you could do this, although considering the high level of
binding
>between getLM() and doGet(), this seems overkill to have to use the
session
>to
If I understand You corectlly You have one form
and in the Servlet You want to decide wich submit button
was pressed. (like Previous or Next).
If You have in your html form:
than in Your servlet get the parameter submitbuton. Like this:
String buton=request.getParameterValues("submitbuton
I agree wholeheartedly.
sc
-Original Message-
From: Paul Szynol [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 17, 1999 11:35 AM
To: [EMAIL PROTECTED]
Subject:Re: OFF TOPIC: abuse of this
I don't see how the original post was so completely off the subject as to
warrant consistent abuse. The post DID have to do with troubleshooting
servlets, albeit it had more to do with trying to identify if his web
server software was properly configured. BUT if the list is strictly
constrained t
I don't think I understand your idea.
Are you suggesting that there is a way for the applet to pass parameter to
the servlet and specify the target window for the response from the servlet?
-Original Message-
From: Slava Kozlov [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 17, 1999
Yes, I suppose I can do that. However, what I don't know how to do is how
to stream the hmtl that the applet gets back from the servlet to a new
browser window.
Any advice or suggestions on this?
Thanks for your help!
-- karin --
-Original Message-
From: [mailto:[EMAIL PROTECTED]]
Sen
On Fri, 17 Sep 1999, Paul Szynol wrote:
> this list is active and full of articulate, intelligent people
> willing to help. so, i understand why this list gets a lot of
> off-topic questions. i've succumbed to the temptation myself a few
> times.
>
> and, frankly, i don't think _occasionally_ p
Meng, Dong J wrote:
>I have one HTML form with mutiple buttons in a servlet class. If I click
>different button, it will go to different servlet page.
>How do the servlet know which button have been clicked? Do you have similar
>code for this question?
One possible way is to have more than one f
is it possible for each session that accesses a servlet to have its own,
restricted and persistent instance of an object or objects (e.g., an array
or a vector, etc)? will multithreading accomplish this?
i would appreciate any help.
thanks,
paul
why don't you let servlet put the html content in an object send
use http object send back to the applet? You can avoid the use
of temporary file.
-Original Message-
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behal
Try this:
Hope this helps;
Sid Vicious :)
"Meng, Dong J (CAP, CDI)" wrote:
> Hi:
>
> I have one HTML form with mutiple buttons in a servlet class. If I click
> different button, it will go to different servlet page.
> How do the servlet know which button have been clicked? Do you have sim
make sure each button has its own form that calls its own servlet.
it's ok to have more than one form on the same page.
best,
paul
-Original Message-
From: Meng, Dong J (CAP, CDI) [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 17, 1999 12:19 PM
To: [EMAIL PROTECTED]
Subject: how to h
On Fri, 17 Sep 1999, ARCHAIMBAULT SYLVAIN SOPRA wrote:
> --- Reçu de RENEXTER.ARCHAISY ARCHAIMBAULT * 17/09/99 10.01
>
> For my part, I make the same thing as Steven, because I really don't
> see why you will want different behaviour with GET and POST
> method. Can you give us an example of
this list is active and full of articulate, intelligent people willing to
help. so, i understand why this list gets a lot of off-topic questions.
i've succumbed to the temptation myself a few times.
and, frankly, i don't think _occasionally_ posting off-topic questions is a
sin so long as the su
Hi:
I have one HTML form with mutiple buttons in a servlet class. If I click
different button, it will go to different servlet page.
How do the servlet know which button have been clicked? Do you have similar
code for this question?
Thanks in advance.
DJ
___
On Fri, 17 Sep 1999, Andras Balogh wrote:
> What about telling his identity and NOT to send any reply
> to questions asked by him from now on?
> I'm in, but i don't know if it is legal to the list .
Gee, if only more people would have this attitude about those who post
off-topic questions in the
-Original Message-
From: Andras Balogh <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: 17 September 1999 17:53
Subject: Re: OFF TOPIC: abuse of this list
>What about telling his identity and NOT to send any reply
>to questions asked by him from now on?
>I'm in, but i
> -Original Message-
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> Huegele, Karin N.
> Sent: Friday, September 17, 1999 10:05 AM
> To: [EMAIL PROTECTED]
> Subject: Servlet Output to new Target Browser
>
1. JavaScript calls the applet to create the data
3. applet serializes data to a string (using
ObjectOutputStream(StringWriter)) - you'll need some extra plumbing
though
2. a method returns the data JavaScript which stores it in a hidden
field on a form pointing to your servlet
3. JavaScript SUBM
>>> Bob Yang <[EMAIL PROTECTED]> 9/17/99 3:01:31 PM >>>
>Can I send a standard http request from
>AppServlet to DataServlet?
This is more complicated than you might think. In general you can
only pass requests about, not responses, which is more what you want
to do.
>Or are there any other bette
Check it out http://buzz.builder.com/cgi-bin/WebX?14@@.ee7c07f/0
I think this highlights a lot of the bad press Java is getting (ie buggy,
slow, buggy and slow...) and the naivety amongst MS programmers. Might
interest you, there are some valid points in here.
Get in there and fly the Java flag!
What about telling his identity and NOT to send any reply
to questions asked by him from now on?
I'm in, but i don't know if it is legal to the list .
- Original Message -
From: Adam Smith <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 17, 1999 3:34 PM
Subject: Re: OF
Hello All!
I was wondering if somebody might have a better solution to the problem that
I have:
What I need to do is send data from an applet to a servlet, then have the
servlet format the data and launch a new browser window to display the
formatted data.
The solution that I came up with is:
1. o
Hi, Friends,
I have a servlet (DataServlet) which is designed to connect to a database.
On the client end, a standard html FORM with METHOD="GET" can get data from
DataServlet for an applet which does some data processing. Now I want to
convert the applet into a servlet(AppServlet) and run it on
Hi, Gautam
Thank you, I got it.
Julie
>Hi!
>Go to
>http://java.sun.com/products/
>
>here you will find links to jdk1.2 ( the basic platform ) and jsdk1.2.1
> for java servlets )
>
>then go to
>
>http://developer.java.sun.com/developer/infodocs/
>( this link goes from http://java.sun.com/pro
I had such a problem as well,but only running my servlets on Java Web Server.
I realized that if I am using "response.sendredirect(ServletName)" and then I was
trying to send a content
I am getting such an error.In other words after using redirect do not send any content
using e.g out.println(S
I have been using Netscape Enterprise Server 3.62 on a Solaris box and I now
need to upgrade it to version 4.0.
Does anyone know where on the net I can get a copy of Netscape Server 4.0
or higher ?
Any help will be appreciated.
Regards,
Mo.
__
Hi All !!
I have a problem with servlets:
Sometimes I get the exception "trying to write more than content length"
and I don't know how to solve the problem.
Does anyone know how to do it ???
Thank you very much
Xavier
___
To
Hi Adam -
>
>I am sorry if I have misunderstood, and this was not proper, but I don't
>feel that I should be threatened privately for it regardless.
>
You're quite right - people have no place sending you private abusive emails
- it's not appropriate. My suggestion would be to "block" the sender
Hi Adam,
From what I understood u have to do libCount.next() before u can retrieve
values coz the
cursor is initially positioned just above the first row of a ResultSet object, the
first call to
the method next moves the cursor to the first row and makes it the current row.
Now do u unde
Sorry to ask this here, but I can't find this information anywhere on the
servlet mailing list site. Can someone tell me how to report abuse of this
listserv?
Since posting a message yesterday to the list I have received multiple
harrassing emails from one of the persons on the list. I have alrea
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
bodyof the message "signoff SERVLET-INTEREST".
- Original Message -
From:
Alec Matias
To: [EMAIL PROTECTED]
Sent: Friday, September 17, 1999 3:20
PM
Subject: Unsubscribe
I want to unsubscribe,
Hi Prasad,
The solution is not yet clear for me .
My problem is the following :
I have 2 servlets (say "servlet1" and "sevelet2") :
In servlet1 i define a FORM with METHOD=POST ,this form let user to login
(give name and password).
This task is OK "servlet1" displays th form and user
I want to unsubscribe, Please tell me
how?
Alec
>>> Geoff Soutter <[EMAIL PROTECTED]> 9/17/99 7:13:44 AM >>>
>Yes, exactly. Here's my reasoning that follows from this...
>1) getLastModified is pretty useless for dynamic content and
So is ANY caching mechanism (dynamic content changes, therefore can't
cache).
>2) servlet engines usually inclu
Hi :
I download the turtal example bookstore from Sun Turual
ftp . I compilied all the java files . when I executed
the BookStoreServlet.class file . it wroks . and show
a normal screen , but when I press another hyperlink
catalog to execute the CatalogServlet.class . it appear some error
message
--- Reçu de RENEXTER.ARCHAISY ARCHAIMBAULT * 17/09/99 10.01
For my part, I make the same thing as Steven, because I really
don't see why you will want different behaviour with GET and POST
method. Can you give us an example of a situation in which you
want to do that.
77 matches
Mail list logo