The Javadocs of the Servlet spec (javax.servlet.jsp.tagext) give a pretty
good idea of the lifecycle of the different tag classes. However, you might
indeed be best of reading a book first.
Martin
-Oorspronkelijk bericht-
Van: Derek [mailto:[EMAIL PROTECTED]
Verzonden: dinsdag 27 april 20
Ok, I would highly recommend O'Reilly's Java Server Pages -- it's half
JSP and half how to write custom JSPs. It goes through the life-cycle
of the various custom tag implementations.
Derek
On Apr 26, 2004, at 8:09 PM, Steven J. Owens wrote:
--- Glenn Nielsen <[EMAIL PROTECTED]> wrote:
It sou
> --- Glenn Nielsen <[EMAIL PROTECTED]> wrote:
> > It sounds like you are referring to how the Java source code
> > for a JSP is generated. This is based on the JSP spec and
> > the vendors implementation of it. If you are using Tomcat
Somewhat; while I'm most particularly interested in the t
Kris Schneider wrote:
You may also need to override HttpServletRequestWrapper.getHeaders so that it
returns a non-empty Enumeration for the Accept-Language header. In other words,
always make JSTL think that the client has supplied the header. JSTL should
then use ServletRequest.getLocales for the
Try:
Quoting "J. L." <[EMAIL PROTECTED]>:
> Hi,
>
> I went through the java i18n tutorial, and I found
> some informations about compound messages :
> http://java.sun.com/docs/books/tutorial/i18n/format/messageFormat.html
>
> The problem is that I did not succed to use compound
> messages wit
You may also need to override HttpServletRequestWrapper.getHeaders so that it
returns a non-empty Enumeration for the Accept-Language header. In other words,
always make JSTL think that the client has supplied the header. JSTL should
then use ServletRequest.getLocales for the list of preferred loca
One problem is probably the use of instead of in:
..
..
I guess it's a bit verbose, but here's an example page:
<%@ page contentType="text/plain" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>
<%@ taglib prefix="io" uri="http://jakarta.apache.org/taglibs/io-1.0"; %>
<%@
Of course, there are JavaDocs available for JSP in Tomcat:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jspapi/index.html
That's at least a good starting point -- especially from a Java servlet
programmer's perspective. There really isn't a DOM for JSP that I know
of. Each of the browsers im
Hello everyone,
for the i18n of my web application, I have written a servlet filter that
implements the following model:
- if the user or guest has selected a language from the navigation menu,
use it (it is stored in the users HttpSession).
- else if the user is logged in use his/her language
It sounds like you are referring to how the Java source code
for a JSP is generated. This is based on the JSP spec and
the vendors implementation of it. If you are using Tomcat
you might want to ask on the tomcat-user or tomcat-dev
lists if such a thing exists for Jasper which implements
JSP pages
Hi,
I went through the java i18n tutorial, and I found
some informations about compound messages :
http://java.sun.com/docs/books/tutorial/i18n/format/messageFormat.html
The problem is that I did not succed to use compound
messages with JSTL :(
My JSP :
...]
<%@ taglib prefix="fmt"
uri="http://j
11 matches
Mail list logo