Thank you and Christopher!
I appreciate the point about logging, but what if I am using a library that
utilizes System.out?
Thanks again,
Dola
- Original Message -
From: Derek Beauregard
To: Tomcat Users List
Cc:
Sent: Friday, April 27, 2012 1:31 PM
Subject: Re: Capturing System.ou
They don't contain the output of System.out?
Are you expecting them to?
Hi,
We just switched from Windows to Mac. On Windows, when we started tomcat in the
command window, a new window would pop up that contains all the output of
System.out. But on a Mac, no new window shows up and we are missing all the
output. Is there a quick fix to this?
Many thanks in advanc
Hi,
I'm missing something very basic. I will develop a web application with users
and authentication.
Surely, there exists a relatively generic approach to this that includes a
backend database, new user form and authentication rules! But I can't find. Can
someone direct me as to where to star
List
Sent: Tue, July 6, 2010 1:10:08 PM
Subject: Re: favicon when serving non-html
On 06/07/2010 15:10, Dola Woolfe wrote:
> Hi,
>
> When I serve up, say, a PDF file, how do I control the favicon?
>
> Here's my code:
>
>
>response.reset();
> response.se
Hi,
When I serve up, say, a PDF file, how do I control the favicon?
Here's my code:
response.reset();
response.setContentType(IOUtilities.gMIMEType(fn));
response.setHeader("Content-disposition", "inline; filename=" +
file.getName());
OutputStream outStream = response.getOutputS
29, 2010 4:05:51 PM
Subject: RE: How to make a webapp restart
> From: Dola Woolfe [mailto:dolac...@yahoo.com]
> Subject: Re: How to make a webapp restart
>
> but "not fire" I mean that init() does not get called.
Does the init() method get called later, when the servlet is act
s and how your Adobe Reader, Preview or Browser
plugins are configured may override the "inline"?
What browsers and OS's matter to you? Older IE versions are pretty sticky.
Firefox can be set to download no matter what.
Regards,
Dave
On Jun 29, 2010, at 12:08 PM, Dola Wo
27;ve set those plug-ins.
On Tue, Jun 29, 2010 at 3:08 PM, Dola Woolfe wrote:
> Hi,
>
> I set
>
> response.setContentType("application/pdf");
>
>
> as a result, the served up content triggers a "Download" rather than
> opening acrobat within browser w
les R"
To: Tomcat Users List
Sent: Tue, June 29, 2010 2:26:25 PM
Subject: RE: How to make a webapp restart
> From: Dola Woolfe [mailto:dolac...@yahoo.com]
> Subject: Re: How to make a webapp restart
>
> Whenever I recompile a library under tomcat/lib, I also
> "touch"
Hi,
I set
response.setContentType("application/pdf");
as a result, the served up content triggers a "Download" rather than opening
acrobat within browser window.
Do I get to control what happens at client end? I want acrobat to open within
browser.
How do I achieve that?
Thanks,
Dola
has started
but a 1 servlet does not fire again. What's
the explanation.
Thanks again,
Dola
- Original Message
From: Pid
To: Tomcat Users List
Sent: Tue, June 29, 2010 5:16:41 AM
Subject: Re: How to make a webapp restart
On 28/06/2010 23:22, Dola Woolfe wrote:
>
>
- Original Message
From: "Caldarale, Charles R"
To: Tomcat Users List
Sent: Mon, June 28, 2010 5:54:47 PM
Subject: RE: How to make a webapp restart
> From: Dola Woolfe [mailto:dolac...@yahoo.com]
> Subject: How to make a webapp restart
>
> What setting makes
Hi,
What setting makes a webapp restart when a .jar changes under tomcat/lib?
Many thanks in advance,
Dola
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomca
RE: How to hot swap classes?
> To: "Tomcat Users List"
> Date: Tuesday, May 19, 2009, 1:38 PM
> > From: Dola Woolfe [mailto:dolac...@yahoo.com]
> > Subject: Re: How to hot swap classes?
>
> > Where do I find the context.xml for a specific
> webapp?
>
Personally, I've just been running Tomcat standalone on port 80.
--- On Tue, 5/19/09, André Warnier wrote:
> From: André Warnier
> Subject: Re: Deploy Tomcat Standalone - good idea or not?
> To: "Tomcat Users List"
> Date: Tuesday, May 19, 2009, 4:37 PM
> johnrock wrote:
> > I am going to be
Thanks!
Where do I find the context.xml for a specific webapp?
--- On Tue, 5/19/09, Hassan Schroeder wrote:
> From: Hassan Schroeder
> Subject: Re: How to hot swap classes?
> To: "Tomcat Users List"
> Date: Tuesday, May 19, 2009, 12:59 PM
> On Tue, May 19, 2009
-- On Tue, 5/19/09, Dola Woolfe wrote:
> From: Dola Woolfe
> Subject: Re: How to hot swap classes?
> To: "Tomcat Users List"
> Date: Tuesday, May 19, 2009, 12:51 PM
>
> You mean like this
>
>
>
> in tomcat/conf/context.xml
>
> Seems to have ha
ur
> Associate - Technology,
> Sapient Corporation.
>
> +44 (0) 7514 996 586
>
> http://www.linkedin.com/in/anuragkapur
> ------
> Sent from London, Eng, United Kingdom
>
> On Tue, May 19, 2009 at 5:28 PM, Dola Wool
Hi,
When developing a web application I change my classes all the time and
therefore need to restart tomcat every time. Is there a way to avoid restarting
tomcat? Could it hot swap the new class in?
(It does somehow hot swap recompiled .jsp's doesn't it?)
Many thanks in advance,
Dola
Hi,
In a recent email, I asked how to make Eclipse treat html files and jsp files.
In other words, I want to give my jsp files extension html.
I following the advice going to Window->Pref->Gen->Editors->Files Associations.
But it had no effect. Even when I right-click on the file and choose Op
es
> Subject: Re: How to refer to file?
> To: "Tomcat Users List"
> Date: Monday, May 18, 2009, 1:28 AM
> Dola Woolfe wrote:
> > Hi,
> >
> > Within a .jsp document, is there a way of referring to
> a file in same directory?
> >
> > For ex
Hi,
Within a .jsp document, is there a way of referring to a file in same directory?
For example, new java.io.File(ThisDir, "FileName.txt").
Thanks,
Dola
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
Karthik
>
>
>
>
> -Original Message-
> From: Nikola Milutinovic [mailto:alok...@yahoo.com]
> Sent: Friday, May 15, 2009 4:45 PM
> To: Tomcat Users List
> Subject: Re: .html pages as .jsp pages
>
> Well, it should be relatively simple. Add the following
Screws up the inner links!
--- On Thu, 5/14/09, André Warnier wrote:
> From: André Warnier
> Subject: Re: .html pages as .jsp pages
> To: "Tomcat Users List"
> Date: Thursday, May 14, 2009, 6:52 PM
> Dola Woolfe wrote:
> > Exactly right.
> >
> > I
Exactly right.
I produce my static content programmatically.
Many pages are too complex to be generated otherwise.
Also, I get to write java not html.
When I want to change a font, I do it in one place not 1000 places.
--- On Thu, 5/14/09, Hassan Schroeder wrote:
> From: Hassan Schroeder
> Su
I create pages dynamics pages in JSP. That way I control dynamic content and
look at feel.
Then I "wget -m" the whole website and upload it to the server where it acts
as static content and I want all of my pages to have the usual .html extension.
Let me know if you think the whole approach
Hi,
I need to give my jsp files the extension .html
1. How do I configure tomcat to treat .html files as .jsp files?
2. Off topic? How do I set up Eclipse so that .html files are opened with the
same editor as .jsp files and give me all of the syntax highlighting, etc.
Many thanks in advance,
day, September 18, 2008, 2:21 PM
> Try something like
>
> classname="org.apache.jasper.JspC"
> name="jasper2" >
>
> location="${java.home}/../lib/tools.jar"/>
>
>
>
> location="$
Hi,
Just upgraded my Tomcat from 5.5 to 6.0 and noticed that my JspC task in
build.xml is no longer working. The documentation for 6.0 quote is below, but
with 6.0 there seems to be no such thing as server/lib and common/lib, so
something is not right. Could someone plese tell me how to fix thi
Just as a quick follow up, this works in Firefox, but not in IE.
--- On Thu, 7/17/08, Dola Woolfe <[EMAIL PROTECTED]> wrote:
> From: Dola Woolfe <[EMAIL PROTECTED]>
> Subject: Changing content type on reload
> To: "Tom Cat" <[EMAIL PROTECTED]>
> Date
Hi,
I'm going to attempt asking a question by giving incomplete information but I
am still hoping to get an answer. The complete story would be too cumbersome to
describe.
Basically here's a snippet of my code:
<[EMAIL PROTECTED] errorPage="ErrorPage.jsp"
contentType="application/x-java-jnlp-
Hi,
I guess the subject asks the question...
I have two different webapps and I want them to be
able to share objects. Can that be done? I guess it
sounds like an FAQ but I can't find the answer.
Thanks!
Aaron
-
To
rialVersionUID
>
> Yuval Perlov
> www.r-u-on.com
>
> On May 17, 2008, at 7:16 AM, Dola Woolfe wrote:
>
> Hi,
>
> I get
>
> java.io.InvalidClassException
>
> when I send a serialized class from an application
> launched by Eclipse to a JSP page, compiled b
Hi,
I get
java.io.InvalidClassException
when I send a serialized class from an application
launched by Eclipse to a JSP page, compiled by the
server.
I thought that serialVersionUID was strictly a
function of members, signatures, etc - but that
doesn't appear to be the case.
A workaround is to
Hassan, that's terrific, thank you!
Would you happen to know how to get Eclipse to parse,
compile, and highlight .html's the same way it does
.jsp's?
Thanks again!
Dola
--- Hassan Schroeder <[EMAIL PROTECTED]>
wrote:
> On 9/19/07, Dola Woolfe <[EMAIL PROTECTED]>
--- Hassan Schroeder <[EMAIL PROTECTED]>
wrote:
> On 9/15/07, Dola Woolfe <[EMAIL PROTECTED]> wrote:
>
> > I have built a website with Tomcat, but all the
> pages
> > are essentially static, as there are no forms,
> etc. I
> > used JSP because I have li
--- Mladen Turk <[EMAIL PROTECTED]> wrote:
> Dola Woolfe wrote:
> > Hi,
> >
> > I have built a website with Tomcat, but all the
> pages
> > are essentially static, as there are no forms,
> etc. I
> > used JSP because I have libraries that produce
>
Hi,
I have built a website with Tomcat, but all the pages
are essentially static, as there are no forms, etc. I
used JSP because I have libraries that produce HTML.
Now I want to move the pages to a webhost that doesn't
support JSP so basically I need to convert my pages to
static.
"wget -m" wor
resent in other folders in the tomcat
> installation? If yes,
> then check if their path attribute is set to
> something different from
> their folder names?
>
> --
> Vivek.
>
> On 3/30/06, Dola Woolfe <[EMAIL PROTECTED]> wrote:
> > OK, I see it - it's &q
te:
> Appbase is an attribute defined in your
> %tomcat_home%/conf/server.xml file.
> It should be a "sub-attribute" under your HOSTS
> attribute.
>
>
> -Original Message-
> From: Dola Woolfe [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 29, 20
our context
> once with the
> > context.xml file and once with the WAR
> >
> >
> > Good luck !
> > Jean-Philippe Boily
> >
> > On 3/27/06, Dola Woolfe <[EMAIL PROTECTED]>
> wrote:
> > > Hi,
> > >
> > > I don't k
calling
> twice to the init ???
>
> regards
>
> -Original Message-
> From: Dola Woolfe [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 27, 2006 3:42 PM
> To: Tom Cat
> Subject: Context starts twice
>
> Hi,
>
> I don't know what I did wrong, but
Hi,
I don't know what I did wrong, but my StartUp servlet
now runs twice in a row when I start Tomcat. The
web.xml entry is
StartUp
servlets.StartUp
1
I don't even know where to begin looking for the
error. Do you have any suggestions?
Many thanks in advance!
Dola
___
Hi,
If I have eclipse (and sysdeo) up and running already,
what do I need to download to install WTP. I
downloaded the all-in-one package, but that seems to
have everything, including Eclipse! I'm afraid that if
I were to use that it'll overwrite my current settings
and other plugins in the Eclips
pplications.
> However if you want syntax highlighting/autocomplete
> in your jsp files
> you should also install WTP from Eclipse.
>
> Cheers,
>
> Ovidiu
>
>
> Dola Woolfe wrote:
> > Hi,
> >
> > I'm evaluating everyone's advice (thank yo
Hi,
I'm evaluating everyone's advice (thank you, by they
way!!!) concerning IDE's for jsp development and the
first thing I tried was sysdeo with eclipse (webtools
next, then netbeans).
Boy, am I getting a surprise. So I created a Tomcat
Project (right?) and pointed to the directory that
already
; pasting some of your
> build file? Especially around line 21.
>
> On 3/13/06, Dola Woolfe <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > After 3 years of using JBuilder, I have conclued
> that
> > it is unusable. It was almost unusable in version
>
Hi,
Trying out the eclipse approach, and downloaded the
sysdeo plugin, but can you suggest the first step to
take to invoke the plug in. Not sure how to begin and
can't find the howto...
Thank you!
Dola Chin
__
Do You Yahoo!?
Tired of spam? Yahoo
Hi,
I'm evaluating a number of different ide's for jsp
approaches include Emacs + Ant. How do I make Emacs
"recognize" the jsp format? If you have an answer, can
you please give all the details (where to get what and
to put where)?
Thanks!
Dola
__
Hi,
Following the advice of the mailing lists members, I'm
trying to work with Eclipse. I've learned that to do
tomcat development I need to download an appropriate
plugin and that there are seveal to choose from. Can
someone recommend a good one (or is there a best one,
or the most common one)?
--- Ryan McDonald <[EMAIL PROTECTED]> wrote:
>
> On 16-Mar-06, at 12:00 PM, Dola Woolfe wrote:
>
> > Here's lines 17-22
> >
> > > validateXml="false"
> > uriroot="${webapp.path}"
Hi,
Sorry for being persistent, but I still can't seem to
compile my jsp with jasper. I'm using essentially the
default build.xml and getting the following error (no
idea what it means or referring to)
C:\Dola\build.xml:21:
org.apache.jasper.JasperException: The -uriroot option
must specify a pre
s
> Tomcac would runtime, and
> you will not lose the ability to recompile JSP files
> post tomcat start.
> huge benefit if you feel the need to patch JSP
> pages, but want to gain
> the benefit of precompilation.
>
> http://people.apache.org/~fhanik/precompile.html
>
Hi, (previous thread got sidetracked)
I'm working with the standard build.xml example and
the
command
ant -v jspc -Dtomcat.home=C:/Dola/tomcat
-Dwebapp.path=C:/Dola/tomcat/webbapps/projecta
causes the following error when executed from the
C:\Dola\MyProject directory:
C:\Dola\MyProject\build.xml
--- Steve Ochani <[EMAIL PROTECTED]> wrote:
> On 13 Mar 2006 at 14:25, Dola Woolfe wrote:
>
> > Hi,
> >
> > After 3 years of using JBuilder, I have conclued
> that
> > it is unusable. It was almost unusable in version
> 9,
> > but became worse
Hi,
After 3 years of using JBuilder, I have conclued that
it is unusable. It was almost unusable in version 9,
but became worse with every version.
I'm back in Emacs and started learning Ant. I'm
working with the standard build.xml example and the
command
ant -v jspc -Dtomcat.home=C:/Dola/tomcat
Hi,
I have a file sound.wav sitting alongside my .jsp
files and when I point the browser to that file, I get
the error below. This has just started happening - I
don't know what I changed. Previously, it would just
serve up the file. In any case, here's the error:
type Exception report
message
--- Bill Barker <[EMAIL PROTECTED]> wrote:
>
> "Dola Woolfe" <[EMAIL PROTECTED]> wrote in message
>
news:[EMAIL PROTECTED]
> > Hi,
> >
> > This question will reveal how little I know about
> > networking or http or something else.
&
--- Leon Rosenberg <[EMAIL PROTECTED]>
wrote:
> On 1/20/06, Dola Woolfe <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > This question will reveal how little I know about
> > networking or http or something else.
> >
> > Basically I wrote an applet t
Hi,
This question will reveal how little I know about
networking or http or something else.
Basically I wrote an applet that sends data to a
servlet. I do it by forming a url with a query string
(GET). But this doesn't work when there's too much
data.
What are my options?
Is it possible to use P
Hi,
I'd like to use java 1.5 features in my jsp code, in
particular generics. But the jasper compiler really
doesn't like it. Any setting to fix this:
org.apache.jasper.JasperException: Unable to compile
class for JSP
An error occurred at line: 2 in the jsp file:
/MBInit.jsp
Generated servlet er
> >What could that be? In the tomcat console window, I
> >get no indication that something is not right.
> >
> >
> >
>
> First you still should be presenting a well formed
> HTML page to the
> browser. I think I'm correcting in stating that
> should
> exiting inside , but you still should em
Sorry, forgot to paste.
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import html.*;
public final class ErrorPage_jsp extends
org.apache.jasper.runtime.HttpJspBase
implements
org.apache.jasper.runtime.JspSourceDependent {
private
--- "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote:
> It might be interesting to look at the class file
> generated from your
> JSP... many times things like this become fairly
> obvious when you see the
> code that is actually being executed.
Here's the entire generated file and the troubling
--- Bob Bateman <[EMAIL PROTECTED]> wrote:
> On Fri, 4 Nov 2005 11:14:19 -0800 (PST)
> Dola Woolfe <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > In one of my JSP pages (ErrorPage.jsp) I have the
> > following code.
> >
> > <%
>
Hi,
In one of my JSP pages (ErrorPage.jsp) I have the
following code.
<%
if (display-nothing-only-forward) {
out.println("");
// return;
}
//Lot's more code
%>
It works, but prints out unnecessary html before it
forwards. But if I uncomment "return" it stops
working. I get
HTTP 500 - Intern
Hi,
I'm adding a level of security to my web applicaiton.
Certain pages are only available to certain users.
So the page first checks wither the user is authorized
to view it. If yes, it displays the page. Otherwise it
offers to login.
I don't want to do this with a (short) "if" and a
(long) "the
wsgroups for you but I
> > can't remember anything about how I found them. I
> think they had their own
> > private news server and that you could access it
> for free without having to
> > buy the product but I can't recall how to
> subscribe to the newsgrou
Hi,
Those (very few) of you who use JBuilder for Tomcat
development know that JB insists on copying .class
files into the WEB-INF/classes directory for you.
Ordinarily, this is ok, but with the new version of
JBuilder (2006), in one of the diectories it decides
to copy 67 out of 78 files.
1. Has
t to use smart shell scripting for this...) Then,
> add your two
> top/bottom JSPs and you are done with your JSPs.
>
> And don't forget your servlet classes: If any of
> your web requests are
> served by a servlet, you have to add the try/catch
> block to the servlet
>
ace analysis
> above is
> perfect. The other down side of this approach is
> that future
> versions of Java and/or Tomcat may change the
> exception message
> texts and/or the structure of the stack trace. But
> currently
> (JDK 1.5 / Tomcat 5.5) this approach does what was
> i
I don't want happening is for the "Connection
reset by peer: socket write error" to be displayed in
the console window.
Given this detailed information, would you mind
refining your recommendation?
Thank you very much in advance,
Dola Chin
--- Bill Barker <[EMAIL PROTECTE
that Engine."
>
> You give each application its own host and it should
> work fine. You can
> also use alias tags inside a host tag if you want an
> application to be
> available for multiple hosts.
>
> Jilles
>
>
>
> Dola Woolfe wrote:
> > Hi,
74 matches
Mail list logo