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
They don't contain the output of System.out?
Are you expecting them to?
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 dbeaureg...@vmware.com
To: Tomcat Users List users@tomcat.apache.org
Cc:
Sent: Friday, April 27,
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
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 =
To: Tomcat Users List users@tomcat.apache.org
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
23:22, Dola Woolfe wrote:
- Original Message
From: Caldarale, Charles R chuck.caldar...@unisys.com
To: Tomcat Users List users@tomcat.apache.org
Sent: Mon, June 28, 2010 5:54:47 PM
Subject: RE: How to make a webapp restart
From: Dola Woolfe [mailto:dolac...@yahoo.com
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
they've installed, and
how they've set those plug-ins.
On Tue, Jun 29, 2010 at 3:08 PM, Dola Woolfe dolac...@yahoo.com wrote:
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
, 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 Woolfe wrote:
Hi,
I set
response.setContentType
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:
- Original Message
From: Caldarale, Charles R chuck.caldar...@unisys.com
To: Tomcat Users List users@tomcat.apache.org
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
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
.
+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 Woolfe dolac...@yahoo.com
wrote:
Hi,
When developing a web application I
!
--- On Tue, 5/19/09, Dola Woolfe dolac...@yahoo.com wrote:
From: Dola Woolfe dolac...@yahoo.com
Subject: Re: How to hot swap classes?
To: Tomcat Users List users@tomcat.apache.org
Date: Tuesday, May 19, 2009, 12:51 PM
You mean like this
Context reloadable=true
in tomcat/conf/context.xml
, 2009, 12:59 PM
On Tue, May 19, 2009 at 9:55 AM, Dola
Woolfe dolac...@yahoo.com
wrote:
My apologies - worked as advertised!
The only thing I noticed is that it restarts the
webapp right away - and all of the webapps that depend on
the class.
Is this comment at the top of that file
Personally, I've just been running Tomcat standalone on port 80.
--- On Tue, 5/19/09, André Warnier a...@ice-sa.com wrote:
From: André Warnier a...@ice-sa.com
Subject: Re: Deploy Tomcat Standalone - good idea or not?
To: Tomcat Users List users@tomcat.apache.org
Date: Tuesday, May 19, 2009,
, Charles R chuck.caldar...@unisys.com wrote:
From: Caldarale, Charles R chuck.caldar...@unisys.com
Subject: RE: How to hot swap classes?
To: Tomcat Users List users@tomcat.apache.org
Date: Tuesday, May 19, 2009, 1:38 PM
From: Dola Woolfe [mailto:dolac...@yahoo.com]
Subject: Re: How to hot swap
steven.ya...@springsource.com
Subject: Re: How to refer to file?
To: Tomcat Users List users@tomcat.apache.org
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 example, new java.io.File(ThisDir
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 Open
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
/servlet-mapping
Nix.
From: Dola Woolfe dolac...@yahoo.com
To: Tom Cat tomcat-u...@jakarta.apache.org
Sent: Thursday, May 14, 2009 8:43:47 PM
Subject: .html pages as .jsp pages
Hi,
I need to give my jsp files the extension .html
1. How
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
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
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 hassan.schroe...@gmail.com wrote:
Screws up the inner links!
--- On Thu, 5/14/09, André Warnier a...@ice-sa.com wrote:
From: André Warnier a...@ice-sa.com
Subject: Re: .html pages as .jsp pages
To: Tomcat Users List users@tomcat.apache.org
Date: Thursday, May 14, 2009, 6:52 PM
Dola Woolfe wrote:
Exactly right.
I
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
/
fileset dir=${tomcatHome}/lib
include name=*.jar/
/fileset
/classpath
/taskdef
Dola Woolfe wrote:
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
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: Thursday, July 17, 2008, 10:51 PM
Hi,
I'm going
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
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
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 by the
server.
I thought that serialVersionUID was strictly a
function of members
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
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] wrote:
How do I configure Tomcat
--- 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 libraries that produce
HTML.
Now I want to move
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
--- 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
HTML.
Now I want to move the pages to a webhost
, Dola Woolfe [EMAIL PROTECTED]
wrote:
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
servlet-nameStartUp/servlet-name
servlet-classservlets.StartUp/servlet-class
load-on-startup1/load
%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, 2006 1:48 PM
To: Tomcat Users List
Subject: Re: Context starts twice
Hi,
I'm sorry, can you give
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 webapps. Thank you.
OK, how do I check wheather [I] have a separate
context
/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 you, by
they
way!!!) concerning IDE's for jsp development and
the
first thing I tried was sysdeo with eclipse
(webtools
next
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
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
servlet-nameStartUp/servlet-name
servlet-classservlets.StartUp/servlet-class
load-on-startup1/load-on-startup
I don't even know where to begin looking for the
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 my StartUp
servlet now runs twice in
a row when I start Tomcat. The web.xml entry is
servlet-nameStartUp
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
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,
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?
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)?
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
Filip
Dola Woolfe wrote:
Hi, (previous thread got sidetracked)
I'm working with the standard build.xml example
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
--- 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 with every version.
Sorry to get offtopic a bit but
I'm
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:
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.
Basically I wrote an applet that sends data to a
servlet. I do
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
--- 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 that sends data to a
servlet. I do it by forming a url with a query
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
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) then
--- 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.
%
if (display-nothing-only-forward) {
out.println(META to forward to another page
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
intended.
Robert
-Original Message-
From: Dola Woolfe [mailto:[EMAIL PROTECTED]
Sent: Friday, October 14, 2005 3:17 AM
To: Tomcat Users
60 matches
Mail list logo