Re: Design Question

2011-08-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 8/6/2011 9:41 PM, Mohit Anchlia wrote: thanks for your input. Is it ok to make Http Calls and wait for response inside of Valve or Filter? Sure. You can do whatever you'd like. Are there any problems that might arise because of this?

Re: Design Question

2011-08-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 8/5/2011 5:46 PM, Mohit Anchlia wrote: I also need to use mod_rewrite to direct request to new Servlet. Can I use rewrite to say abc.com/abc to abc.com/switch/abc? Of course. That's kind of what mod_rewrite was written to do... rewrite

Re: Design Question

2011-08-06 Thread Mohit Anchlia
On Sat, Aug 6, 2011 at 6:10 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 8/5/2011 5:46 PM, Mohit Anchlia wrote: I also need to use mod_rewrite to direct request to new Servlet. Can I use rewrite to say abc.com/abc to

Design Question

2011-08-05 Thread Mohit Anchlia
We are developing a new system that will run in parallel with old system. So some requests will go to new system and some old based on configuration. We will put software switch software which will read configuration and the request and decide which system this will go to. This switch calls

Re: Design Question

2011-08-05 Thread André Warnier
Mohit Anchlia wrote: We are developing a new system that will run in parallel with old system. So some requests will go to new system and some old based on configuration. We will put software switch software which will read configuration and the request and decide which system this will go to.

Re: Design Question

2011-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 8/5/2011 1:59 PM, Mohit Anchlia wrote: This switch calls HttpClient Post calls using thread pools to send the request to other systems. Uh, why not use an HTTP proxy instead of using HttpClient. Squid, Apache httpd, countless LBs, and

Re: Design Question

2011-08-05 Thread Mohit Anchlia
On Fri, Aug 5, 2011 at 1:37 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 8/5/2011 1:59 PM, Mohit Anchlia wrote: This switch calls HttpClient Post calls using thread pools to send the request to other systems. Uh, why

Re: Design Question

2011-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 8/5/2011 5:05 PM, Mohit Anchlia wrote: On Fri, Aug 5, 2011 at 1:37 PM, Christopher Schultz Uh, why not use an HTTP proxy instead of using HttpClient. Squid, Apache httpd, countless LBs, and many others have this capability without you

Re: Design Question

2011-08-05 Thread Mohit Anchlia
On Fri, Aug 5, 2011 at 2:41 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 8/5/2011 5:05 PM, Mohit Anchlia wrote: On Fri, Aug 5, 2011 at 1:37 PM, Christopher Schultz Uh, why not use an HTTP proxy instead of using

RE: Windows XP SP2 - design question

2006-01-20 Thread Peter Crowther
From: Snow white [mailto:[EMAIL PROTECTED] We use a cookie to maintain the state that determines what is sent to the client, and we update the cookie in every response of this URL request. So, presumably, your app already breaks if a user uses the 'Refresh' button on the page, even pre-SP2?

Re: Windows XP SP2 - design question

2006-01-20 Thread Snow white
So, presumably, your app already breaks if a user uses the 'Refresh' button on the page, even pre-SP2? Its a quickly passing intermediate page, that checks for a few things on the end user pC and sends a report back to the server. Ofcourse the app breaks if the user uses the 'Refresh' button,

Windows XP SP2 - design question

2006-01-20 Thread Snow white
Hello fellow tomcat users, I have a problem with how IE works on Win XP SP2. I did not find anything in the archives so posting it here. I have a web page with an activex control in it served through a servlet. the javascript in the webpage interfaces with the activex and then refreshes the page