Re: How to serve JSPs (and other resources) from within a jarfile?

2008-12-18 Thread Simon Kitching
Mikolaj Rydzewski schrieb: > Simon Kitching wrote: >> I have noticed that the server.xml can be configured to point to a >> custom DirContext class, like this: >> >> >> >> > I don't know anything about above solution. > But for sure y

Re: How to serve JSPs (and other resources) from within a jarfile?

2008-12-16 Thread Simon Kitching
Kees Jan Koster schrieb: > Dear Simon, > >> I have embedded the jspwiki project within my own webapp, to provide a >> help engine. The jspwiki project provides java classes (in a jarfile) >> plus some .jsp files and assorted resource-files (images, scripts, etc). >> Currently I put all the java cla

How to serve JSPs (and other resources) from within a jarfile?

2008-12-16 Thread Simon Kitching
Hi All, I have embedded the jspwiki project within my own webapp, to provide a help engine. The jspwiki project provides java classes (in a jarfile) plus some .jsp files and assorted resource-files (images, scripts, etc). Currently I put all the java classes as a jarfile in my classpath (ok), and

JSP: How to write custom tag that reads its body text without evaluating embedded EL expressions

2008-10-21 Thread Simon Kitching
Hi, This is a jasper/JSP question; I hope this is the right list for this... I am trying to write a custom JSP tag that can get its content as plain text. Example: I want to create a tag class for of:flowConfig which just gets the embedded xml text without *any* processing app

Re: Embedding custom metadata in a jsp page; access generated Class via reflection?

2008-07-30 Thread Simon Kitching
ests with reserved query-strings. But this is ugly enough, that personally I'd just stick with the separate .xml file. "Simon Kitching" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Mikolaj Rydzewski schrieb: Simon Kitching wrote: Or per

Re: Embedding custom metadata in a jsp page; access generated Class via reflection?

2008-07-29 Thread Simon Kitching
Mikolaj Rydzewski schrieb: > Simon Kitching wrote: >> Or perhaps someone can suggest an alternate approach to embedding >> metadata that can be accessed before the page renders? > Please provide as with more details, at this point your requirement is > a little

Embedding custom metadata in a jsp page; access generated Class via reflection?

2008-07-29 Thread Simon Kitching
Hi, I need to associate some custom metadata with JSP pages, and access it *before* the page is rendered. The current implementation uses an xml with the same name as the jsp, eg foo.jsp foo.xml so that when I'm about to forward to "foo.jsp" I first look for a "foo.xml" file and if present pa

error-page with exception-type still causes log message with level=ERROR

2007-01-31 Thread Simon Kitching
Hi All, I would like to have my servlet throw an exception when a certain problem occurs, and use an error-page definition to display an appropriate error page: au.com.nti.tns.workbench.error.WebappInternalError /my_error_page.jsp This works fine. However I get an ERROR-level log m

RE: License query for jstl.jar

2006-06-13 Thread Simon Kitching
> -Original Message- > From: Mark Thomas [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 14, 2006 1:23 PM > To: Tomcat Users List > Subject: Re: License query for jstl.jar > > Simon Kitching wrote: > > Actually, every file I've looked at in the jakart

RE: License query for jstl.jar

2006-06-13 Thread Simon Kitching
> -Original Message- > From: Mark Thomas [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 14, 2006 12:42 PM > To: Tomcat Users List > Subject: Re: License query for jstl.jar > > IANAL... Understood; I'm grateful for your comments anyway..

RE: License query for jstl.jar

2006-06-13 Thread Simon Kitching
> -Original Message- > From: Mark Thomas [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 14, 2006 11:32 AM > To: Tomcat Users List > Subject: Re: License query for jstl.jar > > Simon Kitching wrote: > > However it isn't clear to me whether the

License query for jstl.jar

2006-06-13 Thread Simon Kitching
Hi, File jstl.jar has been checked in here: http://svn.apache.org/repos/asf/tomcat/servletapi/servlet2.4-jsp2.0-tc5.x/js r152/examples/WEB-INF/lib/ and here: http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/webapps/examples/WEB-IN F/lib/ This jar is used for running example code in Tomcat

Re: Multiple .war files in single tomcat instance

2005-11-16 Thread Simon Kitching
Praveen wrote: Hi - Iam trying to deploy multiple .war files on a single tomcat instance, but was wondering if theres a way in tomcat, to use the domain name and pick up the corresponding war file. For eg: I have two war files sample1.war and sample2.war deployed on a single tomcat instance, an

Re: jsp:include buffers generated data?

2005-11-14 Thread Simon Kitching
yway. Regards, Simon Jacob Hookom wrote: This has come up in the JSF RI and was recently corrected with Glassfish, you might want to check their dev mailing lists On 11/13/05, Simon Kitching <[EMAIL PROTECTED]> wrote: Hi, I'm working with JSF, and am having some problems related to

jsp:include buffers generated data?

2005-11-13 Thread Simon Kitching
Hi, I'm working with JSF, and am having some problems related to jsp:include. It appears that jsp:include always creates a temporary buffer, stores the included data into that buffer, then appends the buffer to the original response output stream after the include has completed. This causes n