Yes you can
pageContext.include(/common/rdm_header.jsp);
Good luck
-Original Message-
From: antony [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 7:45 PM
To: JSP-INTEREST
Cc: antony
Subject: Re: JSP/SERVLET DESIGN QUESTION
How can I include
for a NullPointerException which will be thrown by the above if the
file does not exist.
-Tim
-Original Message-
From: antony [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 7:45 PM
To: JSP-INTEREST
Cc: antony
Subject: Re: JSP/SERVLET DESIGN QUESTION
How can I include these includes from
Actually, what you might want to do is have all your servlets extend one
class, and have the include code there. For example:
public abstract class MyBaseServlet extends HttpServlet
{
public abstract void MyService(HttpServReq request, HttpServResp response)
{};
public void
Hi
I have a questionI want to know if the following is bad design.
I have a servlet, called Simple, with the following doPost code in it
[snip]
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
Why dont u just put the includes inside the servlet?
-Original Message-
From: Antony Stace [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 4:35 AM
To: [EMAIL PROTECTED]
Subject: JSP/SERVLET DESIGN QUESTION
Hi
I have a questionI want to know if the following is bad
/SERVLET DESIGN QUESTION
Hi
I have a questionI want to know if the following is bad design.
I have a servlet, called Simple, with the following doPost code in it
[snip]
public void doPost(HttpServletRequest request,
HttpServletResponse response