Kenyth Zeng's Library tagged → View Popular
Apache Tomcat 6.0 - Class Loader HOW-TO
-
Some JVMs may
implement this as more than one class loader, or it may not be visible
(as a class loader) at all. -
the standard Tomcat 6 startup scripts
($CATALINA_HOME/bin/catalina.shor
%CATALINA_HOME%\bin\catalina.bat) totally ignore the contents
of theCLASSPATHenvironment variable itself - 6 more annotations...
01 Nov 09
page 2 > The Chain of Responsibility pattern's pitfalls and improvements - JavaWorld
-
By nature, a global event hook chain is not classic CoR. The event must be delivered to all listeners in the chain,
regardless of whether a listener already handles it. So theCallNextHookEx()call seems to be the job of the base class, not the individual listeners. Letting the individual listeners make the call
doesn't do any good and introduces the possibility for stopping the chain accidentally. -
"4. a) Either invoke the next entity in the chain using the
FilterChainobject (chain.doFilter()), 4. b) or not pass on the request/response pair to the next entity in the filter chain to block the request processing."
page 1 > The Chain of Responsibility pattern's pitfalls and improvements - JavaWorld
-
I wrote two Java programs (for Microsoft Windows OS) that must catch global keyboard events generated by other applications
concurrently running on the same desktop. Microsoft provides a way to do that by registering the programs as a global keyboard
hook listener. -
The code that registers the program itself as a hook listener was missing the
CallNextHookEx()call required by the hook framework. - 1 more annotations...
18 May 09
[疑难杂症]终于搞清了getServletContext()空指针异常的原因了~~ - windelk - JavaEye技术网站
-
原来我重写了init(ServletConfig),但第一行没有调用super.init(config);就是这导致了错误!父类的init(ServletConfig)有处理获取ServletContext对象的引用,在doGet()等方法中才能够通过getServletContext()方法获取到SeverletContext对象!!
Hello World - cometd | The Dojo Toolkit
-
I am using the Tomcat 6 server with the Jetty continuation servlet
17 May 09
page 6 > Asynchronous HTTP and Comet architectures - JavaWorld
-
The long poll is one of the two Comet strategies to reduce the frequency of HTTP calls
-
The second Comet strategy is response body streaming.
- 6 more annotations...
14 May 09
Resin : Tutorials : Server-Push Servlet
-
the browser executes the script as part of its
progressive rendering, the user will see the updates immediately without
waiting for the entire HTTP request to complete. -
The CometController is Resin's thread-safe encapsulation
of control and communication from the application's service to the
Comet servlet. - 4 more annotations...
WEB-INF/classes/example/TestCometServlet.java
-
res.setHeader("Cache-Control", "no-cache, must-revalidate");
res.setHeader("Expires", "Mon, 27 Jul 1997 05:00:00 GMT");
res.setContentType("text/html");
out.println("<html><body>");
29 Apr 09
Building a Server-based Application with Equinox
-
put a
check next to theorg.eclipse.equinox.http.jettybundle
06 Jan 09
Servlet Tutorial: Handling Form Data
-
It can be
attached to the end of the URL after a question mark (as above), forGETrequests, or sent to the server on a separate line, forPOSTrequests. -
traditionally
one of the most tedious parts of CGI programming - 6 more annotations...
06 Oct 08
OpenEntityManagerInViewFilter (Spring Framework API 2.5)
-
Servlet 2.3 Filter that binds a JPA EntityManager to the thread for the
entire processing of the request.
OpenSessionInViewFilter (Spring Framework API 2.5)
-
Servlet 2.3 Filter that binds a Hibernate Session to the thread for the entire
processing of the request.
24 Aug 08
Diff btw response.sendRedirect, jsp:forward and RequestDispatch .forward methods? (Servlets forum at JavaRanch)
-
It actually modifies response header and tells the client the browser that the requested page is relocated and header also contains the new location of the page.
-
No response is send to the browser, the web container internally redirects the request to the other page.
- 1 more annotations...
23 Aug 08
RequestDispatcher (Java EE 5)
-
as a wrapper around a server resource located
at a particular path or given by a particular name -
This interface is intended to wrap servlets
- 1 more annotations...
HttpSession (Java EE 5)
-
across more than one page
request -
The session persists
for a specified time period, across more than one connection or
page request from the user - 4 more annotations...
Servlet Tutorial: Session Tracking
-
HTTP
is a "stateless" protocol -
three typical solutions
- 7 more annotations...
Cookie (Java EE 5)
-
saved by the browser, and later sent back to the server
-
sent by a servlet to
a Web browser, saved by the browser, and later sent back to the server - 4 more annotations...
Selected Tags
Related Tags
Sponsored Links
Ads by Google
Top Contributors
Related Lists on Diigo
-
Java
Mostly related to java tech...
Items: 3 | Visits: 63
Created by: Srinivas Raghu
-
eBooks Space for download FREE!!
Many eBooks files Space for...
Items: 1 | Visits: 72
Created by: Kim So Hee
-
Railo
A high performance, free, o...
Items: 5 | Visits: 17
Created by: scott conklin
Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »
Join Diigo

