Hi!
I got a problem with the RequestDispatcher. I'm trying to make a simple framwork to
include jsp-pages as components into a template-jsp. But I doesn't get the pages
nested the way I'd like it. Could anyone please explain why the RequestDispatcher puts
page2 before page1 in
Hey guys...
i'm doing something wrong or if when you set an request attribute and
then do a RequestDispatcher.forward() you lost your new attribute?
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://w
Hi
When i use the RequestDispatcher within a first.jsp and forward to
someother.jsp that produces the output, why doesn't the url-address in the browser
show someother.jsp instead of first.jsp ?
Any suggestions to how i can make it show the actual jsp-file in the url-address field
o
Regards
Roland Carlsson
- Original Message -
From: "Roland Carlsson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 14, 2002 9:48 AM
Subject: RequestDispatcher
Hi!
I got a problem with the RequestDispatcher. I'm trying to make a simple
framwo
}
private void gotoPage(String address,
HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
RequestDispatcher dispatcher =
getServletContext().getRequestDispatcher(address);
d
Has anybody seen this behavior?
If I use the following code I get no errors.
RequestDispatcher dispatcher = request.getRequestDispatcher(url);
dispatcher.forward(request, response);
If I use the following code I get a null pointer exception because
dispatcher is null.
RequestDispatcher
I am using RequestDispatcher with an app in Jetty
that seems to work fine but I am moving over to
Tomcat and find it does not work. With Tomcat
the page will forward its request and the browser
will display the source html instead of the rendered
html page..the only exception to this is IE, it
I'll assume that you're doing something like this:
response.setAttribute( "ATTR", new Object() );
RequestDispatcher d = response.getRequestDispatcher( "/test.jsp" );
d.forward( request, response );
If it's something like that the attrib
Sorry you all, I was doing something very very stupid, it's working
now :-((
On Fri, 2003-01-24 at 15:55, Mike Jackson wrote:
> I'll assume that you're doing something like this:
>
> response.setAttribute( "ATTR", new Objec
t;1" and there is no template stored in the database, it stores
the new one and then it does this:
RequestDispatcher rd = req.getRequestDispatcher("iowa?event=TEMPLATES&state=2");
rd.forward(req, resp);
It DOES work.
However, when it recieves state="1" and there is alre
uly 11, 2003 9:23 AM
> To: Tomcat Users List
> Subject: RequestDispatcher
>
>
> Hi
>
> When i use the RequestDispatcher within a first.jsp and
> forward to someother.jsp that produces the output, why
> doesn't the url-address in the browser show someother.jsp
&g
I have a quick question, how do I set up my system so that I can return
some pages through a requestdispatcher that can't be requested by the
user direct from the browser?
Cheers,
-Josh
--
[ Josh 'G' McDonald ][ 0415 784 825 ][ http://w
I am having a problem with Tomcat 5.0.27.
RequestDispatcher include function returns
java.lang.StringIndexOutOfBoundsException: String index out of range: -
This problem does not appear in Tomcat 4.1.30
any ideas?
-
To
Hello,
I'm having trouble using the include() method of RequestDispatcher.
I have a servlet that is accessed via a URL (servlet_A).
servlet_A gets an input stream from the request and reads some data
(all being sent).
Then based on what was read, servlet_A will create a RequestDispatche
OException, ServletException
{
// Acquire request parameters we need
String incPage = request.getParameter("incpage");
if (incPage != null)
{
RequestDispatcher rd =
getServletContext().getRequestDispatcher(incPage);
i am using tomcat 4.0.3, apache 2.0.34 over ssl with the warp connector.
i have set the connector allowChunking to false.
the problem that i see is that after i use
getRequestDispatcher(page).include(req,resp) and flush the resp.out, the
page does not get flushed to the browser.
here is sample
day, August 09, 2002 1:57 PM
>To: [EMAIL PROTECTED]
>Subject: RequestDispatcher question
>
>Hello,
>
>I am trying to send a (request, response) object to a server that lives
at
>another IP (or URL). I have the need to pass parameters that are in the
>request object, but I can
Title: RE: RequestDispatcher failure
Using request the URL given can be relative and using the application it has to be absolute begining with a '/'. Check to see if this may be the cause of the error.
Thanks and Regards,
===
Gary Grewal
-Original Message-
From: Ma
Title: Re: RequestDispatcher failure
Using request the URL given can be relative and using the application it has to be absolute begining with a '/'. Check to see if this may be the cause of the error.
Thanks and Regards,
===
Gary Grewal
-Original Message-
From: Ma
er(url) method cannot find the url, it returns null.
This is discussed in the servlet and/or jsp spec.
-Mark Howell
[EMAIL PROTECTED]
Mark Mynsted wrote:
>
> Has anybody seen this behavior?
>
> If I use the following code I get no errors.
>
> RequestDispatch
application it has
to be absolute begining with a '/'. Check to see if this may be the cause of
the error.
Thanks and Regards,
===
Gary Grewal
-Original Message-
From: Mark Mynsted [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 04, 2001 10:41 AM
To: [EMAIL PROTECTED]
Subjec
) throws
ServletException, IOException {
RequestDispatcher rd = req.getRequestDispatcher("/servlet/TestSession2");
rd.include(req, res);
HttpSession session = req.getSession(true);
session.setAttribute("msg", "The session is functioning prope
I am trying to use Tomcat 4 to
equestDispatcher.include() with a servlet that I have
written which returns a gif image.
However when I have the following code in the
doStartTag() I get nothing:
RequestDispatcher rd =
pageContext.getRequest().getRequestDispatcher("/path/to/my/se
Hello,
Could someone help me understand the following
situation?
I have two servlets (s1 and s2) and one jsp (j1).
If I do this in s1:
request.setAttribute("str1", "Hello");
then forward to s2:
...forward(request,response);
In s2 I do this:
request.setAttribute("str1", "So Long");
then forward b
OS: Windows XP - for development
TC: 4.1.18
JA: 1.4.1_01
I was under the impression that after calling RequestDispatcher.forward the
method would return and all subsequent processing would cease. However, this
apparently isn't the case.
For instance, when a user logs on successfully, we attach
Hi
I need some input on pro & con with using redirect instead of requestdispatcher. I
heard someone mention something about firewall issues or other security concerns
The reason i'm asking is that i have a problem making my requestdipatcher work, while
the redirection works just
Put the pages in any subdirectory under WEB-INF.
-Tim
Josh G wrote:
I have a quick question, how do I set up my system so that I can return
some pages through a requestdispatcher that can't be requested by the
user direct from the browser?
Cheers,
Is it possible to use RequestDispatcher's include method
inside a jspInit(), to execute another JSP script while
this JSP script is in its jspInit() method?
Thanks,
Jerry.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi all ,
i want to forward the control from a servlet to a jsp file using
RequestDispatcher.
the following code works:-
RequestDispatcher rd=request.getRequestDispatcher("finyear.jsp");
rd.forward(request,response);
and this does not work:-
RequestDispatcher rd=getSer
Forgot to mention I'm using 3.2 beta 6
--- Wyn Easton <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm having trouble using the include() method of RequestDispatcher.
> I have a servlet that is accessed via a URL (servlet_A).
> servlet_A gets an input stream from
Lets say I wanted to implement a MVC type architecture where all the
URLs are handled by a common controller servlet. By all URLs I mean
everything not just .jsp.
If I did this in Tomcat 3.1 the request dispatcher would let me forward
to a file (jsp, html or image) without further interpretation
; {
> // Acquire request parameters we need
> String incPage = request.getParameter("incpage");
> if (incPage != null)
> {
> RequestDispatcher rd =
> getServletContext().getRequestDispatcher(incPage);
>
Anyone have any hard and fast rules, good links, general info,
do and don't lists, or anything about these two?
We moved from iPlanet 4.1 where we did all redirection with
response.sendRedirect. That didn't work with tomcat so I
started using the forward method of RequestDispatcher.
y invoking their counterpart on the original HttpServletRequest.
Later on, during the request processing, I need to do 2 things:
a 'forward' and some 'include.
To do so I need to pass to the RequestDispatcher the HttpServletRequest (i.e. my
FormDataRequest),
for example:
req
le this, please help. I'm about to
scream at the walls.
The entire goal that I'm pursuing is to provide login security for my web
app.
I know how to create servlet mappings in web.xml and I basically know how to
use RequestDispatcher. However, I'm running into either of these two
Re problem B.
I found that after some re-directions Tomat ContextManager seemed to
be messing up the context path (see "Please explain this Context").
You can tell if this is happening by having the ContextManager log its
mappings:
in Server.xml.
It is either a bug or some strange semantics
On Thu, 10 Jan 2002, Scott Walter wrote:
> Date: Thu, 10 Jan 2002 19:38:58 -0800 (PST)
> From: Scott Walter <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: requestdispatcher with tags
>
&g
Wyn Easton wrote:
> Hello,
>
> Could someone help me understand the following
> situation?
>
> I have two servlets (s1 and s2) and one jsp (j1).
> If I do this in s1:
> request.setAttribute("str1", "Hello");
> then forward to s2:
> ...forward(request,response);
> In s2 I do this:
> request.setAtt
Well, forget it. :) I looked at some of my old code from a couple of years ago
and found my answer. Baaad assumption on my part. Thanks for the bandwidth.
Jason
> OS: Windows XP - for development
> TC: 4.1.18
> JA: 1.4.1_01
>
> I was under the impression that after calling RequestDispatcher.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The behavior we're seeing is that the 'forward to login page' fails
with an
IllegalStateException (Cannot forward after response has been
committed).
I got this exception when I invoked the getWriter() or when I set the
content-type before doing th
I want to give out an exe after an authorization. So I
put the exe in WEB-INF to avoid direct access, and
tried to do:
RequestDispatcher rd =
req.getRequestDispatcher("/WEB-INF/my.exe");
rd.forward (req, res);
Tomcat 4.0.6 says /WEb-INF/my.exe cannot be found.
I dont kno
List,
I'm having some trouble with using a RequestDispatcher, it works and
doesn't work.
#doPost( req, res )
...
50 Customer customer =
51 Customer.findCustomer( emailAddress, custData);
52
53 if(( customer == null ) ||
54( password == null ) ||
55( !passw
the finger there at the moment. Can someone
outline what is going on behind the scenes of the requestDispatcher call
that would be reseting the response's contentType?
Many thanks in advance,
Tim
-
To unsubscribe, e-ma
We are now using just on servlet which gets all the request and map's them to other
classes bei Classinvocation.
But we would now benefit from the servlet abillitys and are now reworking the system
to switch to RequestDispatcher.
The problem is now that I could not find the right pa
No
-Tim
Jerry Miernik wrote:
Is it possible to use RequestDispatcher's include method
inside a jspInit(), to execute another JSP script while
this JSP script is in its jspInit() method?
Thanks,
Jerry.
-
To unsubscribe,
of a JavaBean inside jspInit()?
Thanks,
Jerry.
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 01, 2004 7:08 AM
To: Tomcat Users List
Subject: Re: RequestDispatcher in jspInit() ?
No
-Tim
Jerry Miernik wrote:
> Is it possible to
x, I am missing, that
enables usage of a JavaBean inside jspInit()?
Thanks,
Jerry.
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 01, 2004 7:08 AM
To: Tomcat Users List
Subject: Re: RequestDispatcher in jspInit() ?
No
-Tim
Jerry Miernik wrote:
Is it
ilto:[EMAIL PROTECTED]
>Sent: Monday, January 26, 2004 7:36 AM
>To: [EMAIL PROTECTED]
>Subject: Off Topic - RequestDispatcher
>
>Hi all ,
>i want to forward the control from a servlet to a jsp file using
>RequestDispatcher.
>
>the following code works:-
>
>Reque
lhost:8080/myapp/myfolder/mypage.jsp
Forwarding it via a RequestDispatcher works fine:
// Forward the request to the proper Url
RequestDispatcher dispatcher = req.getRequestDispatcher(
"/myfolder/mypage.jsp" );
dispatcher.forward( req, res );
But the page itself references other page
I'm looking at design options for a servlet that uses forwarding. If
I were to get a RequestDispatcher in the init method (from
ServletContext) and store it as a static field, it would save getting
a RequestDispatcher for every request object.
That may minimise unnecessary repetition,
have the following code in my jsp, which is called by a forward from my
Controller servlet. The various Dispatchers are either servlets or jsps declared
in my web.xml.
All the servlets and jsps get run correctly. The problem is the output. The
output of the root jsp and the 3-4 included jsps are a
"/fr/", set the lang to "fr".
if (servletPath.indexOf("/fr/") == 0) {
request.setAttribute("lang", "fr");
String targetURL = servletPath.substring(3);
System.out.println("targetURL = " + targetURL);
RequestDispatcher rd = null;
OK,
So I found that I can access my servlet if I don't use the
RequestDispatcher .forward method. In other words, when I try and access my
page (e.g.: http://localhost:8080/dev/servlet/ProtectedPage) I get a login
JSP form that I specified. When I login successfully,the login page
reap
when you say response.sendRedirect doesn't work, what kind of
error/unexpected behavior are you getting?
-Original Message-
From: Jason Stortz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 24, 2002 11:12 AM
To: Tomcat Users List
Subject: RequestDispatcher forward v
302 temporarily moved error.
-Original Message-
From: Sullivan, Mark E [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 24, 2002 11:13 AM
To: 'Tomcat Users List'
Subject: RE: RequestDispatcher forward versus response.sendRedirect
when you say response.sendRedirect doesn
relative
paths are obviously best. Good to hear that you're using the
RequestDispatcher for this purpose now.
HTH,
-Jeff
"Sulliv
Jeff,
Thanks for reply. So, probably always use response.sendRedirect
with absolute url to something out of my webapp, but RequestDispatcher
for moving to other sources inside my webapp?
Does that sound right?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED
tortz"
smith.com>cc:
Subject: RE: RequestDispatcher forward
versus response.sendRedirect
0
Hello,
I'm new to this list, and please tell me if my question is misdirected.
I'm using Tomcat 4.0 beta 3.
I have a servlet that creates some session-scoped objects, then
forwards control to a jsp page to display them using a RequestDispatcher.
Regardless of whether I use incl
12:31:35 -0700
> From: Nicolas Romanetti <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: RequestDispatcher & HttpServletRequest wrapper issue.
>
> Hello,
>
> I am developing an internationalized
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 10:47 AM
To: Tomcat (E-mail)
Subject: Problem: Servlet Mappings & RequestDispatcher
Re problem B.
I found that after some re-directions Tomat ContextManager seemed to
be messing up the context path (see "Please explain this Conte
3 3:51 AM
> To: [EMAIL PROTECTED]
> Subject: RequestDispatcher and WEB-INF
>
>
> I want to give out an exe after an authorization. So I
> put the exe in WEB-INF to avoid direct access, and
> tried to do:
> RequestDispatcher rd =
> req.getRequestDispatcher("/W
/RequestDispatcher.html#forward(javax.servlet.ServletRequest,%20javax.servlet.ServletResponse)
Erik
-Original Message-
From: rf [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 3:51 AM
To: [EMAIL PROTECTED]
Subject: RequestDispatcher and WEB-INF
I want to give out an exe after an
Tomcat Users List
> Assunto: Re: RequestDispatcher and WEB-INF
>
> I do not think you can forward to a .exe file, not sure of what the spec
> says but the Javadoc says only JSP or HTML files.
>
> This link will probably get broken in your mail client, but if you
>
It is strange that RequestDispatcher considers only
jsp and html, why not other extns like jpg/gif or why
not just any other resource - is this because of any
security concern?
Also, I have not understood your workaround Mr Edson,
can you please tell me in more detail how to get
around my problem
rf wrote:
It is strange that RequestDispatcher considers only
jsp and html, why not other extns like jpg/gif or why
not just any other resource - is this because of any
security concern?
I don't think it's security, but I looked at the Servlet spec (page 55)
and couldn't
It should blow up at line 61. customer is null. Add a line 57.5:
return;
-Tim
Timothy Stone wrote:
List,
I'm having some trouble with using a RequestDispatcher, it works and
doesn't work.
#doPost( req, res )
...
50 Customer customer =
51 Customer.findCustomer( emailAddress, cus
Tim Funk wrote:
It should blow up at line 61. customer is null. Add a line 57.5:
return;
-Tim
I know it's null :) That's the idea of checking to see if the customer
or the password on the request is null, or if the password is incorrect.
Forward the user to the "/move/accounts.jsp". The forward i
Howdy,
The return; that Tim added is just as important as the null check...
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Timothy Stone [mailto:[EMAIL PROTECTED]
>Sent: Monday, June 16, 2003 3:09 PM
>To: Tomcat Users List
>Subject: Re: RequestDispa
Shapira, Yoav wrote:
Howdy,
The return; that Tim added is just as important as the null check...
Yoav Shapira
Millennium ChemInformatics
Tim Funk wrote:
It should blow up at line 61. customer is null. Add a line 57.5:
return;
-Tim
I guess that the way I understood forward( req, res) was that con
n control after RequestDispatcher#forward
calls. That's why pages like this:
http://www.wdvl.com/Authoring/Java/Servlets/request.html
that say "Any code written in our DispatcherTest servlet after
"rd.forward(request, response);" will not execute as the request is
already forwarded&q
d should return control after RequestDispatcher#forward
calls. That's why pages like this:
http://www.wdvl.com/Authoring/Java/Servlets/request.html
that say "Any code written in our DispatcherTest servlet after
"rd.forward(request, response);" will not execute as the request is
a
This issue is archived at:
http://marc.theaimsgroup.com/?l=tomcat-user&m=105578975520239&w=2
Timothy Stone wrote:
I have to say, the behavior seems almost identical to the described
behavior of RequestDispatcher#include since control is given back to the
forwarding servlet. Th
d this may become even worse with Servlet 2.4 ResponseListeners.
So that's why I like the first approach better. Seeing as how your book
was well-written enough to note control is returned after calling
RequestDispatcher#forward, I must assume the book was written before
Servlet 2.3 came out,
rective, so I'm pointing the finger there at the moment. Can someone
outline what is going on behind the scenes of the requestDispatcher call
that would be reseting the response's contentType?
From the documentation:
"...Uncommitted output in the response buffer is automatically cleared
te in the
page directive, so I'm pointing the finger there at the moment. Can
someone outline what is going on behind the scenes of the
requestDispatcher call that would be reseting the response's contentType?
From the documentation:
"...Uncommitted output in the response buffer is
-Yan
-Original Message-
From: Timothy Stone [mailto:[EMAIL PROTECTED]
Sent: April 15, 2004 14:45
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re: RequestDispatcher and pageEncoding question...
Timothy Stone wrote:
> Timothy Stone wrote:
>
>> List,
>>
>> A servlet
any work done
prior to the forwarding of the request.
Thank you, Yansheng.
Tim
-Original Message-
From: Timothy Stone [mailto:[EMAIL PROTECTED]
Sent: April 15, 2004 14:45
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re: RequestDispatcher and pageEncoding question...
Timothy St
9, 2004 6:37 AM
>To: Tomcat Users List
>Subject: RequestDispatcher resource not available
>
>We are now using just on servlet which gets all the request and map's them
>to other classes bei Classinvocation.
>
>But we would now benefit from the servlet abillitys and are now
of urls to servlets.
I think web.xml would be pretty confusing if I register all my 200 Servlets in it.
mfg
Michael Nitschke
-Ursprüngliche Nachricht-
Von: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 19. Mai 2004 14:55
An: Tomcat Users List
Betreff: RE: RequestDispatcher re
oser, please?
If you map a servlet to url-pattern /x, you would use "/x" as the
parameter to the call to get a RequestDispatcher object.
>We are using a database to store the mapping of urls to servlets.
That's not a standard practice, and it's also a lower performance design
than
: There lies the problem i don't know which servlets i would get, and i don't
: want to reconfigure the web.xml and restart the server every time something
: changes or get added.
If you want changes to be picked up w/o restarting the server, you'll
have to set "reloadable=true" for the context, w
>-Ursprüngliche Nachricht-
>Von: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Gesendet: Mittwoch, 19. Mai 2004 15:41
>An: Tomcat Users List
>Betreff: RE: RequestDispatcher resource not available
>Hi,
>>There lies the problem i don't know which servlets i woul
Hola,
>We want to add servlets in the running system, just by saying "now you
can"
OK. That certainly narrows down your possibilities.
>The mappings are stored in the database but would be cached in the
>servletContext and could be dynamically reloaded.
Cool.
>I also thought about the invoke
mfg
Michael Nitschke
>-Ursprüngliche Nachricht-
>Von: QM [mailto:[EMAIL PROTECTED]
>Gesendet: Mittwoch, 19. Mai 2004 15:59
>An: Tomcat Users List
>Betreff: Re: RequestDispatcher resource not available
>: There lies the problem i don't know which servlets i
>>We want to add servlets in the running system, just by saying "now you
>>can"
>OK. That certainly narrows down your possibilities.
Drastically
>>The mappings are stored in the database but would be cached in the
>>servletContext and could be dynamically reloaded.
>Cool.
The application now c
Hi,
>We are now for public pages that are cached as a whole down at 0.25
>seconds included the delivery. And really heavy generated pages (200 db
>queries) at
>1.5-2 seconds( I know there I have to do heavy optimisation)
Really? You do:
- Apache to Tomcat forwarding via mod_jk
- Tomcat WelcomeS
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 19, 2004 4:39 PM
To: Tomcat Users List
Subject: RE: RequestDispatcher resource not available
Hi,
>We are now for public pages that are cached as a whole down at 0.25
>seconds included the delivery. And really heavy gene
4 10:55 AM
>To: Tomcat Users List
>Subject: RE: RequestDispatcher resource not available
>
>Standard sun 1.4 jvm and a dualprocessor 1.5GHz, 1.5GB Ram Raid5 I
think
>Database is running on a sun dualprocessor speed and Ram I don't know.
>
>But we are considering a Su
: The point is I won't be able to start the server frequently to add new
: servlets, because our company needs the service 24/7.
Understood; please report your final solution, if possible.
Whenever an app steps out of the standard, there's an opportunity for
innovation. =)
One other idea: Tomcat
I do a combination now.
I enabled the Invoker and put a mapping in the web.xml for it.
I use the RequestDispatcher to forward to the other servlets via the
invoker.
I enabled the reloading feature of the context.
And everything works as I need it.
mfg
Michael Nitschke
-Original Message
7:59 AM
>To: [EMAIL PROTECTED]
>Subject: Thread safety for RequestDispatcher
>
>I'm looking at design options for a servlet that uses forwarding. If
>I were to get a RequestDispatcher in the init method (from
>ServletContext) and store it as a static field, it would save getting
>
The out from the jspwriter is NOT the same out as receieved by
response.getWriter();
The out in the JspPage is buffered.
-Tim
George Finklang wrote:
have the following code in my jsp, which is called by a forward from my
Controller servlet. The various Dispatchers are either servlets or jsp
So before each request dispatcher call I need to call a flush on the
out in the JspPage? How do I get access to it?
Do I also need to call flush at the end of each request dispatcher call?
--George
On 6/28/05, Tim Funk <[EMAIL PROTECTED]> wrote:
> The out from the jspwriter is NOT the same out
Try flush first, otherwise you might need to pass a
HttpServletResponseWrapper() to include() where the wrapper oversrides
getOutputStream() (or getWriter()
-Tim
George Finklang wrote:
So before each request dispatcher call I need to call a flush on the
out in the JspPage? How do I get acces
Feh. Easier to just translate the whole jsp into a servlet by hand
which is what I already did.
--George
On 6/29/05, Tim Funk <[EMAIL PROTECTED]> wrote:
> Try flush first, otherwise you might need to pass a
> HttpServletResponseWrapper() to include() where the wrapper oversrides
> getOutputStrea
See below.
On Wed, 27 Nov 2002, Stephen Riek wrote:
> Date: Wed, 27 Nov 2002 05:55:11 + (GMT)
> From: Stephen Riek <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Tom
ted the entire contents of the "/work"
directory and restarted Tomcat again to ensure that it
is not an old class being cached in memory.
Interestingly, the very first time that I make a request to
the Filter, I get the following error message:
java.lang.LinkageError: Class ja
- the LanguageFilter.java)
I have even deleted the entire contents of the "/work"
directory and restarted Tomcat again to ensure that it
is not an old class being cached in memory.
Interestingly, the very first time that I make a request to
the Filter, I get the foll
-
From: "Stephen Riek" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 27, 2002 2:54 PM
Subject: Re: Tomcat Filter with RequestDispatcher -
IncompatibleClassChangeError
>
> Ok, after further investigating, I re
1 - 100 of 172 matches
Mail list logo