RE: Help with jsp:includes

2002-12-03 Thread Noel J. Bergman
I have pages that have the posibility of having 1000+ jsp:include statements in them. Why? Not to be a smartass, but perhaps there are alternative solutions. --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

JSP Last-modified/If-modified-since

2002-12-03 Thread Noel J. Bergman
This seems to be an FAQ item without a good solution, at least that I've noticed on the list. Recently I had to address this myself, moving some sites over to Tomcat. Here is my solution, for critique. First, I subclassed Jasper's HttpJspBase to add the desired behavior: abstract public class

RE: How to control the cache setting in Tomcat?

2002-12-03 Thread Noel J. Bergman
For the individual html page, we can turn on/off cache via META or header. But how can we do for the whole web application. With a filter. --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: JSP Last-modified/If-modified-since

2002-12-03 Thread Noel J. Bergman
1. java.io.File.lastModified() already returns a long. Why are you dividing and multiplying by 1000L? Just a hack for some oddity where some client worked better if I discarded the milliseconds portion of the value (while preserving the magnitude). When I searched the web, I found that

RE: Can Filter-mappings be defined using regular expressions?

2002-12-03 Thread Noel J. Bergman
The Servlet Specification describes allowable mappings, and doesn't describe regex support, which means that it isn't there. You'd have to roll your own, which you could implement with a controlling filter. --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: VIRTUAL HOST CONFIGURATION

2002-12-04 Thread Noel J. Bergman
i have seen a lot of controversy on this ml about WarpConnector. If you read the CVS for mod_webapp, you'll find that the author deprecates its current use: Lately there have been some improvements on [alternatives to WebApp], and probably, if you're wondering why you want to try out WebApp,

RE: Concurrent Connection Limits

2002-12-04 Thread Noel J. Bergman
Are there limits, ASIDE from those imposed by Apache HTTPD / Tomcat, imposed by WINDOWS 2000 on the number of concurrent connections it can accept? http://www.hp-eloquence.com/sdb/html/998559406.html am afraid once it goes live I'll have to upgrade to Win2K Server. Why not upgrade to linux?

RE: static url routing

2002-12-04 Thread Noel J. Bergman
my html files have long names like a_b_c_d_xyz213_e_f_g.html, a_b_c_d_pqr983_e_f_g.html is it possible to have urls like http://localhost:8080/myapp/html/xyz213 point to the first file above? You can use either a Filter, or mod_rewrite in Apache httpd. --- Noel -- To

RE: DNS NAMES

2002-12-04 Thread Noel J. Bergman
Is it possible to create a DNS Name like www.test.com/final. The DNS name is www.test.com. The /final is not part of the DNS. The www, by convention only, implies a protocol of HTTP and a port of 80. But if you are unfamilar with the Domain Name System, that is probably just going to confuse

RE: DNS NAMES

2002-12-04 Thread Noel J. Bergman
I want to create a DNS name itself like thatis it possible. As I said, the DNS name is www.test.com. The /final is not part of the DNS. If you want the short answer, it is: NO, by definition. If you want to know WHY: DNS is DOMAIN Naming System. The /final is a local resource, not the

RE: Why run tomcat as root

2002-12-05 Thread Noel J. Bergman
IMHO this is a case of the Tomcat team being restricted by the deficiencies of Java Tomcat and Java work just fine. There are plenty of ways to NOT run it as root. Ralph and Cees gave you at least three, one of which you could do trvially within 30 seconds. When started my tomcat server and

RE: Why run tomcat as root

2002-12-05 Thread Noel J. Bergman
Restrictions on ports 1024 and minimizing services running as root are contradictory aspects of the Unix security model. You want to minimize the trusted code base, and you want to assure that public services ( 1024) cannot be spoofed. You might want the port owner to make sure that the

RE: Tomcat, SOAP and SSH

2002-12-06 Thread Noel J. Bergman
I've got two servers: one for the frontend (Internet) and one backend. The Communication between them is implemented as SAOP-webservice. Now,I wan't to have the Communication through an SSH-tunnel. ssh -2 -N -T -q -L 8080:$remote-name:8080 $remote-name -- To unsubscribe, e-mail:

