RE: RequestDispatcher scenarios ( was RE: static url routing)

2002-12-13 Thread RXZ JLo
--- Cox, Charlie [EMAIL PROTECTED] wrote: RequestDisatcher is for dispatching (parts of)the current request to other resources in the same context without involving the browser. This means that it is not a new request(filters/valves/etc do not get invoked), but it is processed by the

Re: RequestDispatcher scenarios ( was RE: static url routing)

2002-12-12 Thread RXZ JLo
--- Craig R. McClanahan [EMAIL PROTECTED] wrote: On Mon, 9 Dec 2002, RXZ JLo wrote: Date: Mon, 9 Dec 2002 03:21:25 -0800 (PST) From: RXZ JLo [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RequestDispatcher

RequestDispatcher scenarios ( was RE: static url routing)

2002-12-09 Thread RXZ JLo
--- Craig R. McClanahan [EMAIL PROTECTED] wrote: To do a redirect filter, then, you'd examine the request URI to determine what kind of remapping is needed, and then do a RequestDispatcher.forward() call to the remapped resource name. After the forward returns (which means that the actual

RE: static url routing

2002-12-07 Thread RXZ JLo
--- Craig R. McClanahan [EMAIL PROTECTED] wrote: You actually *can* avoid entering a servlet, so Filter is a very practical way to do redirect type things, especially in the same webapp. Okay. Does mean I can use the Filter interface carefully instead of Servlet interface, and still

RE: static url routing

2002-12-06 Thread RXZ JLo
--- 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: how many linux processes should tomcat create???

2002-12-05 Thread RXZ JLo
Those are not processes, those are threads. $ ps awx shows the output below. As you say the following may be threads, but how do I get the parent process of all these - ie., how do I restrict the output to show only the processes and not the threads within. I need this to kill the tomcat

static url routing

2002-12-04 Thread RXZ JLo
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 ie., they have a common prefix and suffix. is it possible to have urls like http://localhost:8080/myapp/html/xyz213 point to the first file above? Note that I dont want to write a servlet for that, only

Re: Host Context - Unpacking of WARs

2002-11-29 Thread RXZ JLo
On linux, for tomcat 4.0.6, even without a context in server.xml, my classes got reloaded (ie., the webapp restarted) - no reloadable=true in server.xml Is this correct? --- Kwok Peng Tuck [EMAIL PROTECTED] wrote: For the context of the webapp in the server.xml . RXZ JLo wrote

Re: Host Context - Unpacking of WARs

2002-11-28 Thread RXZ JLo
For the applications deployed through WAR files, where do I specify attributes like reloadable? thanks. rf __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL

Reload classes, deployed through WAR file

2002-11-27 Thread RXZ JLo
Tomcat 4.0.6 Deployment through WAR file, ie., no entry for the app in server.xml 1. In such case, where to mention reloadable=true? 2. With the same setup as above on Linux, the webapp reloads when classes change. This is not happening on windows 2000. Any comments? How to make reloadable work

storing passwords

2002-11-22 Thread RXZ JLo
I want to introduce the concept of users in my web application. I want to know how to store passwords securily on the server side. How do people deal with passwords usually? Any documentation/guides on this would also do. thanks rf. __ Do you

Re: storing passwords

2002-11-22 Thread RXZ JLo
Thanks to all of you for the responses. apart from this password I will be storing some other things too(they too are passwords but for some other things in the application). I cant use one way hash as I cant use them further. what mechanism should I follow in this case? Also, for the login

HTTP GET Response size discrepancy

2002-11-18 Thread RXZ JLo
My servlet reads an xml file from the disk and just outputs it as the response. When I access the URL from IE, I get the xml file finely. But when I access the xml from my VB program, the xml seems to be somewhat different(I dont know in what way its different but MS XML parser refuses to parse

Re: HTTP GET Response size discrepancy

2002-11-18 Thread RXZ JLo
Anyone again? --- RXZ JLo [EMAIL PROTECTED] wrote: My servlet reads an xml file from the disk and just outputs it as the response. When I access the URL from IE, I get the xml file finely. But when I access the xml from my VB program, the xml seems to be somewhat different(I dont know

eth0 ip, not lo ip

2002-11-16 Thread RXZ JLo
Hi InetAddress.getLocalHost().getHostAddress() this is returning the lo interface's ip(127...), i want the eth0 interface's ip. Where and what configuration should I change for this? Thanks, Rf. __ Do you Yahoo!? Yahoo! Web Hosting - Let the

Re: eth0 ip, not lo ip

2002-11-16 Thread RXZ JLo
at java.net.NetworkInterface: NetworkInterface.getByName( eth0 ); should do it, if i read the docu rights, that's it. Torsten Fohrer On Saturday 16 November 2002 10:54, RXZ JLo wrote: Hi InetAddress.getLocalHost().getHostAddress() this is returning the lo interface's ip(127

Re: eth0 ip, not lo ip

2002-11-16 Thread RXZ JLo
? Pae - Original Message - From: RXZ JLo [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, November 16, 2002 5:23 AM Subject: Re: eth0 ip, not lo ip Actually I am getting the eth0 IP on some machines, and not on some others. I

mod_jk-1.3-eapi.so

2002-11-14 Thread RXZ JLo
My mod_jk.so is mod_jk-1.3-eapi.so, I have reflected this in conf/auto/mod_jk.conf. But everytime I restart tomcat this file is regenerated and my change doesnt remain. 1. Can I stop the regeneration of mod_jk.conf OR 2. Where do I have to update in order to get correct .so in the mod_jk.conf

RE: mod_jk-1.3-eapi.so

2002-11-14 Thread RXZ JLo
--- Turner, John [EMAIL PROTECTED] wrote: You can add a parameter to the Listener tag in server.xml that says modJk=/my/path/to/modJk/myJkfile then that value will be written to mod_jk.conf. Which Listener tag - Server or Host? I added modJk=path at both places and restarted tomcat.

RE: Window doesnt close on shutdown

2002-10-19 Thread RXZ JLo
manager, then go back and reread the logs again, more clues might turn up. rls RXZ JLo [EMAIL PROTECTED] 10/17/2002 10:32 PM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject

RE: Window doesnt close on shutdown

2002-10-18 Thread RXZ JLo
No. Should it? --- Adam Greene [EMAIL PROTECTED] wrote: Does the title bar say Finished?? -Original Message- From: RXZ JLo [mailto:rufoo2001;yahoo.com] Sent: Wednesday, October 16, 2002 9:33 AM To: [EMAIL PROTECTED] Subject: Window doesnt close on shutdown I use tomcat4.0.4

RE: Window doesnt close on shutdown

2002-10-18 Thread RXZ JLo
I am creating two socket listeners in my webapp, am I supposed to close them explicitly for the shutdown to finish gracefully? thanks, rf --- RXZ JLo [EMAIL PROTECTED] wrote: No. Should it? --- Adam Greene [EMAIL PROTECTED] wrote: Does the title bar say Finished?? -Original

RE: Window doesnt close on shutdown

2002-10-18 Thread RXZ JLo
process in the task manager? If not is there a -w in the target field of the properties for the shortcut for Tomcat stop? rls RXZ JLo [EMAIL PROTECTED] 10/17/2002 09:12 PM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc

Window doesnt close on shutdown

2002-10-16 Thread RXZ JLo
I use tomcat4.0.4 on windows 2000. When I shutdown tomcat, the window just shows Stopping Tomcat-Apache and standalone and doesnt close on itself. Does this mean my application hasnt closed properly? Thanks, rf __ Do you Yahoo!? Faith Hill -