Is it a bug? A Servlet 2.3 Spec. question about forward.

2004-04-01 Thread Hugh J. L.
Hi, Description of test case: In servlet1, use getServletContext().getRequestDispatcher().forward() to forward to servlet2, and in servlet2, call request.getRequestURL() Test result: Tomcat 4.1.30 return

Does Jasper for Tomcat 4.1.x support JSP line mapping?

2003-07-28 Thread Hugh J. L.
Hi, As I know, Jasper for Tomcat 4.0 supports JSP line mapping (in JakartaCommentGenerator.java) which is very useful in JSP debugging. JBuilder supports JSP debugging through this way. Does Tomcat 4.1.x support this feature? If it doesn't support for now, do you have plan to support this

Re: Bug in DateTool in tomcat connector util?

2002-09-19 Thread Hugh J. L.
to hit, but that doesn't mean that you can't. The parse side (getting the If-Modified-Since header) has been fixed in the nightly for quite some time now. - Original Message - From: Hugh J. L. [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED] Sent: Tuesday

Bug in DateTool in tomcat connector util?

2002-09-17 Thread Hugh J. L.
Hi, I found a bug (?) when i was testing tomcat3.3 using MS web stress tool. I set up large amount of concurrent requests for static files, each with header If-Modified-Since which is newer than actual last-modified-time of those requested files. I should have got 304 response for ALL requests

JSP include after redirect. Spec. or bug?

2002-08-28 Thread Hugh J. L.
Hi, % response.sendRedirect(b.jsp); String left_page=c.jsp; % jsp:include page=%=left_page% flush=true / Running on Tomcat 4, it is ok. Running on Tomcat 3.3, the result is correct but there is error message on console. Of course, the include in this example is meaningless, but this jsp is

Re: It seems new Tomcat33 reloading has a ClassLoader problem

2002-08-25 Thread Hugh J. L.
When I was tracing into ObjectSerializer, I found that the class loader parameter it got was NOT the one passed to it in SimpleSessionStore. So the serialization was NOT done using our expected context class loader of the new context. Why? I can't explain this behavior... I simulated the

Duplicate Contexts in reloading. Probably a sync bug in Tomcat 3.3.

2002-08-19 Thread Hugh J. L.
Hi, If two requests enter ReloadInterceptor.contextMap() simultaneously and both reload context, it causes duplicate context reloading. -- messages -- 2002-08-19 16:15:16 - ContextManager: Removing context DEFAULT:/examples 2002-08-19 16:15:16 - ContextManager: Removing

Question about Session in Tomcat 3.3

2002-08-12 Thread Hugh J. L.
As I tested, when context reloads in Tomcat 3.3.1, e.g. caused by modification of servlet class, sessions are lost. Is it true for all Tomcat 3.3.x? Is there any switch in source code which can change this behavior and maintain sessions through context reloading? Thanks for your help. Hugh

Re: HttpSession and CTRL-N / File new window

2002-08-12 Thread Hugh J. L.
Launch a new IE from OS, but not a new IE window from current IE. --- John Trollinger [EMAIL PROTECTED] wrote: I have noticed that in IE if you do a CTRL-N to bring up a new window in IE it will have the same session as the currently opened window. Is there anyway around this.. or a way to

Question about Session in Tomcat 3.3 -- continued...

2002-08-12 Thread Hugh J. L.
I changed switch fullReload in ReloadInterceptor from true to false, and sessions are maintained through context reloading. (Of course, because the old context remains.) Is there any disadvantage if I set this way? Anyway fullReload=true is default setting. Thanks. Hugh

Does Tomcat 4 support Dependencies On Extensions in SRV 9.7.1?

2002-07-30 Thread Hugh J. L.
Hi, Is Tomcat 4 able to recognize declared dependencies expressed in the manifest entry of library JARs in a WAR? According to SRV 9.7.1, if a web container is not able to satisfy the dependencies declared in this manner, is should reject the application. If Tomcat 4 supports this function,

Need Help on Jasper Integration

2002-05-14 Thread Hugh J. L.
Hi, We have integrated Tomcat 3.3 into our system and now I have to upgrade it to support Servlet 2.3/JSP 1.2. (For some reason we can't integrate Tomcat 4 for now.) I plan to code facade23 myself to support Servlet 2.3 but I think Jasper is too much to me. Could any expert tell me if it is

Question about jsp/servlet performance

2002-04-28 Thread Hugh J. L.
Hi, As i tested, the jsp/servlet performance of Tomcat 4.0 is only 50%-70% of Tomcat 3.3. Can any expert tell me what causes it? Http processing, request mapping or something else? I may integrate Tomcat 4.0 into our system so I should be aware of its reason and possible ways to improve it.

Q: implementation of servlet/jsp specification level?

2002-04-09 Thread Hugh J. L.
Hi, Does current Tomcat 4 implement all requirements of Servlet specification 2.3 and JSP specification 1.2? Thanks. Hugh __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To unsubscribe, e-mail:

Question: does Tomcat4 manage jsp/servlet threads?

2002-03-31 Thread Hugh J. L.
Hi, everyone, I need some help on Tomcat 4 architecture. Does Tomcat 4 manage jsp/servlet threads? For example, can it report condition of those threads, stop dead thread and release resource, etc? And, does it use thread pool? Thanks. I have to know this before I have time to read its source

Re: more information about bug 6704 (rmi in jsp)

2002-02-28 Thread Hugh J. L.
yes. i tried. that is the problem. too many server session objects are created before any session expires. web stress tool's automatic cookie doesn't work well with tomcat so we don't use it in testing. i just wonder why this problem only causes port problem. when we integrate tomcat into our

more information about bug 6704 (rmi in jsp)

2002-02-27 Thread Hugh J. L.
servlet log: empty jasper log: 2002-02-27 15:23:08 - JspFactoryImpl: Exception initializing page context - java.lang.OutOfMemoryError no stack trace available this appears once just before the port becomes not accessible. testing with web stress tool with single thread, processing

one more thing about bug 6704 (rmi in jsp)

2002-02-27 Thread Hugh J. L.
we test rmi jsp with microsoft web stress tool with only one client thread. thanks. __ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetings.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Why Tomcat 3.3 runs much faster than 3.2.3?

2001-12-17 Thread Hugh J. L.
As I tested, Tomcat 3.3 runs much faster than 3.2.3 (for both JSP and Servlet requests). What changes are the main factors of this performance improvement? Thanks. __ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your