RE: Adding content/JSPs on the fly

2005-05-27 Thread Steve Kirk
It sounds reasonable, but probably isn't tested or by design, so probably best to just have a go. Re portability, the best advice I can offer is an old chestnut: read the servlet spec. This is particularly relevant in this case. The spec is generally pretty good at telling you you pretty

Re: Adding content/JSPs on the fly

2005-05-27 Thread Will Hartung
From: Steve Kirk [EMAIL PROTECTED] Sent: Friday, May 27, 2005 11:44 AM It sounds reasonable, but probably isn't tested or by design, so probably best to just have a go. Re portability, the best advice I can offer is an old chestnut: read the servlet spec. This is particularly relevant in

Re: Adding content/JSPs on the fly

2005-05-27 Thread Frank W. Zammetti
Could you instead store the JSP in a database? Let's say you have a table with the following structure: jsp_nameString jsp_content BLOB jsp_name is your primary key and is literally a JSP name. Now, create a servlet filter that examines the path that was requested and pulls out

Re: Adding content/JSPs on the fly

2005-05-27 Thread Will Hartung
From: Frank W. Zammetti [EMAIL PROTECTED] Sent: Friday, May 27, 2005 1:04 PM Could you instead store the JSP in a database? ... snip ... Now, get the BLOB from the database based on that JSP name. Convert the BLOB to a string and stick it in request, then forward to a JSP that is the

RE: Adding content/JSPs on the fly

2005-05-27 Thread Steve Kirk
for. And that's an easy choice to make :) -Original Message- From: Will Hartung [mailto:[EMAIL PROTECTED] Sent: Friday 27 May 2005 20:38 To: Tomcat Users List Subject: Re: Adding content/JSPs on the fly From: Steve Kirk [EMAIL PROTECTED] Sent: Friday, May 27, 2005 11:44 AM