Hi,
I need paper, tutorial and sample code about
"Servlet to Servlet communication".
Can anyone help me?
thanks Randall. =)
i'm actually using the File.separatorChar in specifying the path.
i was just concern on the path for the filename that will be supplied
to the File class, because it must include the "..\webapps\myapp" in order
to locate the file. i was assuming that i can just automatically s
Hi all,
This has nothing to do w/servlets or browsers but simply with
Tomcat. I'm wondering if it might be a bug in the way Tomcat
performs caching or handles HTTP headers. I'm using Tomcat v4.1.9
with JDK v1.4.1 on Win 2k.
This is a very simple situation. I have a Java client program
(see code
Hi,
I am using jakarta-tomcat-4.0.4. I
have deployed this on redhat Linux 7.3. Off late I am seeing that tomcat
server is going down and I have to go and restart it. Sometimes it goes
down every 2 days and some time only once a week. I cant track exactly
because it very inconsistent.
I'm using 1.3.1
"RUTHERFURD, Michael" wrote:
> System.setProperty came in in 1.2. What version are you using?
>
> -Original Message-
> From: Balasubramaniyan K [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 28 August 2002 13:11
> To: [EMAIL PROTECTED]
> Subject: Re: setProperty probl
Hi:
OK, i make the change and is running very well, thanks Gautam ..
Gautam Mudra wrote:
> Jose,
> try this
> Properties props=System.getProperties();
> props.put("mail.host","mpkmail.xyz.com");
>
> instead of
> System.setProperty("mail.host", "mail.xyz.com");
>
> Gautham
>
> >Delivered-To:
Randie,
This doesn't answer your question, but you should know that using
backslashes in this way is not a good idea. It will only work when your
Servlet is running on a Windows OS. It will fail on all kinds of Unix
systems and on MacOS X (which is a Unix system--FreeBSD, specifically).
If you w
Bonjour,
This has never worked (or only with old tomcats)
To use a bean in the default package, you have to import it or it is
searched in org.apache.jsp:
Generated servlet error:
F:\ApacheTomcat404\work\Standalone\localhost\ecomm\DevOffer$jsp.java:215:
Class org.apache.jsp.DevOffer not found.
Come
on, people.
-Original Message-From: L-Soft list server at Sun
Microsystems Inc. (1.8d) [mailto:[EMAIL PROTECTED]]Sent:
Tuesday, August 27, 2002 11:26 PMTo:
[EMAIL PROTECTED]Subject: Re:
Hello,congratulations> -- Virus Warning Message (on external-fw)
Nicholas
In my understanding, I think the JSP Compiler is expecting an import
statement that contains a ".". Anyways, if your class lies in the "default"
package (which effectively means that it has no package definition), just
remove the <%@ page import="DevOffer"%> statement, and it should work
Bonjour,
This has worked with Tomcat 4.0.4 to use a bean:
<%@ page import="DevOffer"%><%
DevOffer handler = (DevOffer)session.getAttribute("DevOffer");
if(handler==null) {
handler = new DevOffer();
}
%>
With tomcat 4.1.9, it générates an error:
2002-08-27 19:38:07 Error compi
using
the ServletContext object like
context.getRealPath("/");
this will give you
c:\\\webapps\myapp\ ( the start directory of your
context )
then get the file seperator
( using system.getProperty(file.seperator) ) then add it
to the string
OK I will right the
code.
Str
use
String title = TITLE.replace('"', '\'');
-Original Message-
From: Lance Prais [mailto:[EMAIL PROTECTED]]
Sent: 27 August 2002 21:57
To: [EMAIL PROTECTED]
Subject: Help with replacing a quotes
I am trying to replace '"'(Double quotes) with in a substring with
'''(Single quo
13 matches
Mail list logo