jsp page/actions design question

2006-11-13 Thread fea jabi
Using struts. Have a JSP cust.jsp In it half of it is very specific to that page only. other half is shown in this cust.jsp and another report.jsp too. want to implement this so that code can be re-used in the other one too. The way I have designed is for a jsp have a prepare action and

Re: jsp page/actions design question

2006-11-13 Thread Lixin Chu
you can use %@ include file=... % to include the common JSP. On 11/14/06, fea jabi [EMAIL PROTECTED] wrote: Using struts. Have a JSP cust.jsp In it half of it is very specific to that page only. other half is shown in this cust.jsp and another report.jsp too. want to implement this so that

Re: jsp page/actions design question

2006-11-13 Thread Chris Pratt
I'd look at either JSP Include or Tiles. (*Chris*) On 11/13/06, fea jabi [EMAIL PROTECTED] wrote: Using struts. Have a JSP cust.jsp In it half of it is very specific to that page only. other half is shown in this cust.jsp and another report.jsp too. want to implement this so that code can