Re: Serving JSP who aren't into a physical file.

2009-08-19 Thread Mikolaj Rydzewski
gerv...@polymedis.com wrote: I'm writing a webapp where users can extends forms. A form extension is a bean and two jsp part (one for the form and one for the view) these files are bondled into a Jar. Now I'm trying to serve the two Jsp parts but I always fail. What I want is to read and resp

Re: Serving JSP who aren't into a physical file.

2009-08-19 Thread Tim Funk
You probably want to implement your own DirContext. See FileDirContext and WARDirContext - which is how Tomcat serves Files from disk or WAR files. Of course this solution makes your webapp tomcat dependent and you'll need to place new classes/jars into the server classloader. -Tim gerv...@po

Serving JSP who aren't into a physical file.

2009-08-19 Thread gerv...@polymedis.com
Hi everyone, I'm writing a webapp where users can extends forms. A form extension is a bean and two jsp part (one for the form and one for the view) these files are bondled into a Jar. Now I'm trying to serve the two Jsp parts but I always fail. What I want is to read and respond the content