Using the manager app (/manager/status) I am seeing multiple threads in
the 'Service' mode with times of well over 60 minutes! Here is an
example:
Stage TimeB Sent B Recv Client VHost Request
S 5192947 ms 0 KB0 KB67.152.68.16dev1.mycompany.com
GET /
and hasn't sent anything.
--- Bovy, Stephen J [EMAIL PROTECTED] wrote:
MaxThreads
Stephen Bovy
Computer Associates
6100 Center Drive
Suite 700
Los Angeles, CA 90045
Tel: (310) 957-3930
Fax: (310) 957-3917
e-mail: [EMAIL PROTECTED]
-Original Message-
From: August
Does tomcat ever close a connection once it is in the 'Service' mode?
Using the manager app (/manager/status) I am seeing multiple threads in
the 'Service' mode with times of well over 60 minutes! Here is an
example:
Stage TimeB Sent B Recv Client VHost Request
S 5192947 ms
If you use response.getOutputStream() to get an output stream for
binary data such as PDF or images, do you need to explicitly close that
stream when you are done writing to it or does the servlet container do
it for you automatically?
Thanks,
August
In my webapp I force clients to use SSL encryption for logins with a
security constraint and transport-guarantee elements like this:
security-constraint
web-resource-collection
web-resource-nameLogin/web-resource-name
url-pattern/login/*/url-pattern
Is there no way to do it? SSL creates a lot of overhead for a site that
is serving up 100MB image files.
--- Tim Funk [EMAIL PROTECTED] wrote:
no
-Tim
August Detlefsen wrote:
In my webapp I force clients to use SSL encryption for logins with
a
security constraint and transport
Where do you get the non-buggy version? The TC 5.5 release notes don't
mention anything changing in jsvc since version 5.5.3.
Is 5.5.9 now released? Does it include the jsvc fixes?
--- Bill Barker [EMAIL PROTECTED] wrote:
August Detlefsen [EMAIL PROTECTED] wrote in message
news
One mroe question:
If you are using jsvc can you still use the
$CATALINA_HOME/bin/[shutdown|startup].sh scripts to do manual tomcat
restarts?
--- August Detlefsen [EMAIL PROTECTED] wrote:
Where do you get the non-buggy version? The TC 5.5 release notes
don't
mention anything changing
In TC 5.5.7, the tomcat start/stop script for Linux/Solaris
(/etc/init.d/tomcat) stops tomcat by simply killing the process:
stop)
#
# Stop Tomcat
#
PID=`cat /var/run/jsvc.pid`
kill $PID
;;
Do user sessions ever get a chance to be serialized if tomcat is
stopped in
Tomcat: 5.5.7
Java: 1.5.0_02
OS: SunOS 5.9 (Solaris 9)
I am getting the following errors in my catalina.out:
Apr 5, 2005 11:26:57 AM org.apache.catalina.startup.HostConfig
deployDescriptor
SEVERE: Error deploying configuration descriptor ROOT.xml
java.lang.NoClassDefFoundError
at
Every once in a while when I am compiling JSPs I get this error:
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated
Can someone please post an example of the stack trace produced when
abandoned connections are logged?
I am seeing stack traces like these in my logs and I'd like to know if
they are coming from abandoned connections:
2003-10-08 10:17:25 StandardWrapperValve[admin]: Servlet.service() for
Which JVM are you using to load the applets?
--- Turner, John [EMAIL PROTECTED] wrote:
My company uses IE exclusively, and while we don't use 4.1.x in
production
yet, we have been doing a significant amount of testing and have not
seen
this problem.
If it works in one browser but not
guessing not if you dont
know
what it is), comment or delete the line LoadModule jk_module
mentioned above
and also the line AddModule mod_jk.c in your httpd.conf file (this
line may
not be present).
have phun
-t0bes
-Original Message-
From: August Detlefsen [mailto:[EMAIL
I am seeing this error in my log files when I startup tomcat:
mod_jk location: libexec/mod_jk.so
Make sure it is installed corectly or set the config location
Using ApacheConfig modJk=PATH_TO_MOD_JK.SO_OR_DLL /
Starting service Tomcat-Apache
There is no mention of it in the list archives.
In order to use the manager app, you have to have the role 'manager'
defined for your username.
--- IT-INDIA.com [EMAIL PROTECTED] wrote:
hi,
I have installed TomCat 4.0.4 on W2K.
Everything seems OK. I can access the
examples and run them thru http://localhost:8080
Now when I access
Has anyone ever seen this error before? I am trying to build the latest
version of the connectors and I run into this error when trying to
compile:
[javac]
/root/dl/jakarta-tomcat-connectors-4.0.4-src/coyote/src/java/org/apache/coyote/tomcat4/CoyoteServerSocketFactory.java:102:
I have it running just fine with TC 4.0.4 on Linux. I did have to tweak
it quite a bit though. Let me know what kind of prolems you are
having...
-August
--- Adrian [EMAIL PROTECTED] wrote:
I tried it today with 4.0.4 but, there were parsing errors, I was
able to get it to run on FreeBSD
I've integrated Apache 2.0.39 with TC 4.0.4, but it is not picking up
index.jsp as a welcome file. index.jsp does load fine if you explicitly
specify it in the URL, however:
works: http://www.myserver.com/index.jsp
not: http://www.myserver.com/
works: http://www.myserver.com/index.html
I've
You need to download and build version 1.50 of mod_jk.c from CVS. The
version distributed in jakarta-tomcat-connectors-4.0.4-src.tar.gz is
1.44.
-August
--- August Detlefsen [EMAIL PROTECTED] wrote:
I've integrated Apache 2.0.39 with TC 4.0.4, but it is not picking up
index.jsp as a welcome
I tried using the WebDAV servlet some time back, but it doesn't work as
well as I'd hoped (at least, with DW UltraDev that my developers
demanded). If you are using Apache-Tomcat you can try mod_webdav
instead, though it requires a separate port for each virtual host. If
you need, I can post the
to allow access to the
ROOT context, but only from this one app?
-August
--- Craig R. McClanahan [EMAIL PROTECTED] wrote:
On Sun, 14 Jul 2002, August Detlefsen wrote:
Date: Sun, 14 Jul 2002 23:15:53 -0700 (PDT)
From: August Detlefsen [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL
This will work, but then I'd have to add a different servlet definition
for each cobrand (and code the views with different references as
well?). There must be a simpler way..?
--- Henner Zeller [EMAIL PROTECTED] wrote:
Hi,
I know I can treat the servlets as a separate webapp and deploy
I am currently developing several cobranded sites that share the same
functionality. I want to be able to share the same set of servlets
across multiple cobrands.
I know I can treat the servlets as a separate webapp and deploy them to
each separate host, but if I do this, will they be able to
If I reload a context using the manager, Objects in my session get
serialized -but where do they go?
Are they actually written somewhere or only stored in memory?
Do Objects get serialized when you do a full Tomcat restart? If so,
where? Is there any chance that an Object could survive a full
Aha. Thanks! I never found them before because that file is deleted
from the filesystem as soon as it is read back in...
--- Craig R. McClanahan [EMAIL PROTECTED] wrote:
On Fri, 12 Jul 2002, August Detlefsen wrote:
Date: Fri, 12 Jul 2002 18:31:01 -0700 (PDT)
From: August Detlefsen
--- Charles Baker [EMAIL PROTECTED] wrote:
Not saying you're wrong or right, but what do you see
as the glaring holes in Postgres 7.2? And certainly
not wanting to start any flame wars.
I started using Postgres about a year ago after many Oracle-based
projects. The biggest things I have
Don't forget www.mail-archive.com. They have a great search tool for
this list (and many many others):
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/
-August
--- Liam Morley [EMAIL PROTECTED] wrote:
Milt,
I'm probably coming into this a bit late in the game (and a bit
--- Milt Epstein [EMAIL PROTECTED] wrote:
On 26 Jun 2002, Keith Pemberton wrote:
Well, I'm not sure mod_jk will be any different. And is this any
more
than a minor aesthetic issue?
Not when most of your users can barely type one / , much less two!
FWIW, here's something a bit weird,
Is there a way to list all of the JNDI Resources that are loaded for a
particular context?
__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
You can put parameters such as this in web.xml for each webapp:
context-param
param-nameserviceProvider/param-name
param-valueservice1/param-value
descriptionThis is the description/description
/context-param
Then you can get them in your servlet using:
If you are trying to insert a NULL into a NOT NULL column (or are
trying to insert special chars or the String is too long), you should
get a SQLException, not a NullPointerException.
You should recheck that you are actually getting a valid Connection
--- Eddie Bush [EMAIL PROTECTED] wrote:
This would work, but mod_rewrite and mod_webapp interfere with each
other - webapp grabs all URLs before rewrite has a chance to work on
them...
--- Ralph Einfeldt [EMAIL PROTECTED] wrote:
Store all files in lower case and write a filter
that tranforms any requested jsp name to lower
case.
That is interesting. I always thought perl was better for big text
searches...
Did you give it a database backend?
What API are you using for the search?
Or is your performance improvement strictly due to the precompiled
always-on nature of servlets (as opposed to interpreted perl)?
-August
But how many of these IDEs work remotely? Those of us who can only make
ssh connections to our servers are stuck with emacs and ant...
I have tried IntelliJ IDEA and it works over WebDAV (mount the webapp
as a drive using WebDrive or similar), but then you have to deal with
WebDAV slowness...
How do I get line numbers in my stack trace?
All the org.apache and javax class show line numbers, but my classes do
not:
java.lang.NullPointerException
at showplan.Controller.dispatchContentAction(Controller.java)
at showplan.Controller.service(Controller.java)
at
LoL @ Oracle. It works great with Postgres!
--- Power-Netz (Schwarz) [EMAIL PROTECTED] wrote:
If you are using JDBC 1.2 you can do it like this (snippet):
//declare your Statement to return a scroll insensitive result set
//before you make the query
stmt =
with -g.
- If you did it and you still don't get the numbers,
it may help to disable the jit/hotspot compiler.
-Ursprüngliche Nachricht-
Von: August Detlefsen [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 12. Juni 2002 09:56
An: Tomcat Users List
Betreff: Line Numbers
What error are you getting?
--- Juan [EMAIL PROTECTED] wrote:
This piece of code don't work if the '@' is not found:
String em = usuario.getEmail();
int p = em.indexOf('@');
out.println(Integer.toString(p));
if the '@' is within the string, it works well. Why?
Am I correct in assuming you want the number of rows BEFORE you iterate
the result set?
If you are using JDBC 1.2 you can do it like this (snippet):
//declare your Statement to return a scroll insensitive result set
//before you make the query
stmt =
There seem to be a million libraries out there for reading and parsing
XML, but how can I WRITE XML?
I essentially want to take a Collection of Objects (like a List of
Strings) and create an XML Object from that (That I could save to the
filesystem or a database, or pass along to another
Thanks Craig, the DTD from servlet.jar was just what I needed.
-August
--- Craig R. McClanahan [EMAIL PROTECTED] wrote:
On Fri, 7 Jun 2002, August Detlefsen wrote:
Date: Fri, 7 Jun 2002 16:54:28 -0700 (PDT)
From: August Detlefsen [EMAIL PROTECTED]
Reply-To: Tomcat Users List
Ralph, you mention using jikes as a possible alternative...
Will jikes work with JDK 1.4?
Are there any other benefits to using jikes besides the memory leak
issue?
-August
--- Dave Hladky [EMAIL PROTECTED] wrote:
Rick Fincher wrote:
The javac in J2SE 1.4 has the memory leak 1.1.1
Where can I find the DTD for web.xml? I want to make sure I have the
elements in the correct order.
Thanks,
August
__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
--
To unsubscribe, e-mail:
Works for me... I have about 10 virtual hosts sharing the same
connection.
--- Nikola Milutinovic [EMAIL PROTECTED] wrote:
You only need one WebAppConnection statement - The same connection
is
shared by multiple vhosts/webapps. Try it like this:
WebAppConnection conn warp
You only need one WebAppConnection statement - The same connection is
shared by multiple vhosts/webapps. Try it like this:
WebAppConnection conn warp localhost:8008
VirtualHost 193.10.10.25
DocumentRoot /path/to/website1
ServerName www.website1.org
WebAppDeploy website1 conn /website1
Still having this problem? I think in here you need to add rs.next() or
rs.first() to move to the first row of the ResultSet before you call
rs.getString():
if (bPageExists)
{
sQuery = SELECT * FROM tblforms WHERE PageOrder = + iPage;
stmt = conn.createStatement();
rs =
Is this also supported in TC 4.x?
--- Larry Isaacs [EMAIL PROTECTED] wrote:
I don't believe Tomcat 3.2.x supports auto-serving the
webapps directory for hosts other than the default host.
However, this is supported in Tomcat 3.3.x. The
AutoWebApp ... element in the server.xml file
If you want certain session data to not be serialized, just make those
variables transient in whatever bean classes you are using in session.
This will prevent just those variables from being saved.
public class UserBean implements Serializable {
private String username;
private transient
Seems to be working for me. Of course I find the fact that the whole
sun.com site is static html and cgi very disheartening...
--- Milind Nirgun [EMAIL PROTECTED] wrote:
This post is not directly tomcat related but since most people on the
list
would be frequent browsers of the java
Make sure you have the latest version of mod_webapp installed. There
was a bug in multipart handling in earlier versions.
--- Lawlor, Frank [EMAIL PROTECTED] wrote:
We have been using the O'Reilly multipart upload code, but
are having problems uploading image (jpg, gif) files. I have
So does anyone know if this is scheduled to be fixed in 4.0.4? Is there
a change log on the site?
What about 4.1? Is it released yet? The docs in the 4.1 section all
refer to 4.0.x.
--- Valera Molyakov [EMAIL PROTECTED] wrote:
I completely agree with Nikola !
After numerous attempts I too
Implement the CGIServlet.
In $CATALINA_HOME/conf/web.xml, uncomment:
servlet
servlet-namecgi/servlet-name
servlet-classorg.apache.catalina.servlets.CGIServlet/servlet-class
init-param
param-nameclientInputTimeout/param-name
param-value100/param-value
/init-param
I have had the same problem. Usually I'll make a stored procedure for
inserts that takes as parameters the values you wish to store, inserts
the new row and returns the new ID.
This is for Postgres, but you can adapt it to your DB:
CREATE FUNCTION new_row(INTEGER, VARCHAR, VARCHAR, DATE, DATE,
Normally it will ask you again and again until you click cancel. Do you
have some special configuration?
--- Collins, Jim [EMAIL PROTECTED] wrote:
Any Apache gurus out there who know how I can force Apache to give a
user
more than one login attempt if they enter the wrong user name or
Try this:
LoadModule webapp_module libexec/mod_webapp.so
AddModule mod_webapp.c
WebAppConnection warpConnection warp 64.105.155.196:8008
WebAppDeploy examples warpConnection /examples
--- zonker harris [EMAIL PROTECTED] wrote:
Hey all,
I've set up Tomcat, I've put mod_webapp.so into
Define the default servlet for each webapp in which you need a
different setting (in WEBAPP_DIR/WEB-INF/web.xml).
--- Chad Perry [EMAIL PROTECTED] wrote:
I know I can turn off directory listing for the entire tomcat 4.0.3
server via the conf/web.xml:
servlet
.
.
.
You can already donate to thousands of charities (including Apache and
EFF) using JustGive.org. Because they are sponsored, they are able to
send 100% of your donation to the charity and there is no added service
fee.
http://www.justgive.org
--- Christopher Reed [EMAIL PROTECTED] wrote:
There are JDBC drivers for Access out there, but you have to pay for
them:
http://www.idssoftware.com/jdbcdrv.html
http://www.atinav.com/products/aveconnect/MSAccess.htm
(I have no idea how either of these performs though)
--- chuck amadi [EMAIL PROTECTED] wrote:
Adrian Beech wrote:
Is there a difference between $CATALINA_HOME/lib and
$CATALINA_HOME/common/lib ?
Does it matter whether something is deployed in one or the other?
__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
--
To
Can anyone give me an example of a config to do this?
My setup is:
Apache 1.3 using mod_webapp to connect to Tomcat 4.0.2
I have multiple virtual hosts defined (in server.xml and
httpd.conf) that I want to access via Slide's WebDAV component.
Looking at the server.xml that came with
How do I implement security using the WebdavServlet? mod_dav uses a
standard .htpasswd file to track the various developers' logins, is
this similar?
Can I limit the types of DAV actions that can be performed?
Where is the DAV lock information stored?
Does anyone know the possible init-params
--- Remy Maucherat [EMAIL PROTECTED] wrote:
How do I implement security using the WebdavServlet? mod_dav uses a
standard .htpasswd file to track the various developers' logins, is
this similar?
It uses the standard security provided by the container.
So I have to configure a Realm? Or
Thanks a lot Remy, I've got it working for everything except PUT.
I notice in the source that the PUT method is not implemented in
WebdavServlet. Is this supposed to be handled by the DefaultServlet?
--- Remy Maucherat [EMAIL PROTECTED] wrote:
--- Remy Maucherat [EMAIL PROTECTED] wrote:
Search the list!
I posted my whole virtual hosts config for Apache 1.3/TC 4 ages ago and
it works like a champ.
--- Thomas Cherry [EMAIL PROTECTED] wrote:
I agree. I gave up trying to get tomcat and apache to talk together
and
would have loved better documentation, and perhaps examples
The stack trace says that your NullPointer occurs on line 45, but line
45 is blank. Is there some more code that you didn't ost? Import
statements, perhaps?
I think it probably happened here:
stmt = con.createStatement();
-IE: You were not able to get a Connection, con is null and calling
I loved the IntelliJ demo I saw at JavaOne, but I need the ability to
edit files that are actually ON the server, without downloading them
all to my local environment.
Does anyone offer an IDE that can do this without using NFS (say over
an SSH connection)?
--- Mark Shaw [EMAIL PROTECTED]
.
- Original Message -
From: August Detlefsen [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, April 05, 2002 3:00 PM
Subject: RE: Kinda not topical
I loved the IntelliJ demo I saw at JavaOne, but I need the ability
to
edit files that are actually ON the server
I setup the CGIServlet for one of my customers using a perl CGI. After
much debugging and delving into perl code, we tried switching the
form's POST method to GET and it worked fine after that.
Does CGIServlet not support POST?
-August
__
Do
as white
space no line break ..
plz help me
try to find out ...with more people
and thanx a lot for ur support
Reagrds
Puneet Sachar
e-Developer
Shyama software solutions
New Delhi
91-011-4675836
--- August Detlefsen [EMAIL PROTECTED] wrote:
Puneet,
Are the entries stored
Puneet,
Are the entries stored in the DB with the line breaks? Do you just need
a way to translate \n or \r\n to BR for display on the HTML page?
--- puneet sachar [EMAIL PROTECTED] wrote:
Hello fellow developer
I got stuck somewhere
actually there is a form which collect the detail
For virtual hosts, you have to create the webapp connection AFTER you
specify the NameVirtualHost, like this:
NameVirtualHost 12.34.56.78
# create the webapp connection
WebAppConnection conn warp localhost:8008
WebAppInfo /webapp-info
Then actually deploy the webapps within your
I am using Apache 1.3 and TC 4.
Do I need to restart Apache every time I restart Tomcat, or only when
the Apache-Tomcat configuration changes?
For example, if I only make changes to the classes in
$TOMCAT_HOME/classes or $TOMCAT_HOME/lib I know I need to restart
Tomcat, but do I need to
This is definately a RTFM issue, buuut:
Put your .jar files in: /path/to/tomcat/lib
There is no need to change the classpath, TC picks it up automatically
when it is started.
--- Leila Lappin [EMAIL PROTECTED] wrote:
Hi all,
I'm trying to set up tomcat and port an application that I
Sorry, Leila, my comment was not meant to offend, but yours is the #1
question asked on this list (Where do I put my jar files?).
Hmmm... There really should be a FAQ for all this stuff...
--- Leila Lappin [EMAIL PROTECTED] wrote:
I have been reading the documentation but IMHO they are
Not the same...
How many people even know what a class loader is when they start using
Tomcat..?
--- Emir Alikadic [EMAIL PROTECTED] wrote:
On 3/13/2002 9:57 PM, August Detlefsen wrote:
Sorry, Leila, my comment was not meant to offend, but yours is the
#1
question asked on this list
Yes you have to close the connections! Nothing will drop your server
faster than running out of DB connections.
If you open your connection with this:
Connection conn = DriverManager.getConnection(url, user, password);
Then you close it like this:
conn.close();
--- Hari Yellina [EMAIL
You specify your statement as this:
String scall = begin sp_GetClatTypeIE(?, ?); end;;
Which has 2 ?s, but you are only setting the first one:
cs.setInt(1, interString);
What does your error message say? If this is the problem, Oracle should
return something like 'Invalid parameters
You specify your statement as this:
String scall = begin sp_GetClatTypeIE(?, ?); end;;
Which has 2 ?s, but you are only setting the first one:
cs.setInt(1, interString);
What does your error message say? If this is the problem, Oracle should
return something like 'Invalid parameters
You have to explicitly close your JDBC statements and connections when
you are done with them. Make sure you are using these for Statement and
Connection, respectively:
stmt.close();
//and
conn.close();
--- Gurmeet [EMAIL PROTECTED] wrote:
I am getting [Microsoft][ODBC SQL Server
You have to deploy the manager context separately for each virtual
host. Add this in server.xml, for each Host/Host block:
!-- Tomcat Manager Context --
Context path=/manager docBase=/usr/local/tomcat/webapps/manager
debug=0 privileged=true /
-August
--- Jean-Luc BEAUDET [EMAIL PROTECTED]
I now think that session data was wiped on a reload only if I made
changes to one of the beans. It makes sense: If they get serialized at
TC shutdown, but startup detects a different class signature, they
can't be re-serialized...
--- August Detlefsen [EMAIL PROTECTED] wrote:
Yes. On login
For the quick and dirty approach, you can put System.out.println()
statements in your code and find the output in:
TOMCAT_HOME/logs/catalina.out
--- Sriram Narayanan [EMAIL PROTECTED] wrote:
2/27/02 11:17:26 PM, Nitin Vira [EMAIL PROTECTED] wrote:
Hello,
I am trying to create an
There are a couple of reasons to pick JSP. I usually tell bosses that
we use java because it is easy to replicate across multiple hardware as
the demand for the app grows (They love thinking about growing demand).
Security is an issue too, especially with M$ products (not sure about
PHP). How
Yes. On login, a bean is put in the user's session with name, whether
the user is authenticated, and some other tracking data and it is
indeed Serializable.
--- Cox, Charlie [EMAIL PROTECTED] wrote:
-Original Message-
From: August Detlefsen [mailto:[EMAIL PROTECTED]]
Sent
Usually when I get that exception on startup it means that tomcat
didn't comletely shut down the previous time. Try running the
shutdown.sh script again to make sure it fully shut down.
-August
--- Victor Martinez [EMAIL PROTECTED] wrote:
This exception tells you that other program is
You can't define methods inside regular scriptlet blocks % ... %. You
have to use a declaration block %! ... % for the printContent()
method. You may have to make the method static as well.
-August
--- Uma Maheswar [EMAIL PROTECTED] wrote:
Hi,
I wanted to write a java bean inside my JSP
with every start-stop. Could this be because the
webapp was strictly JSP, with no servlet component?
--- Craig R. McClanahan [EMAIL PROTECTED] wrote:
On Mon, 25 Feb 2002, August Detlefsen wrote:
Date: Mon, 25 Feb 2002 15:24:31 -0800 (PST)
From: August Detlefsen [EMAIL PROTECTED
It depends on the particular taglib... The taglib's processing methods
(doInitBody(), doStartTag(), doEndTag(), doAfterBody(), etc) return
ints (EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE, etc) to
indicate what should be processed next.
It is possible that your taglib's doEndTag()
I realize that the spec says:
If a request parameter has an empty or null value, the
corresponding bean property is not set.
But, is there a way to make this work for updates when you actually
want to remove a value from the bean?
Lets say I have a contact manager app and I want to
System.out statements also get written to:
/path/to/tomcat/logs/catalina.out
--- krithikav [EMAIL PROTECTED] wrote:
Thanks, I am seeing the output now.
Regards,
Krithika
-Original Message-
From: Pedro F Gaspar [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 15, 2002
Is it possible to use SSL with multipart/form-data on a POST operation?
The send form in my webmail app uses a multipart post for attachments.
It works fine over regular http, but chokes on https. Is this a
limitation of Tomcat-Apache-mod_ssl or am I barking up the wrong tree?
form
Try this in your JSP:
%
if (true) { //turn output on and off
Enumeration e = session.getAttributeNames();
while (e.hasMoreElements()) {
String name = (String)e.nextElement();
Object value =
In httpd.conf, inside each VirtualHost, you can set the ServerAlias
directive - it will allow the same VirtualHost to recognize multiple
domain names:
NameVirtualHost 12.34.56.78
VirtualHost 12.34.56.78
ServerName myCompany.com
ServerAlias myCompany.net myCompany.org myOtherCompany.com
All request parameters are Strings:
public java.lang.String getParameter(java.lang.String name)
Try casting entry.getValue() to (String):
(String)(entry.getValue())
--- Steven Elliott [EMAIL PROTECTED] wrote:
Sorry if this is somewhat offtopic but maybe some experts here can
help
clear
In the past I have had good luck with the SQL Server JDBC drivers from
iNet software:
http://www.inetsoftware.de/English/Produkte/JDBC_Overview/ms.htm
Though I wouldn't really recommend SQL Server for anything if you do
not have to use it...
--- [EMAIL PROTECTED] wrote:
Tom Drake [EMAIL
I have found that it does not pick up changes to WEB-INF/classes,
though it does recognise changes to WEB-INF/lib. My solution is to
update the jar (jar -uvf) whenever I change a class. My build script
(run from WEB-INF/src dev directory) goes something like this:
#!/bin/bash
export
I am pretty sure that you need to add the contexts within your virtual
hosts. If the same context needs to be accessed from multiple virtual
hosts, you have to define it for each one.
Does anyone know of a way to deploy a context across multiple virtual
hosts?
--- Micael Padraig Og mac
If you are using includes for things like header and footer, have you
considered forwarding body content to a template page instead?
Using the Jakarta-Taglibs request library:
http://jakarta.apache.org/taglibs/doc/request-doc/intro.html
You can do something like this:
BODY PAGE:
%@
You can put the jar in WEB-INF/lib, but to use the classes in a JSP,
you have to import them in the page element:
%@ page
import=my.package.*, my.package.util.*
%
--- Drinkwater, GJ (Glen) [EMAIL PROTECTED] wrote:
I have written some java classes to help my servlet/jsp
configuration.
1 - 100 of 139 matches
Mail list logo