Re: JRun 4 (Build 59056) - jsp:include error

2004-09-09 Thread Kathy Vance
Where do you put your servlet? I remember in Jrun 4.0,
you only need to put your servlet in your classes
folder.
Kathy
--- ernest buechel <[EMAIL PROTECTED]> wrote:

> Migration Problem (JRun 3 to 4)
> 
> One error is bugging me; My page doesn't process
> after the first jsp:include executes...
> 
> Basically I would just see 
> 
> "this is the stuff before a"
> 
>  -- included jsp code --
> 
> ... then nothing
> 
> What happened to the line "this is the stuff after
> a" ???
> 
> Any help would be greatly appreciated, Ernest
> 
> note: I tried increasing my buffer; didn't help
> 
> -- my code (jsp) --
> <%@ page language="java" contentType="text/html" %>
> <%@ page isThreadSafe="true" %>
> <%@ page autoFlush="true" %>
> <%@ page buffer="81962kb" %>
> <%@ page errorPage="error_short.jsp" %>
> 
> <% String a="/servlet/PortalServlet?requestid=32"%>
> 
> <% out.println("this is the stuff before a"); %>
> 
> <% out.println("this is the stuff after a"); %>
> 
> -- my code (PortalServlet) ---
> 
> ...
> public void doGet(HttpServletRequest request,
> HttpServletResponse response)
>  throws IOException,
> ServletException
> {
> ...
> ServletContext context =
> getServletConfig().getServletContext(); 
>    
> context.getRequestDispatcher(jsp).forward(request,
> response);
> ...
> }
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: JRun 4 (Build 59056) - jsp:include error

2004-09-09 Thread Jeffrey Anderson
Have you looked at the generated HTML source to see if the rest of the page
doesn't render due to invalid markup?

 
Also, I think the syntax for includes is:  not "/>

 
These links might help you:

 
http://www-106.ibm.com/developerworks/java/library/j-jsp04293.html

 
and

 
http://java.sun.com/products/jsp/tags/11/syntaxref1112.html

  _  

From: ernest buechel [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 09, 2004 11:27 AM
To: JRun-Talk
Subject: JRun 4 (Build 59056) - jsp:include error

Migration Problem (JRun 3 to 4)

One error is bugging me; My page doesn't process after the first jsp:include
executes...

Basically I would just see 

"this is the stuff before a"

-- included jsp code --

... then nothing

What happened to the line "this is the stuff after a" ???

Any help would be greatly appreciated, Ernest

note: I tried increasing my buffer; didn't help

-- my code (jsp) --
<%@ page language="java" contentType="text/html" %>
<%@ page isThreadSafe="true" %>
<%@ page autoFlush="true" %>
<%@ page buffer="81962kb" %>
<%@ page errorPage="error_short.jsp" %>

<% String a="/servlet/PortalServlet?requestid=32"%>

<% out.println("this is the stuff before a"); %>

<% out.println("this is the stuff after a"); %>

-- my code (PortalServlet) ---

...
public void doGet(HttpServletRequest request, HttpServletResponse response)
 throws IOException, ServletException
{
...
    ServletContext context = getServletConfig().getServletContext(); 
    context.getRequestDispatcher(jsp).forward(request, response);
...
} 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




JRun 4 (Build 59056) - jsp:include error

2004-09-09 Thread ernest buechel
Migration Problem (JRun 3 to 4)

One error is bugging me; My page doesn't process after the first jsp:include executes...

Basically I would just see 

"this is the stuff before a"

 -- included jsp code --

... then nothing

What happened to the line "this is the stuff after a" ???

Any help would be greatly appreciated, Ernest

note: I tried increasing my buffer; didn't help

-- my code (jsp) --
<%@ page language="java" contentType="text/html" %>
<%@ page isThreadSafe="true" %>
<%@ page autoFlush="true" %>
<%@ page buffer="81962kb" %>
<%@ page errorPage="error_short.jsp" %>

<% String a="/servlet/PortalServlet?requestid=32"%>

<% out.println("this is the stuff before a"); %>

<% out.println("this is the stuff after a"); %>

-- my code (PortalServlet) ---

...
public void doGet(HttpServletRequest request, HttpServletResponse response)
 throws IOException, ServletException
{
...
    ServletContext context = getServletConfig().getServletContext(); 
    context.getRequestDispatcher(jsp).forward(request, response);
...
}
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]