chroot tomcat

2002-12-06 Thread Noel J. Bergman
to post, I'll probably do it when I've got mine worked out for RH 8. --- Noel -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Exactly. John -Original Message- From: Noel J. Bergman [mailto:[EMAIL PROTECTED]] Personally, one of my goals is to go the other

RE: static url routing

2002-12-06 Thread Noel J. Bergman
--- Noel J. Bergman [EMAIL PROTECTED] wrote: my html files have long names like a_b_c_d_xyz213_e_f_g.html, a_b_c_d_pqr983_e_f_g.html is it possible to have urls like http://localhost:8080/myapp/html/xyz213 point to the first file above? You can use either a Filter, or mod_rewrite

RE: Where to place static content? Tomcat/Apache

2002-12-06 Thread Noel J. Bergman
The main reasons for running Apache with Tomcat are not wanting to run Tomcat as root on port 80, using Apache + JK/JK2 to load-balance to several Tomcats, and taking advantage of other Apache features like CGI/PHP, or modules like mod_rewrite. Not to mention isolating virtual hosts in their

RE: MySQL JAR File Location

2002-12-06 Thread Noel J. Bergman
Where should I drop a copy of the JDBC Driver .jar file See: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how to.html#Database%20Connection%20Pool%20(DBCP)%20Configurations --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Why run tomcat as root

2002-12-06 Thread Noel J. Bergman
I just think if there is something they can do that what they try to protect would work, and the problem we face would be solved. I know someone who works on SE Linux, and has published the root password for anyone to log into his system and try to break it. In that configuration, even root

RE: signed SSL cert tomcat

2002-12-06 Thread Noel J. Bergman
Jeff, I haven't done that, yet, but does this help? http://marsalis.internet2.edu/cgi-bin/viewcvs.cgi/*checkout*/shibboleth/DEPL OY-GUIDE-ORIGIN.html?rev=HEADcontent-type=text/html#4.b.i. --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

RE: Which Connector for Tomcat 4.0.3 - mod_webapp or mod_jk

2002-05-01 Thread Noel J. Bergman
I believe that the official stance is that mod_webapp will be the future of Apache-tomcat connectors, and it will receive performance and feature improvements whereas ... This appears to be one of the most common myths regarding Tomcat connectors. The real official stance appears to be that

RE: Which Connector for Tomcat 4.0.3 - mod_webapp or mod_jk

2002-05-02 Thread Noel J. Bergman
For example, mod_jk won't know that we want Tomcat to process a filter chain against a directory unless we've done a JkMount for that tree, whereas it would know that Tomcat needs to process a JSP page. On the other hand, mod_webapp would know about the filter chain because the resources

PLEASE HELP: Apache+Tomcat - Virtual hosts + separate VMs

2001-12-17 Thread Noel J. Bergman
I am STILL trying to find out how to configure Apache+Tomcat so that EACH virtual host has ITS OWN JVM. This seems to be a fairly common question, but no one seems willing to actually answer it. Ideally we want some means that works well with the perchild module, so that not only is each

RE: PLEASE HELP: Apache+Tomcat - Virtual hosts + separate VMs

2001-12-18 Thread Noel J. Bergman
version of Tomcat. Regrettably the time I have available to answer questsions (mostly 3.3 and 3.2.x related) is limited. I am usually forced to skip questions that don't bother to mention which verstions are in use. Cheers, Larry -Original Message- From: Noel J. Bergman [mailto:[EMAIL

RE: PLEASE HELP: Apache+Tomcat - Virtual hosts + separate VMs

2001-12-18 Thread Noel J. Bergman
fairly limited, so I can't be of much help at this point in time. My primary experience in this area was getting a suitable conf/auto/mod_jk generated by Tomcat 3.3 when using virtual hosts. Cheers, Larry -Original Message- From: Noel J. Bergman [mailto:[EMAIL PROTECTED]] Sent: Tuesday

