Re: A silly Question

1999-12-26 Thread Moloy Biswas
Thanks for reverting, I compile the code successfully But servletrunner is not working. Pl help. Moloy Nitin Gogia wrote: > U cannot give braces { for passing in parameters > That's what u have done in u'r passing of parameters to doGet method > U should use () instead of {} > > -

Re: A silly Question

1999-12-26 Thread Moloy Biswas
Thanks for reverting, I compile the code successfully But servletrunner is not working. Pl help. Moloy -- SREI INTERNATIONAL FINANCE LTD., CALCUTTA, INDIA ___ T

PDF file creation

1999-12-26 Thread Sivakumar S
Hi, I'm using servlets to query the database and create reports based on the select options. This is displayed on the screen. Now I want to create a printable report document(PDF or RTF). This document also has to be downloaded for local printing. Can you throw some ideas for me to go about. R

Re: Q: JSDK 2.1 port conflict

1999-12-26 Thread RVASUDEV
Hi, I had tried port 9090 but still got the same error. I think the runner is hardcoded internally to use port 1109 - seems like a bad design to me if true. Does anyone know if there is any system call in UNIX to find return the port number of an unused port, or to find out if a given port is in

Re: Internals of Web Server....

1999-12-26 Thread Mohit Gupta (EHPT)
Title: RE: Internals of Web Server http://jserv.javasoft.com/products/java-server/documentation/webserver1.0.2/servlets/architecture.html -Original Message- From: Nitin Gogia [mailto:[EMAIL PROTECTED]] Sent: Monday, December 27, 1999 12:13 PM To: [EMAIL PROTECTED] Subject: Inte

Re: want help

1999-12-26 Thread sachin rameshrao zingade
I am working on servlets,can i make an interface of Dialog class and use the same,if you send me sample code then i can understand in a correct way sachin - Original Message - From: Usha Sree Y <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, December 25, 1999 12:05 PM Subjec

Re: A silly Question

1999-12-26 Thread Usha Sree Y
u'r code should look like this import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class moloyservlet extends HttpServlet { public void doGet ( HttpServletRequest req, HttpServletResponse res ) throws

Re: want help

1999-12-26 Thread Praveen Kumar S .
Hi, I Will do an assumption, based upon the forum, that you are trying to debug your servlets. If you are not using any tool(which others can provide a link to). You can always, send a print message to the system, or you can add the feedback to the responce(during debug stage of devlopment) ba

Storing and Retriieving Files

1999-12-26 Thread JBADRI
Hi, I have a need to display and accept a file from the client machine and store it on the server. And, when the users needs it to display the file stored on the server. What should I do to copt the file to the server ( should I have to provide ftp ) and how can I displa

Re: Servlet init() called multiple times - yet not implementing Singl eThreadModel

1999-12-26 Thread Chris Pratt
The two ways I know this can happen are if you implemented SingleThreadModel in your servlet, or if you register the servlet as com.domain.package.MyServlet.class for some reason, having the .class on the end causes some servlet engines to always create a new instance of the servlet. (*Chris*)

Re: A silly Question

1999-12-26 Thread Praveen Kumar S .
Hi, Last time I checked doGet public void doGet { HttpServletRequest req, HttpServletResponseres } throws was declared as public void doGet (

Re: want help

1999-12-26 Thread Usha Sree Y
if u are using Applets or Frames then u have a 'Dialog' class which u can extend to u'r class through which u can disp messages. sachin rameshrao zingade wrote: > Hi Can any one tell me whether we have any routine in jdk which is > similar to "MsgBox" or "alert" ,so that i can use them ot flage

Internals of Web Server....

1999-12-26 Thread Nitin Gogia
Can anyone tell me about the architecture (working) of any Web Serverabout how it works ? Nitin ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". A

Re: A silly Question

1999-12-26 Thread Nitin Gogia
U cannot give braces { for passing in parameters That's what u have done in u'r passing of parameters to doGet method U should use () instead of {} -- From: Paresh Gheewala [SMTP:[EMAIL PROTECTED]] Sent: Monday, December 27, 1999 11:52 AM To: [EMAIL PROT

Re: A silly Question

1999-12-26 Thread Nitin Gogia
Try giving comma (,) after ServletException -- From: Moloy Biswas [SMTP:[EMAIL PROTECTED]] Sent: Monday, December 27, 1999 11:34 AM To: [EMAIL PROTECTED] Subject: A silly Question Importance: High I am a starter in Servlets. Wh

Sun WebServer

1999-12-26 Thread Siddhartha Chandurkar (EHPT)
Title: Sun WebServer Environment jdk1.2.2   Sun WebServer 2.1 Solaris Hi All, Problem Statement: I want to port all my servlets from weblogic to Sun WebServer 2.1 We are also using SSL. Query: * Can anybody tell me of any possible issues. * Does Sun Webserver fully support SSL * How is the

Re: A silly Question

1999-12-26 Thread Paresh Gheewala
Hi, you have not completed the function. i.e. doGet is in-complete plz. check it. Moloy Biswas wrote: > I am a starter in Servlets. While writing the practice code I got the > following error : > > moloyservlet.java:7: ';' expected > public void doGet^ > > moloyservlet.java:8: Instance variable

Re: HTTP1.1 (was: Sending:(object) Applet to Servlet &(HTML) Servletto

1999-12-26 Thread Craig R. McClanahan
"Booth, Peter" wrote: > Are you saying that for content-types of both text > and serialized object that I need to explicitly > set content length to ensure that HTTP1.1 connections > will be used? > Sometimes, the servlet engine can help you out -- either the message is so short that it fits wit

A silly Question

1999-12-26 Thread Moloy Biswas
I am a starter in Servlets. While writing the practice code I got the following error : moloyservlet.java:7: ';' expected public void doGet^ moloyservlet.java:8: Instance variable can't be void: doGet {^ 2 errors My code for moloyservlet.java is given below : import java.io.*; import

want help

1999-12-26 Thread sachin rameshrao zingade
Hi   Can any one tell me whether we have any routine in jdk which is similar to "MsgBox" or "alert" ,so that i can use them ot flage the messages   sachin

HTTP1.1 (was: Sending:(object) Applet to Servlet &(HTML) Servlet to

1999-12-26 Thread Booth, Peter
Are you saying that for content-types of both text and serialized object that I need to explicitly set content length to ensure that HTTP1.1 connections will be used? Peter Booth > -Original Message- > From: Craig R. McClanahan [SMTP:[EMAIL PROTECTED]] > Sent: Sunday, December 26, 1999 1

Re: Sending:(object) Applet to Servlet &(HTML) Servlet to

1999-12-26 Thread Craig R. McClanahan
"[Mina Gohari]" wrote: > Hello > > I tried with "application/x-www-form-urlencoded" and > "application/x-binary" , but I didn't get html from Servlet. > > I sent to Servlet a serialized object then I want Servlet send a html > file to client. but It didn't do correct. > >

Re: session tracking basics...?

1999-12-26 Thread Craig R. McClanahan
dan wrote: > Hi,Neither in the JWS1.1.3 doc nor in Hunter's Servlet Programming > norin The Developer's Guide to the Java Web Server > (Woods/Pekowsky/Snee)is it explicitly stated that a site consisting of > *several* servlets needs ordoesn't need e.g.HttpSession session = > req.getSession(true);

Environment not set

1999-12-26 Thread Syed Atif Ali Kazmi
Title: Environment not set I have installed JSDWK. But when I run startserver, I am getting the message Environment not set. Can anybody tell me why this error is coming and whats the remedy?? Thanx Atif

Re: Hi I am new to servelets

1999-12-26 Thread sachin rameshrao zingade
hi, plz. reffer to following sites servlets.com sun.com - Original Message - From: Fazil Ahamed <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 27, 1999 9:25 AM Subject: Hi I am new to servelets > Dear members, > > Please let me know where to download Servelet class

Re: Servlet init() called multiple times - yet not implementing SingleThreadModel

1999-12-26 Thread Subrahmanyam A.V.B.
Guess it is creating multiple instances. This is okay with pre-2.2 servlet engines. Regards, Subrahmanyam "Booth, Peter" wrote: > > Hello, > > Whilst debugging an application problem I noticed something > very odd in my servlet engine's standard out log: A servlet's init() > method is being inv

Hi I am new to servelets

1999-12-26 Thread Fazil Ahamed
Dear members, Please let me know where to download Servelet class files. I've downloaded and installed Java web server. Is it possible to have this server in a remote sever without a domain name? Thanking you, Fazil __ Get Your Private, Free

Re: Q: JSDK 2.1 port conflict

1999-12-26 Thread Harichandra Reddy S
hi, you run that startserver with different port number then try. Thanks, hari. RVASUDEV wrote: > Hi, > > [Env: HP-UX 10.20, HP's JDK 1.1.7, Sun JSDK 2.1] > > While starting the servlet runner with the command : > ./startserver > I get this output : > > Can't set up server admin > j

Servlet init() called multiple times - yet not implementing Singl eThreadModel

1999-12-26 Thread Booth, Peter
Hello, Whilst debugging an application problem I noticed something very odd in my servlet engine's standard out log: A servlet's init() method is being invoked multiple (more than 20) times. This is not what would expect. The webserver is Netscape Enterprise 3.6 with WebSphere 1.1. Can anyone ex

Happy XMAS and New Year...

1999-12-26 Thread Andreas
..and please don't refer to the end of the millenium cause it just isn't it yet!!! Anyway, HAPPY NEW YEAR to all those who mail to this list and that have helped me or others in their quest for knowledge! Much appreciated Andreas _

Q: JSDK 2.1 port conflict

1999-12-26 Thread RVASUDEV
Hi, [Env: HP-UX 10.20, HP's JDK 1.1.7, Sun JSDK 2.1] While starting the servlet runner with the command : ./startserver I get this output : Can't set up server admin java.rmi.server.ExportException: Port already in use: 1109; nested exception is: java.net.BindException: Address

Re: [Re: A query which doed not stictly belong to this forum]

1999-12-26 Thread MJS MJS
Hello, Sending herewith the code java code-- import java.applet.*; import java.applet.Applet; import java.awt.*; import java.awt.event.*; import java.sql.*; import sun.jdbc.odbc.JdbcOdbcDriver; public class Survey extends Applet { Label blankLine = new Label(" "); TextField name =

Re: Sending:(object) Applet to Servlet &(HTML) Servlet to

1999-12-26 Thread [Mina Gohari]
Hello I still have problem that How can I send Html code to client? Mina __ Reply Separator _ Subject: Re: Sending:(object) Applet to Servlet &(HTML) Servlet to Ap Author: <[EMAIL PROTECTED]> at Internet Date:24/12

Re: Sending:(object) Applet to Servlet &(HTML) Servlet to

1999-12-26 Thread [Mina Gohari]
Hello I tried with "application/x-www-form-urlencoded" and "application/x-binary" , but I didn't get html from Servlet. I sent to Servlet a serialized object then I want Servlet send a html file to client. but It didn't do correct. String htmlPage = new String();