Hello Chris, Justin,
The index.jsp file in the main directory contains the code <%@
include file="header.jsp" %> and it works great.
In the admin directory the index.jsp file contains this code <%@
include file="../header.jsp" %> obviously referencing to the parent
directory, where the header.j
Dies
Filip Hanik - Dev Lists wrote:
> This question belongs to the tomcat user list, please direct your future
> questions there,
> The answer to your question is is conf/web.xml where you can set the
> language features for the JSP, just search for 1.4 and change it to 1.5
>
> But if he's using something like Axis, then there is no ServletContext
> around to use IIRC.
Actually, there is. You can get it with
javax.xml.rpc.server.ServletEndpointContext#getServletContext().
Regards,
Dies
Christopher Schultz wrote:
Tomas,
2) Then the code will be independent of t
Hello Roberto,
Check out the Servlet specification:
http://java.sun.com/products/servlet/download.html
The tags under jsp-config are explained in the JSP specification:
http://java.sun.com/products/jsp/reference/api/index.html
Tomcat 5.x supports the Servlet 2.4 and JSP 2.0 specifications.
Reg
Hello Heiko,
I think you're looking for the following method:
javax.servlet.http.Cookie#setMaxAge(int expiry)
Its default value (see getMaxAge()) is -1 => the cookie persists until
browser shutdown.
Regards,
Dies
Heiko Klein wrote:
Hi,
I'm currently moving an web-application from custom-m
Hello Andrew,
Could it be that Tomcat is busy garbage collecting?
I see your machine has a lot of memory. If you set your VM size so big
and that memory is all used by Tomcat or your application, garbage
collection cycles are bound to take longer (all objects in memory have
to be checked to se
Hello Jean-Claude,
Nothing in particular, it is not invalidated or anything just because
you sent a redirect to the client.
Regards,
Dies
Serlet Jean-Claude wrote:
Sorry but i made a mistake : the method used is sendRedirect(url) instead of
sendDirect(url)
Jean-Claude
Hello Yan,
Is it possible that you don't have cvs in your classpath?
Did you try to run `cvs -d
:pserver:[EMAIL PROTECTED]:/home/cvspublic login` as suggested?
Regards,
Dies
Yan Bai wrote:
Hello all,
I want to build T5 from src, have followed the steps in the
instruction, but BUILD FAILED. B
> Push a url to a servlet which then serves the images from the working
> directory?
In which you could also set the headers (images are temporary, so maybe
set Cache-Control, Expires?).
Regards,
Dies
Mark Thomas wrote:
Romain Quilici wrote:
Hello Dies,
the working directory would be fine,
Hello Romain,
Is there no way you can use the temporary working directory
(javax.servlet.context.tempdir)?
I don't know what "pushing inside a client browser" means, but as you
mentioned the files are temporary, this sounds like the place to put them..
Also, you won't need to worry about mainta
10 matches
Mail list logo