Re: How can I implement a PUSH service in Java?

2002-04-19 Thread Dror Matalon
It really depends on how many users and how much information you're trying to process, but here's some ballpark ideas. On Sat, Apr 20, 2002 at 08:46:44AM +0200, Luca Ventura wrote: > Hello everybody! > > I would like implement a PUSH service in Java for my Web site. What I would > like to di is:

How can I implement a PUSH service in Java?

2002-04-19 Thread Luca Ventura
Hello everybody! I would like implement a PUSH service in Java for my Web site. What I would like to di is: when a user connects to my web site he can compile a form where he chooses the type of data he wants to receive in his mailbox (eg. newsletters about sport, culture, and so on) or in his mo

Re: Please Help!! - Displaying WBMP files via Servlets

2002-04-19 Thread Richard Yee
Helen, Here's some info on setting up Tomcat http://dcb.sun.com/technology/webinfra/qa_archive/qa072701_6.html -Richard At 06:12 AM 4/20/2002 +0100, you wrote: >Dear people, >I would REALLY appreciate ANY HELP that someone can give me on this topic. > >I am using the Nokia Toolkit 2.0 which use

Re: Please Help!! - Displaying WBMP files via Servlets

2002-04-19 Thread Richard Yee
Helen, You will also need to add some mime type entries in your web.xml in your /conf file wml text/vnd.wap.wml wbmp image/vnd.wap.wbmp -Richard At 06:12 AM 4/20/2002 +0100, you wrote: >Dear people, >I would REALLY appreciate ANY HELP that someone can give me on this topic. > >I am using

[no subject]

2002-04-19 Thread Nath, Vinay (CORP, GEITC)
Aruna,     You have to place your servlet classes in the "/server/classes" directory.     Treat the servlet files like any other java file. compile with javac.     Do spend sometime in reading the documentation, so that u'll comfortable with it. It's quite detailed.     Vinay -Origina

Please Help!! - Displaying WBMP files via Servlets

2002-04-19 Thread helen.pringle
Dear people, I would REALLY appreciate ANY HELP that someone can give me on this topic. I am using the Nokia Toolkit 2.0 which uses the Nokia 7110 phone. How can I display WBMP files via Java Servlets? I can do it via WML that isn't a problem but it just isn't displaying the WBMP file when I wrap

[no subject]

2002-04-19 Thread Kumar P Dhanyamraju
Hello All,   This may be a very small question but I am new to this subject. I am wondering how to compile a servlet to create the class file after downloading the tomcat 4.0. I was tring to compile a servlet in the jdk1.3 environment but I was getting errors this is the first time Iam trying

Re: Tomcat Installation

2002-04-19 Thread Kumar P Dhanyamraju
Hello, Thank you all for your input I am able to run tomcat after downloading and installing tomcat 4.0 Thanks Srinivas for your help. I will post messages if I run into problems. Thanks, Aruna - Original Message - From: sbattul <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursda

BajieServer 0.95ym

2002-04-19 Thread Gang Zhang
This is a announcement for the new BajieServer 0.95ym, the first release with the new faster engine. The main server is a little bigger now at 274K, but is about 30% fater then the old 0.95w engine. Some new features also went in, such as auto reload dependency for static included jsp pages, war

Access error pages defined in web.xml from a Servlet

2002-04-19 Thread Stefan AUFISCHER
In my Servlet I need to decide (based on the type of excpetion that occured) whether I will forward to an error page defined in web.xml or to an error page that is provided by the servlet itself. Is there any standard way to access the error pages defined in web.xml? I'm using Tomcat 3.2.3, but m

Re: Printing the content of a frame

