Re: html inside an action

2004-03-26 Thread ruben
:[EMAIL PROTECTED] Sent: 25 March 2004 17:04 To: Struts Users Mailing List Subject: RE: html inside an action HttpUnit is also a neat tool which might help. Have a JSP generate the HTML and access that using HttpUnit (or a simple URLConnection/Socket for that matter). And you can get the generated

Re: html inside an action

2004-03-26 Thread Niall Pemberton
I posted a tag (StoreTag) which will store the generated html from a jsp in a bean, then in your action you can get the RequestDispatchter and do an include: Details in the following messages: http://www.mail-archive.com/[EMAIL PROTECTED]/msg94956.html http://www.mail-archive.com/[EMAIL

RE: html inside an action

2004-03-25 Thread Qureshi, Affan
What part of JSP do you want to generate? Is it Java code in the JSP that you want to generate or static HTML/JavaScript? You might want to look at Tag Libraries as well. -Original Message- From: ruben [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 10:00 AM To: Struts Users

Re: html inside an action

2004-03-25 Thread ruben
Qureshi, Affan wrote: What part of JSP do you want to generate? Is it Java code in the JSP that you want to generate or static HTML/JavaScript? You might want to look at Tag Libraries as well. -Original Message- From: ruben [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 10:00

RE: html inside an action

2004-03-25 Thread Qureshi, Affan
to the browser, it is the code they generate that is sent to the client browser). Or maybe I dont understand your requirements. Regards. -Original Message- From: ruben [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 10:19 AM To: Struts Users Mailing List Subject: Re: html inside an action

Re: html inside an action

2004-03-25 Thread ruben
to the browser, it is the code they generate that is sent to the client browser). Or maybe I dont understand your requirements. Regards. -Original Message- From: ruben [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 10:19 AM To: Struts Users Mailing List Subject: Re: html inside

Re: html inside an action

2004-03-25 Thread ruben
to the browser, it is the code they generate that is sent to the client browser). Or maybe I dont understand your requirements. Regards. -Original Message- From: ruben [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 10:19 AM To: Struts Users Mailing List Subject: Re: html inside

RE: html inside an action

2004-03-25 Thread Hookom, Jacob
You are much better off doing JSP tags for something like this. I don't understand why people are so afraid of doing custom tags? -Original Message- From: ruben [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 10:54 AM To: Struts Users Mailing List Subject: Re: html inside

RE: html inside an action

2004-03-25 Thread Qureshi, Affan
:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 10:54 AM To: Struts Users Mailing List Subject: Re: html inside an action hi Those are my requirements, i have to convert objects to html, in my action and get this html in a String, i thought that the jsp is a good way to do this, I want the code

RE: html inside an action

2004-03-25 Thread Brendan Richards
I'm not entirely sure what you're after - do you mean get a string with the contents populated by another jsp - independent from the current request being served? I created a test jsp in tomcat containing a jsp:include / tag, ran it and looked in tomcat's work folder at the servlet code generated

RE: html inside an action

2004-03-25 Thread Brendan Richards
There's also jakarkta commons-httpclient http://jakarta.apache.org/commons/httpclient/ -Original Message- From: Qureshi, Affan [mailto:[EMAIL PROTECTED] Sent: 25 March 2004 17:04 To: Struts Users Mailing List Subject: RE: html inside an action HttpUnit is also a neat tool which might

Re: html inside an action

2004-03-25 Thread Mark Lowe
:19 AM To: Struts Users Mailing List Subject: Re: html inside an action Qureshi, Affan wrote: What part of JSP do you want to generate? Is it Java code in the JSP that you want to generate or static HTML/JavaScript? You might want to look at Tag Libraries as well. -Original Message