Re: Struts vs JSF (poll?)

2008-08-24 Thread Johnny Kewl
- Original Message - From: "Frank W. Zammetti" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, August 24, 2008 10:10 PM Subject: Re: Struts vs JSF (poll?) Being as most of what I do today is RIA development, I've personally found that the ideal solution is to use NO framew

Re: DWR [Slightly off topic -- Was Struts vs JSF (poll?)]

2008-08-24 Thread Frank W. Zammetti
he outside >>> world;) >>> >>> Its not about standards, its about lockin... actually many "standards" >>> also mean lock in... thats probably why they made them. >>> You cant beat just having a good clever designer on your team... there >>> ar

Re: DWR [Slightly off topic -- Was Struts vs JSF (poll?)]

2008-08-24 Thread Ken Bowen
Frank, This may be too far off-list; if so please suggest another channel. However, there may be other developers lurking on the list who would also be interested. I've downloaded DWR and performed a cursory look through the examples, and it looks promising (I've done a chunk of very bare-m

Re: Tomcat does not unpack WAR file (Tomcat 5.5.20)

2008-08-24 Thread H. Hall
Peter wrote: I may be going slightly off-topic for this thread, but I have 2 questions regarding the ROOT.xml ROOT.xml fragment file... As a test, I removed ROOT.xml and tested the app behavior. Specifically, I performed these steps to remove the ROOT.xml fragment file: => I removed ROOT.x

Re: override 100-continue response in servlet

2008-08-24 Thread Kees Jan Koster
Dear Craig, I'm writing a servlet to allow large-file uploads (with ranges and resume). One issue I noticed was that if the range is invalid (I do the checks in doPut), and I return a 416, the client (curl in this case) continues to upload the body (possibly gigabytes of data that will be

Re: Tomcat ignores the missing JDBC DataSource reference in web.xml

2008-08-24 Thread Kees Jan Koster
Dear Gennady, My web.xml descriptor missing reference to JDBC data source defined in context.xml ( section), but web application runs just fine and pooled data source consumed by hibernate. Same here. I read somewhere that the tutorials are wrong and the this is the way it's supposed to

Re: Custom error page with stacktrace

