Hi All,
How do I invoke the doPost routine of a servlet
explicitly from within another servlet ?
Also, I want the new servlet to be loaded into my
browser, replacing the older one. I do not have any
submit buttons for the same.
Will response.sendRedirect("nameofservlet") work ?
__
On Mon, 26 Mar 2001, Kumar, Amit wrote:
> Keep other class files separate from servlet class files. You might want to
> create a package and then import them to your servlet classes. After doing
> so
> you can update your jserv.properties file as mentioned below.
>
> Amit
> -Original Message-
Hi Saumont
Thanks for your reply. Yes, I need a program that reads my printer port and
sends the data to a servlet which would put it on my web-site.
Thanks again
Ken
>From: Saumont Pierre-Yves <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>
Come on! You are a Java programmer and ask a question like that?! Try
java.sun.com as well as the advice below - especially Jason's book. Also, if
you are interested in wireless (WAP/WML), try Cook's WAP Servlets (though Cook
is really smart, he's a pretty lousy teacher, and his code has bugs).
Not to mention that you woke up in the wrong interest group
Cheers!
Mark
- Original Message -
From: "Duane Morse" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 26, 2001 10:52 AM
Subject: You know you've been doing JSP programming too long...
> when you wake up fro
Get yourself a copy of Jason Hunter's Java Servlet Programming (O'Reilly).
Look at Apache ECS for HTML generation.
Richard Gill
Director 3KB.COM LIMITED
Suite 2 Level 1, 10 Turner Street,
Po Box 74-307, Auckland
This is probably because you have already written something out. Usually
best to do the page generation at the last stage after all processing is
complete.
Richard Gill
Director 3KB.COM LIMITED
Suite 2 Level 1,
Have you tried re-starting Apache and Jserv? Also, make sure your case is
correct for the file and path names. We get this problem from time to time
and it can be difficult to track down, thus we are moving to Tomcat...
-
This is a f.a.q - have you checked the archive a lot of good
information can be located at the following link . . .
http://archives.java.sun.com/archives/servlet-interest.html
- Original Message -
From: Sepideh Shaygan <[EMAIL PROTECTED]>
Date: Monday, March 26, 2001 12:26 pm
Subject:
hi,
I am already familier with Java programming.now I am
going to learn servlet programming too.would you
please help me to find the starting point...
thanx.
Sepideh Shaygan
__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://per
I have sended a mesages last friday with a much basic question about this.
Now I am advanced. I am programing a servlet that allows downloading files.
In the servlet i make switch(browser), and do what each browser needs. In IE
5.5 and Netscape 4.7 i sworking well.
In IE 5.0 I have 2 problems:
a)
Keep other class files separate from servlet class files. You might want to
create a package and then import them to your servlet classes. After doing
so
you can update your jserv.properties file as mentioned below.
Amit
-Original Message-
From: saroumane [mailto:[EMAIL PROTECTED]]
Sent:
I don't think so.
i think that the repositories properties for jserv is the mounting point of
a servlet zone
i think that you should add a new line 'wrapper.classpath=path/to/class' in
the file jserv.properties in the Execution Parameter area
a+
john
-Message d'origine-
De : A mailing l
Timmy Tong wrote:
> Hi,
>
> If real-time is not possible, then I think a 5 seconds update is ok. Could
> you please give more details.
>
> Thank you very much.
>
> Regards,
> Timmy
> -Original Message-
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Techno
when you wake up from a dream in which you imagined that all of the images
were produced
by JSP tag extensions and that some of the dream segments were aborted
because the
underlying JSPs had compile errors.
Duane Morse, Eldorado Computing Inc., Phoenix AZ
___
On Mon, 26 Mar 2001, Dr. Muhammad Masroor Ali wrote:
> Hi,
> I am getting a NoClassDefFoundError for one of my classes in the servlet
> side during runtime. This is strange because that particular class (and
> .java) file is in the very same directory of the servlet file using it.
> Could you ple
This relates to servlets how? Are you aware that there is an interest
list for XML?
Besides you haven't said what you are using to create the file? Are you
using a tool of some sort or what? ? ? ?
- Original Message -
From: kumar jaya <[EMAIL PROTECTED]>
Date: Sunday, March 25, 2001 9:
You need to place your file (i.e. MyFile) in an appropriate directory in the
servlet engine/application/web server. Most probably it will be the default
directory from where your servlets are run by the engine.
Choice of the editor depends upon the power of your machine.
For normal desktop machin
Try Sun's JDBC site (java.sun.com/products/jdbc ) and search for it there
Try Hans bergsten site (thejspbook.com) and download
source example. I think there is CachedRowSet implementation there.
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
-
Hello Ashish,
Monday, March 26, 2001, 3:05:10 PM, you wrote:
AA> Hi All,
AA> I have a servlet where the doGet routine displays an
AA> HTML page and further goes on to call the doPost
AA> routine. My HTML page displays well, but the doPost
AA> routine does not get called.
AA> I receive an Illega
Hi All,
I have a servlet where the doGet routine displays an
HTML page and further goes on to call the doPost
routine. My HTML page displays well, but the doPost
routine does not get called.
I receive an IllegalStateException.
Pleas help..
__
Do
Hi,
I am getting a NoClassDefFoundError for one of my classes in the servlet
side during runtime. This is strange because that particular class (and
.java) file is in the very same directory of the servlet file using it.
Could you please point me to some checklist and/or suggestion which
helps me
Dear all,
I am now studying the MultipartResponse class from Jason Hunter Book (ch.6).
Can it send data to a applet instead of a pure HTML page? I want the applet
display the data once it receives response from the Servlet.
Thanks for your help
Regards,
Timmy
__
>>> Stanley Tan <[EMAIL PROTECTED]> 26-Mar-01 9:12:08 AM >>>
>I guess what I have to do is put a paramName
>value inside my Web server configuration.
>Am I right?
Yes.
>Wouldn't it be easier to simply take paramName
>completely out of the servlet alltogether and just
>specify as I did below?
That's a problem of the file encoding... try saving your files with utf8. if
you haven't an editor that allows setting the file encoding try jEdit at
sourceforge.net.
Hope this helps.
Michael
- Original Message -
From: "kumar jaya" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Mond
hi,
I am trying to install tomcat3.2.1 on windows
2000/IIS.
I have followed all the instructions mentioned in the
document "Tomcat IIS how to".
Problem,
i ve created the filter with its executable isapi.dll,
but when i restart IIS the filter is not getting
loaded.
The troubleshooting document men
Ok, it's working now. But I didn't use paramName on the last line of the
doGet method: request.getParameter("url"). I get a NullPointerException if
I do.
I guess what I have to do is put a paramName value inside my Web server
configuration. Am I right? Wouldn't it be easier to simply take par
hi everybody,
We have developed a web site using JSP and servlets to our client, which was
tested in our office throughly and it was working fine with Netscape and
Internet Explorer, when we tested it.
But when we installed it at the client site it is not working in Netscape.
In netcape home pag
What we do is have a page generated immediately with a "Processing, Please
Wait" message. In it's header we put a redirect to a Get on another servlet
and a 'refresh' setting of 10 seconds. This causes the page to check with
the new servlet every 10 sec or so (you can even put the current time s
Hello Ashish,
Monday, March 26, 2001, 10:53:50 AM, you wrote:
AA> I have a servlet that accepts input from the user, and
AA> then calls another servlet that performs an extremely
AA> long process and is then required to display the
AA> results on the browser.
AA> However, since this process is a
I have a servlet that accepts input from the user, and
then calls another servlet that performs an extremely
long process and is then required to display the
results on the browser.
However, since this process is a long one, the browser
eventually times out while executing the second
servlet. The
Hello Ricardo,
Monday, March 26, 2001, 10:22:32 AM, you wrote:
ARY> try giving the absolute pathname of "MyFile" (e.g. "c:\directory\MyFile").
Better use c:/directory/MyFile
Good luck.
--
Alexander Fedorov
Software developer
Adcore
Wibautstraat 120
1091 GP Amsterdam
the Netherlands
tel: +31
I am not sure to understand what you mean. Do you mean a program reading the
printer port on the client and sending the data to a servlet that put the
data on a web site ? Or a program reading the printer port on the server (?)
and send the data to the client ?
Pierre-Yves
-Message d'origine
33 matches
Mail list logo