Bugs item #594563, was opened at 2002-08-13 05:18
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=594563&group_id=22866

Category: CatalinaBundle
Group: v3.0 Rabbit Hole
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jeff Miner (jeff_miner)
Assigned to: Scott M Stark (starksm)
Summary: Include of JSP jumps to top of page

Initial Comment:
OS: Win98
JDK: 1.4

I have some code that manually does a JSP include 
by getting a RequestDispatcher.  The code worked 
under Weblogic 5.1 and 6.  In Jboss/Catalina, 
although there are no errors thrown, the output from 
the included JSP gets put at the top of the containing 
page rather than in the middle where it was called.  
This is puzzling because it ought to be exactly the 
same as a <jsp:include ...> tag (and I assume those 
work!)

******Containing Page*******
....<table><tr><td>

<%= myObject.getOutput(request, response) %>

</td></tr></table>...


******* Object ********
  public String getOutput(HttpServletRequest request, 
HttpServletResponse response) {
     RequestDispatcher dispatch = 
context.getRequestDispatcher("someJSP.jsp");
     try {
           dispatch.include(request, response);
          } catch(Exception e){}
    return "";
*************

The output from "someJSP.jsp" should go inside the 
table, but instead it goes at the top of the containing 
page.


----------------------------------------------------------------------

>Comment By: Scott M Stark (starksm)
Date: 2002-09-28 20:12

Message:
Logged In: YES 
user_id=175228

This was a jasper issue that has been fixed.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=594563&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to