Re: JSP/SERVLET DESIGN QUESTION

2001-11-15 Thread [Moisey Oysgelt]
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

Re: JSP/SERVLET DESIGN QUESTION

2001-11-15 Thread Chen, Gin
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

Re: JSP/SERVLET DESIGN QUESTION

2001-11-15 Thread Joe Cheng
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

JSP/SERVLET DESIGN QUESTION

2001-11-14 Thread Antony Stace
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,

Re: JSP/SERVLET DESIGN QUESTION

2001-11-14 Thread Chen, Gin
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

Re: JSP/SERVLET DESIGN QUESTION

2001-11-14 Thread Antony Stace
/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