Re: JSP Escape character problem - PLEASE HELP

2002-01-10 Thread Micael Padraig Og mac Grene
At 05:27 PM 1/10/02 +0100, you wrote: Hi, Exactly this code works perfectly fine in JRun! It seems like the parser could not handle the escaped quotation mark in the document.write() method. Could anybody help? I am currently working with Tomcat 4.0.1. I have downloaded the binaries only (for

Re: Vectors? Why does this not work?

2002-01-10 Thread Micael Padraig Og mac Grene
At 03:49 PM 1/10/02 -0500, you wrote: Why does this simple example not work? I am using Tomcat 3.3 and JDK 1.3.1_01 and Redhat Linux 7.2 Thanks, == // SimpleClass.java // A Simple Class public class SimpleClass extends Object{ private static String last_name; private static

RE: Extending Standard Context

2002-01-03 Thread Micael Padraig Og mac Grene
At 04:41 PM 1/3/02 -0400, you wrote: I can suggest something for the second question: 1) Define a java bean (a class) that implements runnable inside WEB-INF\classes 2) Add this bean to every JSP Servlet that you want it to include so, the first will start() the process and also put the

Re: Servlet running twice at the same moment.

2002-01-02 Thread Micael Padraig Og mac Grene
At 12:00 PM 1/2/02 -0700, you wrote: Hello, I don't know why this is happening, but... It seems like whenever I run a single servlet, there are times it will run twice. As in, this... ...Robin Robin, there is no way to have any clue why this is happening without seeing the code. Micael --

RE: JDBC for mySQL

2002-01-01 Thread Micael Padraig Og mac Grene
At 01:05 PM 1/1/02 -0600, you wrote: yep! http://jdbc.postgresql.org/ http://sourceforge.net/project/showfiles.php?group_id=15923 both work with tomcat! have fun. B -Original Message- From: Simon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 01, 2002 12:44 PM To: Tomcat Users List

Re: cloning an Enumeration - how?

2001-12-30 Thread Micael Padraig Og mac Grene
At 03:41 PM 12/30/01 +0200, you wrote: Hi all, Forgive what may be a stupid question: I am trying to retrieve all the locales from the Accept-Language header in a request. To do this I use the following call: Enumeration locales = pageContext.getRequest().getLocales(); My problem is that once

Re: cloning an Enumeration - how?

2001-12-30 Thread Micael Padraig Og mac Grene
At 03:41 PM 12/30/01 +0200, you wrote: Hi all, Forgive what may be a stupid question: I am trying to retrieve all the locales from the Accept-Language header in a request. To do this I use the following call: Enumeration locales = pageContext.getRequest().getLocales(); My problem is that once

Re: can't access PostgreSQL from Servlet

2001-12-27 Thread Micael Padraig Og mac Grene
At 09:55 PM 12/27/01 -0800, you wrote: When servlet is executed ResultSet returns null when it shoud return result of SQL query. I don't know where the problem could be but it seems that Java code or some type of permission is incorrect. Here is my Servlet code that compiles but gives

Re: Please Help

