Re: can I define a subcontext within a global context?

2003-02-04 Thread Jan-Michael Ong
Hi there, This sounds like a dumb question (probably is) but can I define a subcontext within another global context? In other words if I define a web application context to be /myapplication and I want another mini-web application (separate from /myapplication but within it) i.e.

RE: can I define a subcontext within a global context?

2003-02-04 Thread Jan-Michael Ong
-Michael Ong [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 1:34 PM To: Tomcat Users List Subject: Re: can I define a subcontext within a global context? Hi there, This sounds like a dumb question (probably is) but can I define a subcontext within another global context? In other words

Re: Tomcat 4.1.18: Problems redirecting the page

2003-01-13 Thread Jan-Michael Ong
Try the following modify response.sendRedirect(intermediateForm.jsp?errMsg=+sbuf.toString()+ to response.sendRedirect(/app1/intermediateForm.jsp?errMsg=+sbuf.toString()+ and see if that helps Jan-Michael At 09:15 PM 1/13/2003 +0530, Neginder Singh wrote: Dear All I am using the

RE: Tomcat dies

2002-12-13 Thread Jan-Michael Ong
I've had this problem too in the past and our best (but definitely not the most elegant) solution is to switch to C-shell before invoking the command. Log on as root. (your root shell can be anything) Create a user tomcat: useradd tomcat Switch to C-shell: /bin/csh Do something to the effect of

RE: Errors in iis_redirect.log file

2002-12-13 Thread Jan-Michael Ong
I've seen this one: [Tue Dec 03 11:10:44 2002] [jk_isapi_plugin.c (498)]: jk_ws_service_t::write, WriteClient failed [Tue Dec 03 11:10:44 2002] [jk_ajp13_worker.c (381)]: Error ajp13_process_callback - write failed This means that a request to a resource (JSP/servlet) has been made but

Re: Mod_jk Try #2 - error can't find apache

2002-12-13 Thread Jan-Michael Ong
apxs requires perl to be available check the first line of apxs head -1 /usr/sbin/apxs It should say something like #!/usr/local/bin/perl or something along those lines check the availability of your perl install ls -l /usr/local/bin/perl if it says not found do a find for perl and replace

deploying a WAR file without restarting? and Cookie Name problem in 3.2.1

2002-11-30 Thread Jan-Michael Ong
Greetings Tomcat Users Group, I'm hoping that you can help me here. I've purchased the Prof. Apache Tomcat book and searched through the archives but I'm unable to get any meaningful results for the following two questions: 1. JBoss allows for hot deployment--that is if I get my terms

Re: creating a directory under webapps

2002-11-01 Thread Jan-Michael Ong
This might help but I think you have to specify the full path as your docbase instead of Context path=/diegodev docBase=diegodev debug=0 reloadable=true/ try Context path=/diegodev docBase=/path/to/diegodev debug=1 reloadable=true/ or if your tomcat is in /usr/local/tomcat Context

Re: adding context

2002-11-01 Thread Jan-Michael Ong
Hi there, path is for url so your example below will fail Context path=C:/ docbase=Projects/calendar/htdocs debug=0/ http://localhost:8080/context_path/path/to/servlet Does the examples work for you? http://localhost:8080/examples? How about removing this context and sticking with the basic

Re: adding context

2002-11-01 Thread Jan-Michael Ong
the tomcat root directory. By tomcat root directory I mean C:\Program Files\Apache Group\Tomcat 4.1\ as an example on my machine. If I want to put my jsps in c:\some_dir, is that possible? thanks for the help -jonthan - Original Message - From: Jan-Michael Ong [EMAIL PROTECTED] To: Tomcat Users

Re: NEWBIE: Intercepting the jsp request before its written as a java file

2002-10-30 Thread Jan-Michael Ong
its been really hard to figure out if its the best way to do it or if there are better ways to accomplish what I'd like to do. I would appreciate any help that you can provide in advance. Thanks very much. Sincerely, Jan-Michael Ong -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe

Re: NEWBIE: Intercepting the jsp request before its written as a java file

2002-10-30 Thread Jan-Michael Ong
% -- OR -- jsp:include page={relativeURL | %= expression %} flush=true| false jsp:param name=parameterName value={parameterValue | %= expression %} /+ /jsp:include Thanks. --- Jan-Michael Ong [EMAIL PROTECTED] wrote: Greetings Tomcat-Users Group, I tried to search on this topic on Google