RE: Cache question

2002-10-01 Thread Noel J. Bergman
I have a jsp form that is being forward from a login page that is doing validation from a database. Is there any way to just to see the previous page As I understand it, you have a JSP page that isn't to be seen until the user logs in, so you forward the request to a login page. You want to

RE: I don´t understand the objective of this open list !

2002-12-09 Thread Noel J. Bergman
Thank´s for your answer. Yes, maybe my questions is very dificult because: 1. Nobody has to installed tomcat 4.1.12 and 2. Nobody has to run the simple examples of tomcat 4.1.12 after the install. I installed 4.1.12 in the car on my laptop. Took me all of a few minutes, and was a lot less

RE: I don´t understand the objective of this open list !

2002-12-09 Thread Noel J. Bergman
-Original Message- From: Mike DiChiappari [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 4:37 PM To: Tomcat Users List Subject: Re: I don´t understand the objective of this open list ! I know the reason for this list - at least as it applies to Jakarta. It is meant to

RE: RE: I don?t understand the objective of this open list !

2002-12-09 Thread Noel J. Bergman
I want proper user level documentation. If you are unsatisfied with the documentation: 1) contribute some time to help 2) contribute some $ to help 3) wait for someone else to do 1 or 2 4) spend even MORE money and buy IBM WebSphere. Basically the same code, more docs, LOTS more

Learning to Listen

2002-12-09 Thread Noel J. Bergman
Although it would be amusing to say that this has to do with the RE: I don´t understand the objective of thisopen list ! thread, this actually has to do with Listeners. Attached is a generic Listener that is simply intended to provide people with a quick playground for learning and exploration.

RE: I don´t understand the objective of this open list !

2002-12-09 Thread Noel J. Bergman
Notice that I didn't ask a question JOEL BERGMAN (are you a Jakarta developer). I didn't realize that: I know the reason for this list - at least as it applies to Jakarta. It is meant to address the complete lack of adequate documentation for tomcat. was a private message for the

RE: admin username

2002-12-09 Thread Noel J. Bergman
What next? Here is mine: ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=tomcat/ role rolename=manager/ role rolename=admin/ user username=noel password=MYPASS roles=admin,manager/ user username=tomcat password=tomcat roles=tomcat/ /tomcat-users -- To unsubscribe,

RE: I don´t understand the objective of thisopen list !

2002-12-09 Thread Noel J. Bergman
Yeah, I've just installed it on a server I'm planning to put into production in the next couple weeks and it's working like a charm. Having said that I'll admit two things 1) I didn't try to run the examples I did. :-) With a fresh install, it is the first thing to do, just to make sure

RE: I donYt understand the objective of this open list !

2002-12-09 Thread Noel J. Bergman
Mike, As far as I know (and I just looked), Mark Eggers is not a representative of any Apache project. As with many happy members of a Community, he feels like a part of it and speaks with the pronoun we. Thank you for your candid response. I believe I understand the point of Jakarta now.

RE: I don?t understand the objective of this open list !

2002-12-09 Thread Noel J. Bergman
Then I may have made an error. I have been telling my business associates that tomcat is NOT a viable commercial server. They recently said I was wrong. In looking through the Jakarta web site I believe I saw the term commercial quality in regards to Tomcat. The code is commercial quality.

RE: I don´t understand the objective of this open list !

2002-12-09 Thread Noel J. Bergman
Here is an opportunity though as I've offered my services. So if anyone knows who I should contact about this I'm all ears. Write the docs. Use the existing XML sources to guide you, and submit new ones. Talk to John Turner, as well, who has a set of docs (IIRC). ref:

RE: XML vs JSP Syntax: Looks like a bug

2002-12-10 Thread Noel J. Bergman
This does not compile. The JSP Syntax document specifies that % in jsp syntax is equivalent to jsp:srcriptlet in xml syntax and moreover that JSP and XML syntax cannot be mixed within a page. One of my least favorite parts othe JSP 1.2 specification. Fortunately, this is changed in JSP 2.0 so