2001-12-20 Thread Micael Padraig Og mac Grene
At 01:13 PM 12/20/01 +0530, you wrote: Hi To All, What is TC Stand alone Servlet Contairs Please help Vikas Cannot imagine what the fire is, but I assume that you mean Tomcat for TC and by stand alone using the Tomcat server without a J2EE application? -- To unsubscribe: mailto:[EMAIL

McClanahan Hints

2001-12-19 Thread Micael Padraig Og mac Grene
At 06:31 PM 12/19/01 -0800, you wrote: Craig McClanahan -- Craig have you thought of putting together a compilation of your answers? I think it would be a very helpful addition to the jakarta suite. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL

Tomcat 3.3 vs. 4.0: TELL US NOVICES WHAT IS GOING ON

2001-12-18 Thread Micael Padraig Og mac Grene
At 01:13 PM 12/18/01 -0800, you wrote: Unfortunately, Tomcat 4.x doesn't support load-balancing, yet -- even with mod_jk. So, if you need it, you should stick with 3.3. Thanks, --jeff What is going on with 3.3 and 4.0? Are there two camps in Tomcat? Is there a battle to see which is going

Re: How to get webapp name

2001-12-16 Thread Micael Padraig Og mac Grene
At 02:29 PM 12/16/01 -0600, you wrote: Hello: Is there a way to get the webapp name in a JSP page? Thanks, Neil. Hi, Neil, Cannot tell what ou want here. Try stating it differently. What do you mean by webapp? -- micael -- To unsubscribe: mailto:[EMAIL PROTECTED] For

Re: Is Tomcat considered to be a J2EE implementation?

2001-12-15 Thread Micael Padraig Og mac Grene
At 11:48 AM 12/15/01 -0500, you wrote: Thanks, I've been using JServ to create servlets for a while, and I thought that the difference between simply using servlets and J2EE was that the latter has an EJB container. If this is true, then does Tomcat come with an EJB container? Or maybe a better

Re: Application Design: initialization

2001-12-15 Thread Micael Padraig Og mac Grene
At 10:05 AM 12/15/01 -0800, you wrote: Hey All, I am a bit confused in J2EE (and tomcat) concerning the best spot to do a bunch of initializations, and other startup code. Now, in Coldfusion you have the Application.cfm file which gets run on every request, thus you can load up the

Re: JNDI DataSource Question

2001-12-14 Thread Micael Padraig Og mac Grene
At 01:34 PM 12/14/01 +, you wrote: Hi, I had posted this question some time back and am posting just in case some one may have just missed it. I am trying to get a JNDI connection to a datasource. For this I defined my datasource exactly as it is described in the Tomcat docs - define a

Re: JNDI DataSource Question

2001-12-14 Thread Micael Padraig Og mac Grene
At 07:07 PM 12/14/01 +, you wrote: Hi, Thankyou for the mail. my datasource is sitting on the local computer and I can connect with a normal JDBC Connection. The same driver properties I use to create a datasource in server.xml and it fails. I thought it can be a problem like Tomcat

Re: DataSource and Pooled Connection

2001-12-13 Thread Micael Padraig Og mac Grene
At 03:20 PM 12/13/01 -0500, you wrote: At 09:07 PM 12/13/2001 +0100, you wrote: I have a stupid question ? in the JNDI tomcat how to, it says : The J2EE Platform Specification requires J2EE Application Servers to make available a DataSource implementation (that is, a connection pool for

Micael mac Grene: DataSource and Pooled Connection

2001-12-13 Thread Micael Padraig Og mac Grene
At 02:13 PM 12/13/01 -0800, you wrote: On Thu, 13 Dec 2001, christophe marcourt wrote: Date: Thu, 13 Dec 2001 21:07:47 +0100 From: christophe marcourt [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: DataSource and

RE: Micael mac Grene: DataSource and Pooled Connection

2001-12-13 Thread Micael Padraig Og mac Grene
At 01:39 PM 12/14/01 +1100, you wrote: I am not 100% sure, but I am pretty sure that the PostgreSQL (7.1.2) JDBC driver does not yet support Pooled DataSource connections. That is what they have said on the PgSql JDBC list, but please correct me if I am wrong as we would love to use pooled

Re: charset problem in java beans

2001-12-12 Thread Micael Padraig Og mac Grene
At 07:23 PM 12/12/01 +0800, you wrote: thanks Craig, Craig wrote : It sounds like you might be working too hard :-). how did you understand? :) Sounds as it fhe problem is either related to Geary's new book on taglibs or something similar. I don't know the history, but his critical

Re: Why do i have to keep on restarting Tomcat?

2001-12-11 Thread Micael Padraig Og mac Grene
At 10:39 AM 12/11/01 +, you wrote: I am currently using Tomcat to serve my JSP's, i know nothing of the way JSPs work, my problem is everyday i am having to go onto these live servers and physically restart Tomcat because the website is throwing back error 500s, once restarted however it is

RE: Why do i have to keep on restarting Tomcat?

2001-12-11 Thread Micael Padraig Og mac Grene
At 01:00 PM 12/11/01 +, you wrote: Does anybody know where i can get a connection pool called DbBroker from www.javaexchange.com, as it appears as though javaexchange no longer exists Just wondering if you know that you get a pool automatically when you go to javax.sql.*. -micael -- To

RE: Why do i have to keep on restarting Tomcat?

2001-12-11 Thread Micael Padraig Og mac Grene
At 02:40 PM 12/11/01 +, you wrote: I believe DbBroker is more a connection pool manager Muhammad Every connection pool inherently has a pool manager. Otherwise it would not work. Are you familiar with DataSource classes? Just trying to be helpful. I think you are probably headed the

Re: Page encoding problem

2001-12-11 Thread Micael Padraig Og mac Grene
At 08:57 PM 12/3/01 +0100, you wrote: Hi all. I'm having a bit of an page encoding problem. I'm trying to use ISO-8859-2 (a.k.a. Latin-2) page encoding and something is going wrong. I have a page that wascreated first as HTML, with ISO-8859-2 encoding. This page displays OK under Dreamweaver 4

Re: Change an include file requires re-compiling all JSP that include it (?)

2001-12-11 Thread Micael Padraig Og mac Grene
At 12:04 PM 12/11/01 -0800, you wrote: 1) Where do they go? I don't see them anywhere under my webapp's folder (I thought they go in WEB-INF/classes but they're not there) 2) Blech, that's what I do now. If I have 100 JSP files all including the same header file I'm doomed! Under

Re: Servlets and memory usage.

2001-12-11 Thread Micael Padraig Og mac Grene
At 02:05 PM 12/11/01 -0700, you wrote: Hello everyone. I've run into a big problem with memory usage in servlets, and I want to get some opinnions on this. Here is the scenerio: Has anyone run into a similar issue like this? Is there a way to schedule servlet memory to be garbage collected

Re: What causes a segmentation fault with Apache? (redirecting to tomcat via mod_jk)

2001-12-11 Thread Micael Padraig Og mac Grene
At 06:17 PM 12/11/01 -0600, you wrote: I am trying to redirect a .jsp page to tomcat from apache via mod_jk. I finally got apache to start up (thanks to a compiled mod_jk from someone else), but now when I try to access a jsp file, I get a can't find server, no error in mod_jk.log, and this

RE: Why do i have to keep on restarting Tomcat?

2001-12-11 Thread Micael Padraig Og mac Grene
At 12:17 PM 12/12/01 +1100, you wrote: Not every database API supports connection pooling... Take Postgres for example... The JDBC driver for 7.1.2/7.2 does not support connection pooling... Just wondering if you know that you get a pool automatically when you go to javax.sql.*. -micael The

RE: Why do i have to keep on restarting Tomcat?

2001-12-11 Thread Micael Padraig Og mac Grene
At 12:17 PM 12/12/01 +1100, you wrote: Not every database API supports connection pooling... Take Postgres for example... The JDBC driver for 7.1.2/7.2 does not support connection pooling... As I previously said, the new PostgreSQL driver does support pooling. Also, I think that any driver

RE: Why do i have to keep on restarting Tomcat?

2001-12-11 Thread Micael Padraig Og mac Grene
At 10:20 PM 12/11/01 -0800, you wrote: At 12:17 PM 12/12/01 +1100, you wrote: Not every database API supports connection pooling... Take Postgres for example... The JDBC driver for 7.1.2/7.2 does not support connection pooling... I will get this all right yet. I don't think there is a 7.2, is

RE: Unable to include *.sum files (Again)

2001-12-10 Thread Micael Padraig Og mac Grene
At 08:14 AM 12/10/01 +0200, you wrote: Hi all, Thanks for all the responses(including the debate) to this question! It made some real interesting reading material after the SHORT weekend! To get back to August's suggestion: we've tried it but our problem is that the file content is generated by

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Micael Padraig Og mac Grene
At 08:22 PM 12/7/01 -0800, you wrote: Yeah, see my last post. Since JSP output is written with a PrintWriter, the Catalina code is restricting it to only being able to output known text/* MIME types. This just doesn't feel right to me. Thanks, --jeff Well, jeff, then it is not a bug. At best

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Micael Padraig Og mac Grene
on it. Thanks, --jeff - Original Message - From: Micael Padraig Og mac Grene [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, December 08, 2001 10:12 AM Subject: Re: Unable to include *.sum files (Again) At 08:22 PM 12/7/01 -0800, you wrote: Yeah, see my last

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Micael Padraig Og mac Grene
At 02:51 PM 12/8/01 -0800, you wrote: I don't think the spec is that detailed -- I mean, it doesn't come out and say the page attribute of jsp:include has to follow the requirements of the JspWriter. So, I don't know the answer to that. Remember though, we're talking about included files -- by

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Micael Padraig Og mac Grene
At 03:53 PM 12/8/01 -0800, you wrote: If it does use PrintWriter to write the output, then it makes sense for it to only output text. See this from the PrintWriter javadoc: Print formatted representations of objects to a text-output stream. This class implements all of the print methods found in

Re: Unable to include *.sum files (Again)

2001-12-08 Thread Micael Padraig Og mac Grene
At 06:10 PM 12/8/01 -0800, you wrote: I agree that there are workarounds -- there are always workarounds -- but Tomcat is the RI, so this is the place where we're supposed to figure this stuff out. I guess my argument is that Tomcat is being more restrictive than the spec requires it to be.

Re: Unable to include *.sum files (Again)

2001-12-07 Thread Micael Padraig Og mac Grene
At 01:31 PM 12/7/01 -0800, you wrote: Nope. I tried it with *.doc files, too, and it still doesn't work. *.doc is defined in web.xml. Besides, it doesn't really make sense for MIME types to affect included files, does it? --jeff I may be out to lunch here, Jeff, but it seems to me that it

Re: Unable to include *.sum files (Again)

2001-12-07 Thread Micael Padraig Og mac Grene
At 02:21 PM 12/7/01 -0800, you wrote: Hi Micael, Let's make sure we're talking about the same thing. If I include a file like: jsp:include page=./testTxt.sum flush=true / Why does it matter what the file extension of the included file is? Isn't the container just supposed to open the file

Re: Tomcat 3.3, server.xml and a lot of fun

2001-12-03 Thread Micael Padraig Og mac Grene
You said: rant I ... I I I I I I I I I I I I I know I can do it, but I I I . I . I I /rant Best regards, [EMAIL PROTECTED] Pretty personal stuff for a brilliant software engineer and a Yahoo fella. You miss

Re: OKAY: HERE GOES. THIS IS GETTING INTERESTING. Re: Tomcat 4.0/JDBC driver configuration?

2001-11-30 Thread Micael Padraig Og mac Grene
I use postgresql.jar, so I put that in /usr/local/java/tomcat/lib/ext/ and /usr/local/java/j2se13/jre/lib/ext/ and /usr/local/java/j2se13/lib/ext/. Those directories are automatically found and do not need to be specified in CLASSPATH. -Original Message- From: Mark [EMAIL PROTECTED] To:

Re: OKAY: HERE GOES. THIS IS GETTING INTERESTING. Re: Tomcat 4.0/JDBC driver configuration?

2001-11-30 Thread Micael Padraig Og mac Grene
You have to get a driver for the database you are using. You have to get a whole mydatabase.jar of files from them, implementing the jdbc interfaces. Then you put those into /lib/ext/ in Tomcat and j2ee and /jre/lib/ext/ in j2se. These do not need to be specified in CLASSPATH. -Original

Re: OKAY: HERE GOES. THIS IS GETTING INTERESTING. Re: Tomcat 4.0/JDBC driver configuration?

2001-11-30 Thread Micael Padraig Og mac Grene
Did you get my messages? -Original Message- From: Mark [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Thursday, November 29, 2001 2:20 PM Subject: Re: OKAY: HERE GOES. THIS IS GETTING INTERESTING. Re: Tomcat 4.0/JDBC driver configuration? To answer your question, yes I

Re: Auto load a servlet

2001-11-30 Thread Micael Padraig Og mac Grene
I missed the early part of this exchange. Are you merely trying to direct different clients to different files? -Original Message- From: Bret Farris [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Friday, November 30, 2001 8:44 AM Subject: Re: Auto load a servlet

Re: Auto load a servlet

2001-11-30 Thread Micael Padraig Og mac Grene
- From: Micael Padraig Og mac Grene [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, November 30, 2001 11:05 Subject: Re: Auto load a servlet I missed the early part of this exchange. Are you merely trying to direct different clients to different files? -Original

Re: OKAY: HERE GOES. THIS IS GETTING INTERESTING. Re: Tomcat 4.0/JDBC driver configuration?

2001-11-30 Thread Micael Padraig Og mac Grene
Yah, you've moved along alright. -Original Message- From: Mark [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Friday, November 30, 2001 10:03 AM Subject: Re: OKAY: HERE GOES. THIS IS GETTING INTERESTING. Re: Tomcat 4.0/JDBC driver configuration? Yes, I saw your replies

OKAY: HERE GOES. THIS IS GETTING INTERESTING. Re: Tomcat 4.0/JDBC driver configuration?

2001-11-29 Thread Micael Padraig Og mac Grene
Hi, Mark, Moving on, I see. Great! Here is a bunch of junk to look at and maybe learn from. (I don't mind ending sentences prepositions with.) First is this little way to get a connection from a PostgreSQL driver using DataSource. I assume you will be using DataSource and not the kiddies

Re: Tomcat 4.0/JDBC driver configuration?

2001-11-29 Thread Micael Padraig Og mac Grene
You probably already figured out from what I sent that kiddy stuff is in java.sql.* but grownups are in javax.sql.*. ///;-) -Original Message- From: Mark [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Thursday, November 29, 2001 8:58 AM Subject: Tomcat 4.0/JDBC driver

Re: .gif images not displaying with JSPs

2001-11-28 Thread Micael Padraig Og mac Grene
Congraduations. A little work and now you are a Tomcat killer! Interesting, Mark. I am not using Tomcat 4.0, but 3.* and my examples is: Host name=127.0.0.1 Context path= docBase=webapps/examples / Context path=/examples

Re: .gif images not displaying with JSPs

2001-11-27 Thread Micael Padraig Og mac Grene
I have a directory called graphics on the same level as WEB-INF, i.e. root_directory/webapps/myapp/graphics/flags/ and root_directory/webapps/myapp/WEB-INF/, and I use img src='graphics/flags/german_flag.gif'//a/tr without dificulty, if that helps. This may have to do with my settings

Re: .gif images not displaying with JSPs

2001-11-27 Thread Micael Padraig Og mac Grene
Well, then, Mark, just get whatever the value of request.getContextPath() is and hard code it. ??? What do you think, Micael. From: Mark [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Tuesday, November 27, 2001 11:03 AM Subject: RE: .gif images not displaying with JSPs Yes,

Re: .gif images not displaying with JSPs

2001-11-27 Thread Micael Padraig Og mac Grene
Just a suggestion, Mark: if you actually showed the directories rather than saying things like the root context or the same directory as the html and JSP files it would be easier, because the relative paths are not the only issues. -Original Message- From: Mark [EMAIL PROTECTED] To:

Re: .gif images not displaying with JSPs

2001-11-27 Thread Micael Padraig Og mac Grene
At any rate, Mark, I would be interested in what the path you get is. Just put %= request.getContextPath() % before img src='%= request.getContextPath() %/blah/blah.gif'/ -Original Message- From: Mark [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Tuesday, November 27,

Re: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread Micael Padraig Og mac Grene
Just a preemptive question, Mark. Is your servlet's class object really called myservlet.class rather than, say, MyServlet.class? -Original Message- From: Mark [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Monday, November 26, 2001 7:00 AM Subject: Re: TC 4.0 newbie -

Re: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread Micael Padraig Og mac Grene
Okay, Mark, Part II, I want to make sure we are communicating properly before going further. No sense wasting time. Your note is not correct about at least somethings -- for example (no pun intended): The web.xml for examples/WEB-INF/web.xml DOES have servlet mappings. So, I am not sure what

Re: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread Micael Padraig Og mac Grene
Okay, Mark, Part III, another question: If you don't put your servlet called myservlet in a package called myservlet as well, why do you use that odd pattern? The pattern looks like you want to use servlet as a package name? I am starting to think that you have some left-over confusion from

Re: TC 4.0 newbie - servlet app won't run (correction)

2001-11-26 Thread Micael Padraig Og mac Grene
I will reply, Mark, in bits and drabs, as I try to figure out what you are missing and what you may have wrong. First, the servlets I referred to are not any different as servlets. They are not compiled JSP pages. The are regular old servlets. Compiled JSP page servlets are kept in

Re: TC 4.0 newbie - servlet app won't run (correction)

2001-11-26 Thread Micael Padraig Og mac Grene
I have not looked at the webapps/examples except incidentally, Mark, so I am not sure how the HelloWorldExample servlet is accessed. How you access a servlet and where the servlet is are very important in these contexts. Inside and outside WEB-INF are very different, for example. Inside WEB-INF

Re: TC 4.0 newbie - servlet app won't run (correction)

2001-11-26 Thread Micael Padraig Og mac Grene
Mark. I personally work on my sites at a distance, so I am presently ftping the webapps/examples to have a look at them. Micael -Original Message- From: Mark [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Monday, November 26, 2001 10:15 AM Subject: Re: TC 4.0 newbie -

Re: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread Micael Padraig Og mac Grene
Mark, I don't have webapps/examples running, so I need to ask you another question. Is there a class file called HelloWorldExample.class in examples/servlets/?, i.e. examples/servlets/HelloWorldExample.class. From what I can tell about your remarks, there should be. I notice that the only

Re: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread Micael Padraig Og mac Grene
Mark, regarding accessing servlets, I will give a few general remarks that may or may not be helpful. I would appreciate knowing either way. -Original Message- From: Mark [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Monday, November 26, 2001 9:58 AM Subject: Re: TC 4.0

Re: TC 4.0 newbie - servlet app runs now!!

2001-11-26 Thread Micael Padraig Og mac Grene
Mark wrote: For example, now that I *finally* got my app to work using servlet mapping, I also found if I leave all mapping out of web.xml and have FORM ACTION=servlet/myservlet METHOD=POST, Tomcat will still find/run the servlet under ..WEB-INF/classes. Is that by design? Mark,

Re: TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Micael Padraig Og mac Grene
Your pattern does not occur in your post. So, the pattern will not send the post to the servlet. If you make your post anything and make your pattern anything, that will work. Get my drift? The post is just some text that should match the pattern and that will then refer the app to your

Re: TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Micael Padraig Og mac Grene
Mark, Scott is right, of course, but there is no reason to use a url when in fact you are just using a tag or a name. It is misleading, in my opinion. In Scott's code, substituting form action=pudding method=post for form action=/servlet/servlet method=post works just as well as long as you

Re: Java and double

2001-11-14 Thread Micael Padraig Og mac Grene
Not sure what your point is. The code is okay, check out the internal math yourself. You can do it by hand. If you want more precision, use different code. -Original Message- From: Mangi, Rick [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Date: Wednesday, November 14,

Re: MVC in Tomcat is hard

2001-11-03 Thread Micael Padraig Og mac Grene
Lo, Evil. You can look at Struts, as suggested, or take a look at David Geary's new book on taglibs, with it's sample app in the last (I think) chapter. He has everything you are asking for precoded. Micael -Original Message- From: Dr. Evil [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: Form authentication/ password changing

2001-11-01 Thread Micael Padraig Og mac Grene
Are you experiencing the same thing? -Original Message- From: Timothy Fisher [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Thursday, November 01, 2001 12:47 PM Subject: Re: Form authentication/ password changing Craig, I agree with all of your comments. From the

Re: Can't happen - classname is null, who added this ?

2001-11-01 Thread Micael Padraig Og mac Grene
Usually happens when you add something to a web container run in conjunction with a JBoss application server without bouncing JBoss. Did you do that? -Original Message- From: Voon, Wendy [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Date: Thursday, November 01, 2001 9:58

Re: Can't happen - classname is null, who added this ?

2001-11-01 Thread Micael Padraig Og mac Grene
And, are you running David Geary's app? That is a good source for that under those circumstances. -Original Message- From: Voon, Wendy [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Date: Thursday, November 01, 2001 9:58 PM Subject: Can't happen - classname is null, who

Re: getNamedDispatcher

2001-10-26 Thread Micael Padraig Og mac Grene
Try the trusted and true: if(isForward) { ServletContext ctx = servlet.getServletContext(); RequestDispatcher rd = ctx.getRequestDispatcher(response.encodeURL(url)); rd.forward(request, response); } else { response.sendRedirect(res.encodeRedirectURL(url)); } -Original

Re: More experiments with changing the default (/) mapping

2001-10-26 Thread Micael Padraig Og mac Grene
I think I already sent you the answer. You have a ControlServlet servlet which has a BeanServlet servlet do its work processing the request in the ControlServlet's service(Req, Res) method. The call to the BeanServlet returns a RouterServlet. The RouterServlet has the code I previously sent

Re: Catching NPE's in JSPs

2001-10-22 Thread Micael Padraig Og mac Grene
To tell you the truth, I don't get all this baloney we hear all the time about error finding being such a problem with JSP, or Jasper, etc. I really have never had a problem with this. If you spend three months coding before you test something, I can see the problem. But, that's silly. If

Re: Logging solution is complicated (was Re: Debugging in Tomcat 4)

2001-10-22 Thread Micael Padraig Og mac Grene
Jeesch, Dr. Evil, I gave you a logger that does fancier logging and has no setup. You didn't like it? It also has simpler code in the class. And, it does automatic type identification on the fly. Whatchawant? ;-) -Original Message- From: Dr. Evil [EMAIL PROTECTED] To: [EMAIL

Re: Logging solution is complicated (was Re: Debugging in Tomcat 4)

2001-10-22 Thread Micael Padraig Og mac Grene
Cool. Glad you are doing well. -Original Message- From: Dr. Evil [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Monday, October 22, 2001 8:48 PM Subject: Re: Logging solution is complicated (was Re: Debugging in Tomcat 4) Jeesch, Dr. Evil, I gave you a logger that

Re: Debugging in Tomcat 4

2001-10-19 Thread Micael Padraig Og mac Grene
Why don't you build a logger? That is simple to do and can give you whatever you want. Every coder should have a few in his or her toolkit anyway. If you don't want to build one, there are oodles on the market and laying around for free. Don't know what kind of code you are writing, but it

Re: Tomcat 3.3 and user specific Webapps...

2001-10-02 Thread Micael Padraig Og mac Grene
Do you mind my asking why you want to do that, to better understand if I can be helpful without wasting time? -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Tuesday, October 02, 2001 10:07 PM Subject: Tomcat 3.3 and user specific

Re: Tag Libs And Model 2

2001-09-26 Thread Micael Padraig Og mac Grene
Yes. javax.servlet.jsp.PageContext is referenced the variable pageContext in TagSupport for the PageContext member field. Check out JSP Tag Libraries by Shachor,et al, by Manning Publications Co. or Advanced JavaServer Pages by David Geary by Pretice-Hall Press. Both books are good. I like

Re: [JSP] get serial value in PostgreSQL

2001-09-25 Thread Micael Padraig Og mac Grene
Don't know PostgreSQL, but it must be a call of to get something like lastId(). Watch not to leave any space in time between the two, if you have an active site, and even if you do not. -Original Message- From: Lester June Cabrera [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL

Re: Limits of Web

2001-09-24 Thread Micael Padraig Og mac Grene
Hi, Jim, I am unclear about your question. The Web can easily take care of this sort of thing. Certain there is no trouble with a number of Java solutions to the job at hand. I am not sure why you would think that Java could not do this. It is a relatively easy task. It's just a matter of

Re: Limits of Web

2001-09-24 Thread Micael Padraig Og mac Grene
There is no need to use Swing, but it is not that slow. Chances are that your developers have learned how to write Swing but that they have no learned how to wrap the application up for speed. On the security issues, you can make things as secure as you want, so I don't get that problem.

Re: Limit access to manager app?

2001-09-24 Thread Micael Padraig Og mac Grene
Put it inside WEB-INF -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Monday, September 24, 2001 9:52 PM Subject: Limit access to manager app? Is there a way to prevent remote users from accessing the /manager/ application? I

Re: what port should I use for mod_webapp

2001-09-24 Thread Micael Padraig Og mac Grene
Change warp -Original Message- From: Nick Torenvliet [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Monday, September 24, 2001 8:45 PM Subject: what port should I use for mod_webapp I managed to get Apache and Tomcat going tonight whew!!! To get it working I had to

Re: how to make a servlet as the home page

2001-08-26 Thread Micael Padraig Og mac Grene
Why don't you just have the welcome page in the web.xml contain: jsp:forward page=/map* / and have /map* mapped in web.xml to a servlet? I don't understand why you think going to a servlet in a problem? -Original Message- From: Aravind Naidu [EMAIL PROTECTED] To: [EMAIL

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Micael Padraig Og mac Grene
What if it is not a servlet/jsp that is looking for the properties file, but, rather a garden variety file? -Original Message- From: Jan Labanowski [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Cc: Jan Labanowski [EMAIL PROTECTED] Date: Friday, August 17, 2001 7:16 PM Subject:

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Micael Padraig Og mac Grene
Sorry, I did not mean file but, rather, class. -Original Message- From: Jan Labanowski [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Cc: Jan Labanowski [EMAIL PROTECTED] Date: Friday, August 17, 2001 7:16 PM Subject: RE: Why and How Tomcat before Apache? On Fri, 17 Aug

Paris

2001-06-09 Thread Micael Padraig Og mac Grene
Hi, as well, Hate to jump into a conversation, but what is your gig in Paris, Dom? I am a Francophile and have been looking for a way to get to Paris forever. I am an engineer with a focus, a strong focus, in Java. So, thought I'd drop this note. Micael Padraig mac Grene -Original

<    1   2