Re: OFF RECORD

2006-12-21 Thread Hassan Schroeder
On 12/21/06, Juan Espinosa <[EMAIL PROTECTED]> wrote: Please tell me more about this taglib (mailer) Very nice -- even handles multipart/alternative (HTML and plain text), which I generate from individual JSP snippets for f

RE: OFF RECORD

2006-12-21 Thread Juan Espinosa
Please tell me more about this taglib (mailer) -Mensaje original- De: Hassan Schroeder [mailto:[EMAIL PROTECTED] Enviado el: jueves, 21 de diciembre de 2006 12:55 Para: Struts Users Mailing List Asunto: Re: OFF RECORD On 12/21/06, Juan Espinosa <[EMAIL PROTECTED]> wrote: > Hi

Re: OFF RECORD

2006-12-21 Thread Elie Ciment
Hi, If I understand correctly, we had a similar problem once. I wanted to use XmlHttpRequests for handling JSPs, and not text nor xml. Basically, the way we did it was we set up Ajax code that simply called the Struts action, which returned a full fledged JSP page, using Tiles to give it a standa

Re: OFF RECORD

2006-12-21 Thread Leon Rosenberg
On 12/21/06, Larry Meadors <[EMAIL PROTECTED]> wrote: In never ceases to amaze me how people will go through amazingly convoluted complexity in the name of "keeping things simple". +1 Leon - To unsubscribe, e-mail: [EMAIL PROT

Re: OFF RECORD

2006-12-21 Thread Hassan Schroeder
On 12/21/06, Juan Espinosa <[EMAIL PROTECTED]> wrote: Hi to all, i have a question off recordbut is related to web 1) Compiling a jsp file 3) Executing this jsp file (the servlet generated) 4) Get the html ths jsp generates I want to do this programatically I want to use the

RE: OFF RECORD

2006-12-21 Thread Wesley Wannemacher
, 2006 11:17 AM > To: 'Struts Users Mailing List' > Subject: RE: OFF RECORD > > Yes i see jasper...i could compile a jsp...but i cant execute > it and get the > resultant html > > > -Mensaje original- > De: Wesley Wannemacher [mailto:[EMAIL P

Re: OFF RECORD

2006-12-21 Thread Larry Meadors
In never ceases to amaze me how people will go through amazingly convoluted complexity in the name of "keeping things simple". Juan, don't be a technophobe: use velocity. It was made for templating like you want to do. It is very fast, every bit as simple as JSP, and figuring out how to process i

RE: OFF RECORD

2006-12-21 Thread Juan Espinosa
Yes i see jasper...i could compile a jsp...but i cant execute it and get the resultant html -Mensaje original- De: Wesley Wannemacher [mailto:[EMAIL PROTECTED] Enviado el: jueves, 21 de diciembre de 2006 12:14 Para: Struts Users Mailing List Asunto: RE: OFF RECORD Have you looked

Re: OFF RECORD

2006-12-21 Thread Emmanouil Batsis
Wesley Wannemacher wrote: Have you looked at Tomcat's Jasper compiler? Jasper uses packages and a filesystem structure that only Tomcat understands (AFAIK). It would probably be better to leave JSP comilation to the container in use. Manos

RE: OFF RECORD

2006-12-21 Thread Wesley Wannemacher
Have you looked at Tomcat's Jasper compiler? http://www.docjar.com/docs/api/org/apache/jasper/compiler/Compiler.html I would assume that with the jars in place and some coding to setup the context, it could be pretty easy to do as you wish. -Wes > -Original Message- > From: Juan Espino

RE: OFF RECORD

2006-12-21 Thread Juan Espinosa
Yes i see velocity, but i want to do with jsp, i dont want to add another "technology" to my site and my head... Thanks wendy -Mensaje original- De: Wendy Smoak [mailto:[EMAIL PROTECTED] Enviado el: jueves, 21 de diciembre de 2006 11:27 Para: Struts Users Mailing List Asunt

Re: OFF RECORD

2006-12-21 Thread Emmanouil Batsis
Gundersen, Richard wrote: Um, this might be wrong but I think you could open a connection using URLConnection (or similar), and hit the JSP URL that way. That works i believe, but if the JSP is on the same container then a servlet filter in combination with an HttpServletResponseWrapper sh

Re: OFF RECORD

2006-12-21 Thread Wendy Smoak
On 12/21/06, Juan Espinosa <[EMAIL PROTECTED]> wrote: Hi to all, i have a question off recordbut is related to web Anyone has documentation or examples of how 1) Compiling a jsp file 3) Executing this jsp file (the servlet generated) 4) Get the html ths jsp generates I want to do

RE: OFF RECORD

2006-12-21 Thread Gundersen, Richard
Um, this might be wrong but I think you could open a connection using URLConnection (or similar), and hit the JSP URL that way. That should return a response (containing the HTML source) that you can then use for whatever you want. Not tried it though so I could be talking rubbish. Richard ---