RE: Run Servlet on Tomcat Start-up.

2002-12-10 Thread Noel J. Bergman
See the load-on-startup element in the Servlet 2.3 specification. There is a commented out example in webapps/webdav/web-inf/web.xml. --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Ship java app to windows box

2002-12-10 Thread Noel J. Bergman
I really need some opinion here. We build the web app with java because it is portable Good idea. but some of the IT guys really don't like to install tomcat, jdk on their Windows boxes. And do their personal preferences matter? You install what you need to install in order to get the job

RE: Tomcat/HTTPD Integration

2002-12-10 Thread Noel J. Bergman
Garrett, 1. I've got a webapp sitting in the /webapps/ROOT directory, and I'd like to be able to access it using Apache HTTPD instead of Tomcat's built-in server. Right. You setup a connector, e.g., mod_jk, mod_jk2, mod_webapp. Heck, I even have a case where I have mod_proxy being used

RE: Tomcat/HTTPD Integration

2002-12-10 Thread Noel J. Bergman
- From: Noel J. Bergman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 5:32 PM To: Tomcat Users List Subject: RE: Tomcat/HTTPD Integration Garrett, 1. I've got a webapp sitting in the /webapps/ROOT directory, and I'd like to be able to access it using Apache HTTPD instead

RE: Monitor Connection Pool

2002-12-11 Thread Noel J. Bergman
Is there anyway I could monitor the dbcp connection pool You might want to subscribe to [EMAIL PROTECTED] If/when DBCP complies with JDBC v3, section 11.2 of the JDBC v3 specification should apply. --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Using response.sendRedirect() with POST

2002-12-11 Thread Noel J. Bergman
Is there any way to encode parameters into a redirected response WITHOUT just encoding them into the URL like this: - cookies - session attributes You could encode the data in a cookie, and retrieve it in your target page. Alternatively, you could put the data into one or more session

RE: How to access /images?

2002-12-11 Thread Noel J. Bergman
Either of img src='%= request.getContextPath() + /images/myimage.jpg %' img src='%= request.getContextPath()%/images/myimage.jpg' depending upon your stylistic preference. --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

RE: server.dtd

2002-12-11 Thread Noel J. Bergman
But there is one in the servlet specification, if he just wants one for study. --- Noel -Original Message- From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 12:50 To: Tomcat Users List Subject: Re: server.dtd There is no such file. If you

RE: server.dtd

2002-12-11 Thread Noel J. Bergman
But there is one in the servlet specification, if he just wants one for study. In the Servlet specification, the file described is web.xml (used for deploying web application). blush Read too quickly. --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: The future of Tomcat and java.nio

2002-12-11 Thread Noel J. Bergman
Micael, NIO is so important that we should do quite a lot to move to it. IIRC, java.nio doesn't support SSL until probably JDK 1.5. Even if you discount JDK 1.3, java.nio is not quite an entire replacement, yet. --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

RE: JSP file locations and browsable directories

2002-12-11 Thread Noel J. Bergman
This should have given you a clue: !-- Define properties for each web application. This is only needed if you want to set non-default properties, or have web application document roots in places other than the virtual host's appBase directory. -- !-- Tomcat Root

RE: Directory Structure

2002-12-11 Thread Noel J. Bergman
The Java servlet name is: DocViewServlet The Java servlet package is: mfnettags The web application is: mfnettags servlet servlet-name DocViewServlet /servlet-name servlet-class mfnettags.DocViewServlet /servlet-class /servlet servlet-mapping

RE: Connecting Tomcat 4.1.12 with Apache 1.3

2002-12-11 Thread Noel J. Bergman
John, JK/JK2 is the better choice if you are concerned with future growth. If you're having problems, perhaps my HOWTOs will help: http://www.johnturner.com/howto You still planning to post mod_jk2 HOWTO soon? The information for that appears to be scattered (best source is still the

RE: Tomcat - a search engine liability?!?!