2002-04-19 Thread Nath, Vinay (CORP, GEITC)
Nancy, You can use the print() method of "window" object. If you want to use a button, call this method on click . Use the frame name like .print() -Original Message- From: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 9:10 PM To: [EM

Printing the content of a frame

2002-04-19 Thread Nancy Crisostomo Martinez
Hi! Do you know how to invoque the print method of the navigator to print the content of one of my frames? I have two frames on my page (left and rigth), and I need to have a button in the left frame that must print the content of my right frame using the print method of the navigator (File..|Pri

Re: generating xls in jsp

2002-04-19 Thread S Srinivas Nayak
Hi Maros, It really worked. Thanks alot for help. We removed all the spacing between scriptlets(%><%). Thanks & Regards, Srinivasa S Nayak -

Re: Deploying web application to tomcat

2002-04-19 Thread Michael Reilly
Change 'web-inf' part of directory to 'WEB-INF' ... normally, it has to be upper case.     -Original Message-From: Halil AKINCI [mailto:[EMAIL PROTECTED]]Sent: Thursday, April 18, 2002 11:35 PMTo: [EMAIL PROTECTED]Subject: Deploying web application to tomcat Hi all,   I'm

unsubscribe

2002-04-19 Thread Faiyaz Memon
unsubscribe

servlet-mapping do not work in Linux??

2002-04-19 Thread Katsuyuki Michishita
I use Turbo Linux 6.0 with Tomcat 3.2.2+Apache 3.1.12. When I locate to /admin/template/design/pagehandler, DesignPageHandler did not invoke for some reason. I try to use following xml, but did not work in Linux. I use Windows and it works ok.. I know for sure class file set ok, because http://myur

Re: URGENT: SMTPClient

2002-04-19 Thread Dharmesh Patel2
Hi. Thanks for your reply. Yeap i believe we are behind a proxy/firewall. If thats the problem then i'll have to look into that. Thanks again. Dharemesh [EMAIL PROTECTED] writes: >hi, >I had a similar problem with my application which was a web-based >e-mail client. > > It worke

Re: ERROR 500

2002-04-19 Thread Galbreath, Mark
I would look at the mappings in your web.xml and your Access driver declaration(s).  It's really difficult to say without looking at your servlet source code.   Mark -Original Message-From: Halil AKINCI [mailto:[EMAIL PROTECTED]]Sent: Friday, April 19, 2002 8:56 AMTo: [EMAIL

Re: URGENT: SMTPClient

2002-04-19 Thread Nath, Vinay (CORP, GEITC)
hi, I had a similar problem with my application which was a web-based e-mail client. It worked fine when there were no proxies. Are u behind firewall/proxy? -Original Message- From: Dharmesh Patel2 [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 6:16 PM To: [EM

Ynt: Re: ERROR 500

2002-04-19 Thread Halil AKINCI
Hi Mark,   How can I correct classpath problem? - Original Message - From: Galbreath, Mark To: [EMAIL PROTECTED] Sent: Friday, April 19, 2002 2:20 PM Subject: Re: ERROR 500 Classpath problem. -Original Message-From: Halil AKINCI [mailto:[EMAIL PRO

URGENT: SMTPClient

2002-04-19 Thread Dharmesh Patel2
Hi everyone. I have a online feedback form which uses the sun.net.smtp.SmtpClient class. sun.* is no longer supported by Sun for some reason. anyway...my servlet works fine when at home (Microsoft ME, modem connected to phone port) and i recieve the mail in the web mail specified in the servlet.

Re: generating xls in jsp

2002-04-19 Thread Ivanco Maros
Try to do not type enter at the end of scriptlet: <%@ page ... %><% . . . %><% or write as a first line in your jsp. Maros. -Original Message- From: S Srinivas Nayak [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 2:38 PM To: [EMAIL PROTECTED] Su

generating xls in jsp

2002-04-19 Thread S Srinivas Nayak
Hello, There is problem in generating a .csv using JspWriter . The problem is that we could generate the .csv file but the file genreated gets printed leaving the 6 lines blank on the top. Is the any way to aviod this. This a jsp application to generate .csv file on the file. can any one help i

Re: ERROR 500

2002-04-19 Thread Michael Weller
hi! check your web.xml entry for DatabaseServlet. verify whether you entered the correct class name+package. -mw At 13:55 19.04.2002 +0300, you wrote: >Hi, > >I'm using a HTML form to run my servlet. I'm using this HTML page to send >a parameter to my servlet, and servlet will receive this par

Re: ERROR 500

2002-04-19 Thread Galbreath, Mark
Classpath problem. -Original Message-From: Halil AKINCI [mailto:[EMAIL PROTECTED]]Sent: Friday, April 19, 2002 6:55 AMTo: [EMAIL PROTECTED]Subject: ERROR 500 Hi,   I'm using a HTML form to run my servlet. I'm  using this HTML page to send a parameter to my servlet

Re: Need Recommendation on Servlet / XLST book

2002-04-19 Thread PEARCE Robert
In my experience O'Reilly books are generally good, and "Core Servlets and JavaServer Pages" is no exception. O'Reilly books tend to be quite short and concentrated (unlike A.N.Other publisher whose technical books are verbose doorstops you need a truck to carry around). -Original Message

Re: Need Recommendation on Servlet / XLST book

2002-04-19 Thread GW
waow! thanx alot Mark :) - Original Message - From: "Galbreath, Mark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 12:15 PM Subject: Re: Need Recommendation on Servlet / XLST book > I haven't had the opportunity to read Wutka's book (yet). I have read Hans >

Re: Need Recommendation on Servlet / XLST book

2002-04-19 Thread Galbreath, Mark
I haven't had the opportunity to read Wutka's book (yet). I have read Hans Bergsten's excellent "JavaServer Pages" (O'Reilly, 2001), Marty Hall's outstanding "Core Servlets and JavaServer Pages" (Sun/Prentice-Hall, 2000) and "More Servlets and JavaServer Pages (Sun/Prentice-Hall, 2002). I am rea

Re: Problem downloadin a excel file in jsp

2002-04-19 Thread Rajesh Nair
Hi I think the problem is that iPlanet will not allow u to open one more Output stream apart from the stream it is using for Jsp Out object. For Jsp the implicit Object "out " is using the output stream aready. So i think u can use a loop for checking whether the user has clicked the download

Re: Need Recommendation on Servlet / XLST book

2002-04-19 Thread GW
Hi Mark I'm currently working through this book 'Using Java Server Pages and Servlet' by Mark Wutka ISBN 0-7897-2441-3 If you've worked through it please give me your opinion because I find it really useful and would like to know what sections to avoid and what not... - Original Message ---

Re: Need Recommendation on Servlet / XLST book

2002-04-19 Thread Galbreath, Mark
1) The best book on the subject I have run across is the O'Reilly book by Eric Burke, "Java and XSLT" (2001), especially chapter 6. 2) No. Mark -Original Message- From: GW [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 3:53 AM Look for this book, I think its up to date and wil

Re: Problem downloadin a excel file in jsp

2002-04-19 Thread Galbreath, Mark
Let's see your code.   Mark -Original Message-From: S Srinivas Nayak [mailto:[EMAIL PROTECTED]]Sent: Friday, April 19, 2002 5:15 AMTo: [EMAIL PROTECTED]Subject: Problem downloadin a excel file in jsp Hi all   I have a typical problem in downloading a excel file in jsp .

Problem downloadin a excel file in jsp

2002-04-19 Thread S Srinivas Nayak
Hi all   I have a typical problem in downloading a excel file in jsp . It gives me a error stating that the out put stream is already in use. I have used a servlet output stream to download a excel file online i.e. without saving in the server , but directly writing into the stream.   I hav

Re: newbie question: GET vs. POST and session IDs

2002-04-19 Thread Nic Ferrier
Clinton Sandy <[EMAIL PROTECTED]> writes: > When I make repeated GET request to my servlet from the same browser > window, I get the same session ID as expected. But when I do a POST > request from the same window I get a new session ID. I don't understand > why the POST is causing a new sessio

Re: newbie question: GET vs. POST and session IDs

2002-04-19 Thread Bhushan_Bhangale
No it shouldn't be, while doing POST also the sessionid should be same. There must be some problem some where. -Original Message- From: Clinton Sandy [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 1:45 PM To: [EMAIL PROTECTED] Subject: newbie question: GET vs. POST and session I

Re: Need Recommendation on Servlet / XLST book

2002-04-19 Thread Tim Panton
I like OReilly's "Building Oracle XML applications" by Steve Muench . It is a little Oracle XML sdk specific, but the xsl chapters are good and generally applicable. URL: http://www.westpoint.ltd.uk/ - internet recon. ___ T

newbie question: GET vs. POST and session IDs

2002-04-19 Thread Clinton Sandy
When I make repeated GET request to my servlet from the same browser window, I get the same session ID as expected. But when I do a POST request from the same window I get a new session ID. I don't understand why the POST is causing a new session to be created. Is it supposed to work this way?

Re: Need Recommendation on Servlet / XLST book

2002-04-19 Thread GW
Look for this book, I think its up to date and will surly help you with what you are looking for, ISBN 0-7897-2441-3 hope this will help 8-) - Original Message - From: "Tom Kochanowicz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 6:04 AM Subject: Need Recomm

Re: Transform XMLDocument into a String or XSLTInputSource.

2002-04-19 Thread GW
Hi   /* where source is the xml */   Object source = request.getAttribute("source")   XSLTInputSource xmlSource = null;   if( source instanceof Document){       xmlSource  = new XSLTInputSource ((document) source);   }else if(( source instanceof File) || ( source instanceof String)){      

Re: How can run my servlet using HTML page?

2002-04-19 Thread Vivek Bhardwaj
what u have to do is to give the path to your servlet to be executed in"ACTION" when user submits form...you can collect the values of the parameters passed in your servlet using getParameter hope this is suffice... best of luck vivek bhardwaj --- Halil AKINCI <[EMAIL PROTECTED]> wrote: >

Re: How can run my servlet using HTML page?

2002-04-19 Thread Murat Buyukkal ([EMAIL PROTECTED])
By using forms (also specifiying some variable_name for each form component) in HTML page, sending them with GET or POST method you can send information to servlet. On the server side you implement the corresponding doGet(Request, Response) or doPost(Request, Response) method. You can extract th

How can run my servlet using HTML page?

2002-04-19 Thread Halil AKINCI
Thanks...   I want to ask another question. How can run my servlet using HTML page? I want use a HTML page to send a parameter to my servlet, and servlet will receive this parameter, connect a MS access database, execute a query and send results.