2008-08-24 Thread Kees Jan Koster
Dear All, In your error page, the variable "exception" is set to the exception (if any). You can get the error message and stack trace from the exception like this: Exception message: <%= (exception == null) ? "" : exception.getMessage() %> <% String stStack = ""; if (exception != null) {

Re: Struts vs JSF (poll?)

2008-08-24 Thread Frank W. Zammetti
Being as most of what I do today is RIA development, I've personally found that the ideal solution is to use NO framework at all. I use DWR and just treat everything as method calls. The nice thing about that is you wind up with a very clean and "plain" structure to your application in the sense

Re: ajax tomcat caching

2008-08-24 Thread cpanon
Hello Update There seems to be another set of outputs. If I do not run the web first and just start it and then run my ajax app, I execute the call to the webapp, but there is no parameter, even though I check both XMLHttpRequest.open(a,b,c) and XMLHttpRequest.send(query). This is a check right

ajax tomcat caching

2008-08-24 Thread cpanon
Hello I trying to access an running webapp that itself works fine. I can see the results of the app within the output of my IDE when I just run the app separately. Problem is I am trying to test an ajax app and when I execute the XMLHttpRequest.send(query) after proper setup with a known paramet

Re: Struts vs JSF (poll?)

2008-08-24 Thread Johnny Kewl
- Original Message - From: "Tommy Pham" <[EMAIL PROTECTED]> To: Sent: Sunday, August 24, 2008 7:03 AM Subject: Struts vs JSF (poll?) Hi everyone, This maybe out of scope for this list but I wanted to know more about Struts vs JSF other this old article [1]. Which are are deployed

Re: Re: Re: errors in deploying war file to tomcat 5.5

2008-08-24 Thread sam wun
Hi, In said, I have putĀ  the commons-io-1.3.1.jar file in the WEB-INF/lib/ directory. Thanks. > - Original Message - > From: Len Popp > Sent: 25/08/08 01:32 am > To: Tomcat Users List > Subject: Re: Re: errors in deploying war file to tomcat 5.5 > > Shouldn't the .jar file go i

Re: How to block part of application based on ip filtering

2008-08-24 Thread Johnny Kewl
- Original Message - From: "Meir Yanovich" <[EMAIL PROTECTED]> To: Sent: Sunday, August 24, 2008 1:38 PM Subject: How to block part of application based on ip filtering Hello all im using tomcat as the web server , and i have reverse proxy that redirect to the tomcat i like to be ab

Re: Tomcat does not unpack WAR file (Tomcat 5.5.20)

2008-08-24 Thread Mark Thomas
Peter wrote: > I may be going slightly off-topic for this thread, but I have 2 > questions regarding the ROOT.xml ROOT.xml fragment file... http://tomcat.apache.org/tomcat-5.5-doc/config/context.html should provide answers to your questions. Mark

Re: automatic login

2008-08-24 Thread Johnny Kewl
- Original Message - From: "Thomas Haines" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, August 24, 2008 4:16 PM Subject: automatic login Hi all I'm trying to figure out a way to "automatically login" a user. It arises when they have created an account, and I don't wa

Re: Re: errors in deploying war file to tomcat 5.5

2008-08-24 Thread Len Popp
Shouldn't the .jar file go in WEB-INF/lib? Where is the commons-fileupload.jar file? commons-io.jar should go in the same directory. .war and .jar files are the same as .zip files, so you can unpack them using any utility that unpacks .zip files. On Windows, the easiest way is to rename the file w

Re: How to block part of application based on ip filtering

2008-08-24 Thread Tommy Pham
--- On Sun, 8/24/08, Meir Yanovich <[EMAIL PROTECTED]> wrote: > From: Meir Yanovich <[EMAIL PROTECTED]> > Subject: How to block part of application based on ip filtering > To: users@tomcat.apache.org > Date: Sunday, August 24, 2008, 7:38 AM > Hello all > im using tomcat as the web server , and i

automatic login

2008-08-24 Thread Thomas Haines
Hi all I'm trying to figure out a way to "automatically login" a user. It arises when they have created an account, and I don't want to then direct them back to a login page - rather, I want to, in this instance, just log them in. I am using Tomcat's container-managed security. I am usi

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-24 Thread Thomas Haines
Hi edponce so if i understood everything i just need to duplicate the tomcat folder, do i need to rename it or something? Yes, you just need to duplicate it. You can call the duplicate folder whatever you like. Then "On the duplicated tomcat directory, you need to edit the server.xml fi

How to block part of application based on ip filtering

2008-08-24 Thread Meir Yanovich
Hello all im using tomcat as the web server , and i have reverse proxy that redirect to the tomcat i like to be able to restrict the users that redirected from the reverse proxy server to be able to enter only one section of the application . now i was reading the configuration and i found only the

Re: Tomcat does not unpack WAR file (Tomcat 5.5.20)

2008-08-24 Thread Peter
I may be going slightly off-topic for this thread, but I have 2 questions regarding the ROOT.xml ROOT.xml fragment file... As a test, I removed ROOT.xml and tested the app behavior. Specifically, I performed these steps to remove the ROOT.xml fragment file: => I removed ROOT.xml from ...conf

Re: Tomcat does not unpack WAR file (Tomcat 5.5.20)

2008-08-24 Thread Peter
It turns out that the problem IS connected to the ROOT.xml file under conf\Catalina\localhost. As soon as I remove ROOT.xml, the ROOT.war unpacks. This is what my ROOT.xml file looks like: There has been some prior discussion around this topic. For example, see: http://marc.info/?l=tomcat-u

Re: Re: errors in deploying war file to tomcat 5.5

2008-08-24 Thread sam wun
Hi, I have downloaded commons-io-1.3.1.jar file and put it in the MET-INF\lib\ folder in Eclipse(3.4). Then I highlight the project name , right click it, select Export->War file to export the project into a war file. Have I missing any step? NOw I still getting the same errors. BTW, how

Re: Re: errors in deploying war file to tomcat 5.5

2008-08-24 Thread sam wun
> - Original Message - > From: Edoardo Panfili > Sent: 24/08/08 02:28 am > To: Tomcat Users List > Subject: Re: errors in deploying war file to tomcat 5.5 > > Edoardo Panfili ha scritto: > > sam wun ha scritto: > >> Hi, > >> > >> > >> > >> I tried to deploy a war file (built from Eclipse