Invoking doPost routine of a servlet explicitly

2001-03-26 Thread Ashish Adhiya
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 ? __

Re: NoClassDefFoundError

2001-03-26 Thread Kell Sønnichsen
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-

Re: sending email from html form? how

2001-03-26 Thread ken dias
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 >

Re: Hello!

2001-03-26 Thread Mark Galbreath
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).

Re: You know you've been doing JSP programming too long...

2001-03-26 Thread Mark Galbreath
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

Re: Hello!

2001-03-26 Thread Richard Gill
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

Re: Getting an exception in doPost method

2001-03-26 Thread Richard Gill
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,

Re: NoClassDefFoundError

2001-03-26 Thread Richard Gill
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... -

Re: Hello!

2001-03-26 Thread T.A. Flores
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:

Hello!

2001-03-26 Thread Sepideh Shaygan
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

Problem emulating ftp on IE 5.0

2001-03-26 Thread Oscar Guindzberg
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)

Re: NoClassDefFoundError

2001-03-26 Thread Kumar, Amit
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:

Re: NoClassDefFoundError

2001-03-26 Thread saroumane
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

Re: Please help about Server push and Applet/Servlet communication

2001-03-26 Thread Bo Xu
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

You know you've been doing JSP programming too long...

2001-03-26 Thread Duane Morse
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 ___

Re: NoClassDefFoundError

2001-03-26 Thread Kell Sønnichsen
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

Re: hi Out of Topic...Still need suggestions!!!!!!!!!!

2001-03-26 Thread T.A. Flores
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:

Re: Newbie...FileNotFoundException in servlet

2001-03-26 Thread Yousaf Khan
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

Re: Paging through result sets

2001-03-26 Thread Peter Pilgrim
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" -

Re: Getting an exception in doPost method

2001-03-26 Thread Alexander Fedorov
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

Getting an exception in doPost method

2001-03-26 Thread Ashish Adhiya
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

NoClassDefFoundError

2001-03-26 Thread Dr. Muhammad Masroor Ali
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

MultipartResponse

2001-03-26 Thread Timmy Tong
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 __

Re: Newbie Questions

2001-03-26 Thread Nic Ferrier
>>> 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?

Re: hi Out of Topic...Still need suggestions!!!!!!!!!!

2001-03-26 Thread Michael Weller
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

tomcat problem

2001-03-26 Thread p p
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

Re: Newbie Questions

2001-03-26 Thread Stanley Tan
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

JSP & servlets problem in Netscape.

2001-03-26 Thread naidu
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

No Subject

2001-03-26 Thread Richard Gill
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

No Subject

2001-03-26 Thread Alexander Fedorov
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

No Subject

2001-03-26 Thread Ashish Adhiya
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

Re: Newbie...FileNotFoundException in servlet

2001-03-26 Thread Alexander Fedorov
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

Re: sending email from html form? how

2001-03-26 Thread Saumont Pierre-Yves
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