Re: Can JSP code be served from a DB instead of files?

2010-12-28 Thread Mikolaj Rydzewski
On Mon, 27 Dec 2010 16:51:24 -0800, David Wall d.w...@computer.org wrote: While we use Tomcat ourselves, we've had users who run on other containers. I'll take a look though since maybe it's something that can be plugged into other containers, too. Good luck. In either case, a

Re: Can JSP code be served from a DB instead of files?

2010-12-28 Thread Pid
On 12/28/10 1:09 AM, Nikunj wrote: hi guys, While rendering jsp Is there any way to hide html source code from browser i.e when user clicks on view source browser will display blank page ... How is this question related to the thread in which it is posted? Please do not hijack other

Re: Can JSP code be served from a DB instead of files?

2010-12-28 Thread Pid
On 12/28/10 3:15 AM, Martin Gainty wrote: determine the template for your form for each individual field encountered populate the value attribute with content extracted from each Database Table.Column That's extraordinary, even by your standards. p 0x62590808.asc Description:

Re: Can JSP code be served from a DB instead of files?

2010-12-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 12/27/2010 7:51 PM, David Wall wrote: Thanks, Chris. Yeah, I figured this could be a tough one as there cannot be too many folks who want to store their JSPs in a database. It's a first for me and it seems like forever I've been doing

Re: Can JSP code be served from a DB instead of files?

2010-12-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 12/26/2010 2:59 PM, David Wall wrote: On 12/26/2010 2:04 AM, Mark Thomas wrote: Yes. You'll need to extend BaseDirContext in org.apache.naming.resources. For some examples, see FileDirContext and WarDirContext in the same package.

Re: Can JSP code be served from a DB instead of files?

2010-12-27 Thread David Wall
Yes. You'll need to extend BaseDirContext in org.apache.naming.resources. For some examples, see FileDirContext and WarDirContext in the same package. Thanks for the pointers, Mark. From what you are saying, this would be a Tomcat-specific solution. I was hoping for something that would work

Re: Can JSP code be served from a DB instead of files?

2010-12-27 Thread Nikunj
hi guys, While rendering jsp Is there any way to hide html source code from browser i.e when user clicks on view source browser will display blank page ... On Mon, Dec 27, 2010 at 4:51 PM, David Wall d.w...@computer.org wrote: Yes. You'll need to extend BaseDirContext in

Re: Can JSP code be served from a DB instead of files?

2010-12-27 Thread Hassan Schroeder
On Mon, Dec 27, 2010 at 5:09 PM, Nikunj nikunj.p...@gmail.com wrote: While rendering jsp Is there any way to hide html source code from browser i.e when user clicks on view source browser will display blank page ... No. -- Hassan Schroeder hassan.schroe...@gmail.com

Re: Can JSP code be served from a DB instead of files?

2010-12-27 Thread Jeff Hubbs
On 12/27/10 4:14 PM, Christopher Schultz wrote: I'm not sure there is going to be a pure-Java, container-agnostic solution. There is certainly nothing in the servlet spec that will help you with this, so your solution is likely to be either container-specific, or not a container-related

Re: Can JSP code be served from a DB instead of files?

2010-12-27 Thread Don Hill
This reminds me back when I was working RND on the silverstream app server. We stored everything in the DB. I am not sure on the specifics but I think we only stored pre-compiled in the db with some sever specific meta for url binding. I know it's no help but I couldn't resist. On Mon, Dec 27,

RE: Can JSP code be served from a DB instead of files?

2010-12-27 Thread Martin Gainty
determine the template for your form for each individual field encountered populate the value attribute with content extracted from each Database Table.Column Martin Gainty __ Jogi és Bizalmassági kinyilatkoztatás/Verzicht und

Re: Can JSP code be served from a DB instead of files?

2010-12-26 Thread Mark Thomas
On 26/12/2010 03:39, David Wall wrote: Is there a way to have Jasper (or other...) retrieve the JSP source code it'll compile from a database instead of a regular file? It's fine that Jasper write the .java/.class files as normal, but the .jsp would come from my database instead. A servlet that

Re: Can JSP code be served from a DB instead of files?

2010-12-26 Thread David Wall
On 12/26/2010 2:04 AM, Mark Thomas wrote: Yes. You'll need to extend BaseDirContext in org.apache.naming.resources. For some examples, see FileDirContext and WarDirContext in the same package. Thanks for the pointers, Mark. From what you are saying, this would be a Tomcat-specific