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 PROTECT
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 HTML in your Action.
I hope I
5, 2004 10: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.
-Origin
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
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 tag, ran it
and looked in tomcat's work folder at the servlet code generated for it.
The
:[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
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 insi
o 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 insi
o 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 insi
o 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 a
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 AM
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 Mai
12 matches
Mail list logo