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 {}
>
> -
Thanks for reverting, I compile the code successfully
But servletrunner is not working. Pl help.
Moloy
--
SREI INTERNATIONAL FINANCE LTD., CALCUTTA, INDIA
___
T
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
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
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
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
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
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
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
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*)
Hi,
Last time I checked doGet
public void doGet
{
HttpServletRequest req,
HttpServletResponseres
} throws
was declared as
public void doGet
(
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
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
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
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
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
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
"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
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
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
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
"[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.
>
>
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);
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
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
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
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
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
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
..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
_
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
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 =
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
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();
34 matches
Mail list logo