2002-12-11 Thread Noel J. Bergman
ASP, and JSP were the only dynamic extensions I consistantly saw that were being indexed. Google does NOT index any servlet, framework class, or cgi file. I haven't reviewed your facts for accuracy, so take this with a grain of salt. But *IF* the world according to Google is as you say it

RE: The future of Tomcat and java.nio

2002-12-11 Thread Noel J. Bergman
I'll be working on those patches but the spec talks about the servlet container, not the connector, right? So if Tomcat has a container which relies on NIO it would be ok, right? And the container is where NIO would make the most difference. Don't you mean the CONNECTOR in those last

RE: Tomcat - a search engine liability?!?!

2002-12-11 Thread Noel J. Bergman
seem to remember the ability to even map a file.html to a servlet class of com.company.mycode.SomeServlet. -Original Message- From: Noel J. Bergman [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 6:25 PM To: Tomcat Users List Subject: RE: Tomcat - a search engine

RE: Tomcat - a search engine liability?!?!

2002-12-11 Thread Noel J. Bergman
The difference is that servlet mapping doesn't allow regex replacement, whereas mod_rewrite allows: RewriteRule ^(.*)/mdlx/(.*).html$ $1/$2.mdlx Or implement the equivalent remapping in a Filter if you'd prefer a pure-Java solution. It's pretty easy to do -- and you can even use regexp

RE: Tomcat - a search engine liability?!?!

2002-12-11 Thread Noel J. Bergman
Neal, For someone unfamiliar with these things [do] you think it would be easier to [move] Apache in front of it, or is it easier to write [a Filter?] I would be comfortable with either, but I've already apache as the front end and experience with mod_rewrite, so I'd go for the 30 second

RE: Tomcat - a search engine liability?!?!

2002-12-11 Thread Noel J. Bergman
Joe, Don't throw in that towel yet! Here's one easy solution: Configure Tomcat so that .htm pages are handled as jsps. He isn't serving html pages. He is serving mdlx pages, whatever those are, and he wants Google to index them. Supposedly Google doesn't, or this would all be moot. I do

RE: Tomcat - a search engine liability?!?!

2002-12-11 Thread Noel J. Bergman
the SSL certificate is already bound to Tomcat ... I think I'd have to buy another to work with Apache. Sigh. Don't do it until you prototype your solution and make sure that it works for you. The primary problem [is] to not redirect (http 302) to a different URL, I want it to stay at

RE: The future of Tomcat and java.nio

2002-12-11 Thread Noel J. Bergman
Craig, From a technical perspective, people whose judgement I respect don't think that NIO will really help a servlet container much. Of course, you can't prove that assertion until you actually implement it and benchmark it ... One of the things that I took away from from Mr. Sun's

RE: [classloading] How to use URLClassLoader within a servlet

2002-12-12 Thread Noel J. Bergman
See java/net/URL.java, specifically getURLStreamHandler(String), for an illustration of how Java has handled pluggable handlers since version 1.0. --- Noel -Original Message- From: Ola Berg [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 12, 2002 9:52 AM To: Tomcat Users

RE: Tomcat4 redirect?

2002-12-12 Thread Noel J. Bergman
Does anyone know how to do a Rewrite for Tomcat4. Write a suitable Filter. --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Apache+mod_dav+connector dilemma

2002-12-12 Thread Noel J. Bergman
Jonas, Are you trying to do DAV from the root? I have a special Location element for DAV: Alias /dav /.../htdocs Location /dav/ DAV On AddType text/plain .jsp AllowOverride None Options None /Location an alternative, which I have no chosen to use, would be to

RE: Weird messages

2002-12-12 Thread Noel J. Bergman
Personally, I have privately e-mailed someone on this list who is notorious for putting a small note at the bottom of an excessively long message thread, but so far to no avail. I may just add a filter to my mail client to discard his messages, since I'm running out of interest in scrolling them.

RE: help: logging j_username

2002-12-12 Thread Noel J. Bergman
Is there a way besides using session cookies to log invalid logon attempts from a form based logon jsp Have you considered a session bean? --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Configuring mod_jk2

2002-12-12 Thread Noel J. Bergman
ApacheConfig is for use with mod_jk 1.x. It doesn't work with jk2. With jk2, you only need the 'LoadModule' statement in httpd.conf. The rest of the configuration is handled by the 'jk2.properties' file. My understanding, although I suppose I should look at the CVS for the current

RE: help: logging j_username

2002-12-13 Thread Noel J. Bergman
available off-list. --- Noel -Original Message- From: Rob Cartier [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 7:14 To: 'Noel J. Bergman'; 'Tomcat Users List' Subject: RE: help: logging j_username ok .. I am interested any ideas how to implement it thanks in advance

RE: Apache+mod_dav+connector dilemma

2002-12-13 Thread Noel J. Bergman
in the 'dav' location to avoid being captured by the connector. I cant get this to work in my configuration. What connector / tomcat / server are you using? Curious, Jonas tor 2002-12-12 klockan 22.35 skrev Noel J. Bergman: Jonas, Are you trying to do DAV from the root? I have a special

RE: HttpSessionListener beforeSessionDestroyed (Craig, Sean)?

2002-12-13 Thread Noel J. Bergman
See: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg76775.html. Try my test code, and I think that you'll find that you can get your notice before the session is destroyed. --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

RE: HttpSessionListern BUG in 4.1.12 ! ?!

2002-12-13 Thread Noel J. Bergman
Jeff, Just out of curiousity, where in the Servlet specification does it imply that you can compare such objects for identity as opposed to using the session id? As developers make more use of proxies, object identity becomes a pretty weak assumption unless guaranteed by contract. ---

RE: HttpSessionListener beforeSessionDestroyed? no, HttpSessionActivationListener

2002-12-13 Thread Noel J. Bergman
it because it looked pointless. I didn't know that the answer to my question was there, and it's ironic that the answer was disguised by an inappropriate title twice. Garrett --- Noel J. Bergman [EMAIL PROTECTED] wrote: See: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg76775.html

RE: SSL Connection Tomcat and Apache

2002-12-13 Thread Noel J. Bergman
Since apparently this capability is not available, yet, nor a high priority, might I suggest ssh tunneling. We use it here to tunnel MySQL replication through a set of firewalls: ssh -2 -N -T -q -L localport:remote-host:remote-port remote-host Using PKE means that I can run that tunnel as a

RE: Where to set the allowLinking flag in 4.1.12?

2002-12-19 Thread Noel J. Bergman
Bill, I have seen that element documented on the mailing list as: Resources className=org.apache.naming.resources.FileDirContext allowLinking=true docBase= / I haven't looked at the code, but the presence of a docBase attribute makes me wonder if the intent is

RE: Configuring mod_jk - Again!

2002-12-26 Thread Noel J. Bergman
Denise, I had all this placed at the end of my httpd.conf file so it would apply to all virtual hosts. By now you may have all of this working (I'm catching up on a week's worth of tomcat mail), but I seriously suggest that you either use do each config within VirtualHost or you don't use it

RE: Question - Form Validation

2002-12-27 Thread Noel J. Bergman
Denise, There are a number of ways to do it. One is to build a Struts application. Another is to have the form post back to itself. If it likes the form data (validates), then it can forward to the target page. There are various other solutions. --- Noel -- To unsubscribe, e-mail:

RE: Tomcat stability problem

2002-12-27 Thread Noel J. Bergman
We're running Tomcat 4.1.12 on a dual-proc PIII with 512MB RAM. Which JVM and OS? You are running an SMP box. Sun JVM 1.4.0, for example, was notorious for SMP issues on linux. --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

RE: New HOWTO - Windows XP

2002-12-28 Thread Noel J. Bergman
Tony, If you would care to post information (sample config, how-to, whatever), I am sure that others would appreciate it. --- Noel -Original Message- From: Anthony Marlowe [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 28, 2002 4:06 To: Tomcat Users List Subject: Re: New

RE: Question - Form Validation

2002-12-28 Thread Noel J. Bergman
- all this for a pretty stable number of users (for the time being). Can anyone provide links to any resources for form validation with JSP - not using Struts? I have a couple of books, but none seem to go into enough detail.. Thanks :) Denise -Original Message- From: Noel J. Bergman

RE: How I got mod_jk running (Was: Re: Yes!!! It works!!!)

2002-12-28 Thread Noel J. Bergman
I was asking because the 4.x ApacheConfig is my baby (even if it won't have a long life :). I take an interest in bugs related to it. Why not update it for mod_jk2? Is there a reason for it to be temporary? --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

RE: running tomcat as a non-root user?

2002-12-30 Thread Noel J. Bergman
Additionally, you can add the su tomcat -c in a wrapper script That is basically what I do. It has the advantage that you can put different tomcats under different users (and thus enforce file system access). Even better would be to chroot tomcat. I don't have that worked out (yet).

RE: Code works in editor, but not through Tomcat - Please help!

2003-01-02 Thread Noel J. Bergman
Denise, When dealing with introspection and reflection, conventions become rules. :-) The code has to know how to map property names to methods. My pleasure to help. I know that area pretty well, having worked on the GNUJSP implementation of that code, and written a database layer that works

RE: Easy question - Java Beans

2003-01-02 Thread Noel J. Bergman
Denise, Start with your basic select tag, and then in your code that emits the list of option tags, do something like this: option value=' + stateCode + ' + ((stateCode.equals(currentStateCode)) ? selected : ) + + stateName + /option In other words, emit the option value='NY'New

RE: can tomcat do dynamic virtual hosts?

2003-01-02 Thread Noel J. Bergman
My production servers are using Jserv, but I wouldn't think of using a single Tomcat instance for all of my virtual hosts. Same here, in most cases, and me neither. Just out of curiousity, when do you think you'll finally get off of JServ? We're thinking of doing it fairly soon, and I'm

RE: NEW JasperException

2003-01-03 Thread Noel J. Bergman
Denise, It would really help to see the bean class, with just method signatures, not method bodies, and the form. At least you aren't getting exjasperated, yet. ;-) --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

RE: NEW JasperException

2003-01-03 Thread Noel J. Bergman
Now also believe this ( or not ;) ). My problem just kind of went away I believe it. :-) In any event, when debugging problems of this nature, where spelling and case matter, it really is important to see the method signatures and the JSP page (or at least the form and the property

RE: Easy question - Java Beans

2003-01-03 Thread Noel J. Bergman
Denise, How would your original select look for the states? Not sure what you are asking, but I'll take a stab, and you can come back and correct me. The NY is all you need to keep in the bean. I assume that somewhere you have a loop that emits the option tags. When the value you are about

RE: can tomcat do dynamic virtual hosts?

2003-01-03 Thread Noel J. Bergman
the changeover is critical to avoid big problems. John -Original Message- From: Noel J. Bergman [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 02, 2003 11:09 PM To: Tomcat Users List Subject: RE: can tomcat do dynamic virtual hosts? My production servers are using Jserv, but I

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Noel J. Bergman
Instead, you'd want to use a single JSP page for each basic *style* of output (essentially the JSP page would be a formatting template) that pulls in the unique information for a particular report (from the database, from XML, or whatever) dynamically. For example, with the web site for The

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Noel J. Bergman
There is still a live reference to each OtherObject instance sitting in the static HashMap cache. there is no way to ***ever*** GC this instance Another example of a similar memory leak is the File.deleteOnExit method. It should not be used without extreme care and understanding in a server

RE: How to set up default web app?

2003-01-03 Thread Noel J. Bergman
What would I have to do to setup a container on port 82 and have it server my web app as default thanks... If you want to service 8080 and 82, I believe that you do it along the lines of: service name=videotron-service Connector className=org.apache.coyote.tomcat4.CoyoteConnector

RE: mail servers

2003-01-04 Thread Noel J. Bergman
Not sure what you are asking, but are you aware of http://jakarta.apache.org/james? --- Noel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 04, 2003 9:19 To: [EMAIL PROTECTED] Subject: mail servers hi can anybody tell me about good

RE: Filters: Invoked on incoming Request or outgoing response

2003-01-04 Thread Noel J. Bergman
I am trying out some code to compress the content from my webapp using a GZIP Filter. The filter uses GZip to compress the outputStream it gets from response. Did you write this filter? Are you paying attention to the request header that needs to be honored, and the response header that

RE: mail servers

2003-01-04 Thread Noel J. Bergman
John, If you mean developing a mail transporter or server, like sendmail or qmail, in Java for Linux servers, that would be a really really bad idea for too many reasons to list here I am a Committer on the Java Apache Mail Enterprise Server (http://jakarta.apache.org/james). If you want to

RE: web apps and directory structure...

2003-01-05 Thread Noel J. Bergman
Jason, Does this help at all? http://www.mvps.org/win32/ntfs/lnw.html --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Set up tomcat to do content negotiation/hiding file-extension in URLs

2003-01-05 Thread Noel J. Bergman
Is there a way to hide the file extensions in URIs i.e. linking to http://example.com/mypage instead of http://example.com/mypage.html and have tomcat returning the content in the flavour preferred by the client? I would suggest a Filter for that purpose. --- Noel -- To

RE: Changed file name now webapp not working right

2003-01-05 Thread Noel J. Bergman
Denise, The front end is/was FormValidate.jsp/CCProcess.jsp, which forwards to Verify.jsp or Retry.jsp? You renamed it, and now when you submit the form you never get to Verify.jsp? You are saying that when Retry.jsp submits the form, the form action is CCProcess.jsp? Have you put any log code

RE: need help w. viewing servlet

2003-01-05 Thread Noel J. Bergman
I have gone into the web.xml file to do some heavy [sic] editing of it, such as putting in the servlet name and the servlet class, but alas, to no avail so far! Well, it would help to see that segment of the file, and also find out from you where you put the .class file. Do you have a servlet

RE: need help w. viewing servlet

2003-01-05 Thread Noel J. Bergman
That's why I am including in this email message the html page that is the servlet in question It isn't attached. I will try to include the so-called heavy editing that I mentioned in my first post of the web.xml file in a later posting [because I really don't believe, in my subjective

RE: need help w. viewing servlet

2003-01-05 Thread Noel J. Bergman
Steven, As you can see from the link below, there were no HTML attachments of any kind to your message. And what I think we really need is your web.xml file. http://nagoya.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED] he.orgmsgNo=97097 The web.xml file is described in detail in the Servlet

RE: Changed file name now webapp not working right

2003-01-05 Thread Noel J. Bergman
Mangano [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 05, 2003 21:31 To: 'Noel J. Bergman '; 'Tomcat Users List ' Subject: RE: Changed file name now webapp not working right Noel, I even tried changing everything back to FormValidate.jsp and it still doesn't work... Yes, your scenario

RE: Changed file name now webapp not working right

2003-01-05 Thread Noel J. Bergman
for taking the time to look at all this. Denise -Original Message- From: Noel J. Bergman [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 05, 2003 10:12 PM To: Tomcat Users List Subject: RE: Changed file name now webapp not working right Denise, Within your JSP page, you can put

RE: need help w. viewing servlet

2003-01-05 Thread Noel J. Bergman
Tomcat does its own loading, and you don't put web-inf/ anything in your classpath. Just put the files in the right places, and let Tomcat do its job. Or do you simply mean that you don't have a package? If you don't have a package, just put the class in WEB-INF/classes/GreetingServlet.class.

RE: Changed file name now webapp not working right

2003-01-05 Thread Noel J. Bergman
-Original Message- From: Noel J. Bergman [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 05, 2003 10:12 PM To: Tomcat Users List Subject: RE: Changed file name now webapp not working right Denise, Within your JSP page, you can put % application.log(...); % anywhere you want to put out

  1   2   >