Any help/takers ?
-Original Message-
From: Janarthan Sathiamurthy
Sent: Thursday, March 25, 2004 10:16 PM
To: [EMAIL PROTECTED]
Subject: Struts Validator and Select boxes
Hi,
I am using Struts validator.
One page of mine has dates displayed as MM DD .
All the above 3 are
Hello Marco,
maybe this will help (using struts-el):
bean-el:message key='prompt.productType.${product.productType}'/
Dima.
Thursday, March 25, 2004, 6:02:54 PM, you wrote:
MM Hi all,
MM I was wondering if anyone of you have a solution
MM For this dilemma.
MM I have a collectin of
:59
Para: Sreenivasa Chadalavada; Struts Users Mailing List
Asunto: Re: Handling Date objects in ActionForm gracefully
You deal with the conversion else where but not in the form bean, you
can argue about it or just believe me. The action form sits between the
view and the action, the date
:53:31 PM
Please respond to Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:(bcc: Anuj Upadhyay/Jeppesen/TMC)
Subject: RE: Handling Date objects in ActionForm gracefully
+1
-Original Message-
From: Mark Lowe [mailto:[EMAIL
:[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
: Sreenivasa Chadalavada; Struts Users Mailing List
Asunto: Re: Handling Date objects in ActionForm gracefully
You deal with the conversion else where but not in the form bean, you
can argue about it or just believe me. The action form sits between the
view and the action, the date conversion goes
:[EMAIL PROTECTED]
Sent: 25 March 2004 15:22
To: Struts Users Mailing List
Subject: Re: problem with module
Daniel wrote:
If someone know the solution help us..
- Original Message -
From: Daniel [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, March 25
the user pass a
DateFormat into copyProperties :-)???
-Joe
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 3:58 AM
To: Struts Users Mailing List
Subject: RE: Handling Date objects in ActionForm gracefully
+1
I also suggest
[mailto:[EMAIL PROTECTED]
Enviado el: viernes, 26 de marzo de 2004 10:24
Para: Struts Users Mailing List
Asunto: Re: Handling Date objects in ActionForm gracefully
I think the way of going about converting is pretty open, either have
some conversion utils between the web tier and the model. I tend
rs Mailing List" [EMAIL PROTECTED]
(B To: "Struts Users Mailing List" [EMAIL PROTECTED]
(B Subject: Re: i18n with Japanese characters and tags
(B Date: Tue, 23 Mar 2004 16:12:20 +0900
(B
(B Carlo,
(B
(B Have you checked the example application included in Struts1.1(or
(B curr
, 26 de marzo de 2004 10:24
Para: Struts Users Mailing List
Asunto: Re: Handling Date objects in ActionForm gracefully
I think the way of going about converting is pretty open, either have
some conversion utils between the web tier and the model. I tend to do
it in the action and then when things get
, 26 de marzo de 2004 11:05
Para: Struts Users Mailing List
Asunto: Re: Handling Date objects in ActionForm gracefully
Freddy. No, you misunderstood if you thought I was responding with any
hostility whatsoever.
There is a general problem where input would be better validated in the
web tier so
Hi Van
I am not using simple logger.I am using apache's commons logger.Pls le me
know how to do it
Thanks
Sougata
-Original Message-
From: Van Riper, Mike [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 12:38 PM
To: 'Struts Users Mailing List'
Subject: RE: Pls help me
Oliver,
What version of WSAD are you running? What problems are you having
specifically?
Validation is controlled through the menu option Window Preferences
Validation
Susan Bradeen
Oliver Thiel [EMAIL PROTECTED] wrote on 03/26/2004 08:09:34 AM:
Hi,
I read that some of you had some
Which version of WSAD are you using ?
I don't have problems with 5.0 + updates or 5.1.
Rouven
- Original Message -
From: Oliver Thiel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 26, 2004 2:09 PM
Subject: [OT] WSAD problems with Struts
Hi,
I read that some of you
Well I've just simplified by login form - plain html - no struts stuff
going on.
I've also simplified the filter so detects a fresh logon and starts a
session accordingly - no longer any redirecting to LoginAction.
However the critical behaviour is still the same - existingCustomerForm
- the
Hi,
I have to use: WebSphere Studio Application Developer (Windows) Version:
5.1.0
I developed my app with the StrutsStudio, as it is not that complex. But
know I have
to run it on WSAD and run into different problems:
a. WSAD did not like the validation.XML
(so deleted it cause I did
At 1:59 PM + 3/26/04, Martin Alley wrote:
Well I've just simplified by login form - plain html - no struts stuff
going on.
I've also simplified the filter so detects a fresh logon and starts a
session accordingly - no longer any redirecting to LoginAction.
However the critical behaviour is
On 26 Mar 2004 13:59:25 -, struts-user-digest-help wrote
Re: Pls help me in configuring common logger
109791 by: sougata
sougata, if you're using Log4j you need to add a file called
commons-logging.properties file under your WEB-INF/classes directory. In that
file you need one line
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
elegant solution - after this
technology's been around for a while!
Thanks
Martin
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: 26 March 2004 14:21
To: Struts Users Mailing List
Subject: RE: How does ActionForm data pass through container called form
based login page
}
}
Thanks
-- pady
[EMAIL PROTECTED]
-Original Message-
From: Martin Alley [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 8:59 AM
To: 'Struts Users Mailing List'
Subject: RE: How does ActionForm data pass through container called form
based login page?
Well I've just
Posting whats in your validation.xml for the form and the bit of your jsp
with your select fields would be helpfull.
If you take the fromDay as an example, you are using
field.getVarValue(fromDay) - if you don't have a var defined in your
validation.xml for fromDay then that would cause the No
I might be able to put some general code in the login form (as a jsp)
that puts all form data present in the previous page into the login form
so it could be passed on, but that will still leave the problem of the
method becomes GET instead of POST.
I'm really hoping there's a more elegant
Subject: RE: How does ActionForm data pass through container called form
based login page?
This is the only solution I can think of:
public class RedirectServletRequest extends HttpServletRequest {
public RedirectServletRequest(HttpServletRequest req) {
this.request = req
I think I need to do some simple test cases - with and without struts.
Martin
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: 26 March 2004 15:20
To: Struts Users Mailing List
Subject: RE: How does ActionForm data pass through container called form
based login page
);
Chain.doFilter(newreq, response);
}
}
Thanks
-- pady
[EMAIL PROTECTED]
-Original Message-
From: Martin Alley [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 10:35 AM
To: 'Struts Users Mailing List'
Subject: RE: How does ActionForm data pass through
I'll be very interested to here the outcome...
Thanks
Martin
-Original Message-
From: Pady Srinivasan [mailto:[EMAIL PROTECTED]
Sent: 26 March 2004 16:07
To: Struts Users Mailing List
Subject: RE: How does ActionForm data pass through container called form
based login page?
We were
let say your class' name is A and your static method
is aaa();
all you hava to do is A.aaa();
--- Sunny [EMAIL PROTECTED] a écrit : How can i
invoke static methods of a Class without
instantiating it in
struts
-
To
--- Joe Hertz [EMAIL PROTECTED] wrote:
Does Struts provide a method where I provide it the name of the bean
defined
in the struts-config.xml and it return me an instance of the appropriate
class, with all the dyna properties set up?
At 3:19 PM -0800 3/25/04, Hubert Rabago wrote:
It does
Hallo together,
Thx, for the help. I installed the Tomcat v5.x engine and now it's working
like you guys suggested without EL.
Regards
Joern
-Original Message-
From: Brian Buchanan [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 23. März 2004 15:12
To: Struts Users Mailing List
Subject: RE
Larry,
I'll go out on a limb here and say that since the
response is being generated on the server by a servlet
or JSP, there is no need for getHeader() or
getHeaders() methods because the developer is setting
them. The HttpServletResponse interface has
addHeader() and addXXXHeader() methods to
try this
session.getAttribute(Globals.LOCALE_KEY);
--- Denis Laroche [EMAIL PROTECTED] a écrit :
Hello everybody,
I hope it's not a trivial question.
I'm trying to access the current Locale from a JSP
page. The key to
access the Locale is stored in variable
try change the scope of the le locale from session
to application
--- Jan Normann Nielsen [EMAIL PROTECTED] a
écrit : Hello
I have multiple Struts web applications deployed
within Jetty but the
locale that Struts saves in the session is not
shared between the
contexts. I guess that is
Freddy, I think you only need to look into using JTA and XA transactions
if you are spanning multiple data sources (databases). If you are not,
then I would look into using an Object-relational mapping tool like
Hibernate or OJB to do what you want to do. These tools usually provide
support
:
Subject: Re: Accessing Struts beans
with keys defined in the Globals class
03/26/2004 11:43
Freddy,
You may want to take a look at Hibernate (http://www.hibernate.org), if you
haven't done so already.
Hibernate is a persistence mechanism which utilizes XML mappings to map
Java objects to relational database schemas, and does support cascading
deletes, amoung other things.
HTH,
Ian
And if you wanted to use JSTL you would use:
c:out value=${info.infoName} escapeXml=false/
Bill Siggelkow
Anybody knows how to display a bean property with html
markup properly in the output. I have the JSP snippet
code as follows:
HTML
abcdefg bean:write name=info property=infoName /
:
Subject: Re: [OT] WSAD problems with
Struts
03/26/2004
08:35 AM
I am trying to display a value from a requestAttribute in an
html-el:text ... but I can't get it to work. Here is my code:
html-el:text: property=searchType
value=%=request.getAttribute(searchType)%/
I recieve the error:
Attribute searchType has no value
Someone told me I have
From: Bender, James [mailto:[EMAIL PROTECTED]
I am trying to display a value from a requestAttribute in
an html-el:text
... but I can't get it to work. Here is my code:
html-el:text: property=searchType
value=%=request.getAttribute(searchType)%/
I recieve the error:
Attribute searchType
At 1:03 PM -0500 3/26/04, [EMAIL PROTECTED] wrote:
Thanks,
but is there a way to do it without using Java code directly in the JSP
page?
In this cases there is not, although this has been discussed just
today on struts-dev:
http://article.gmane.org/gmane.comp.jakarta.struts.devel/18429/
In
Hi Andy,
we have a same kind of statement in our xml file and it looks like this:
codesnippet
mapped-statement name=statementName result-map=result
SELECT * FROM tbl_name WHERE column_name LIKE '%';
/mapped-statement
/codesnippet
Pay attention to the single quotes around the %-sign!
Good
to the SimpleLog
implementation.
Good Luck, Van
-Original Message-
From: sougata [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 4:12 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Pls help me in configuring common logger
Hi Van
I am not using simple
To: Struts Users Mailing List
Subject: Re: Why there is no getHeader(String headerName) and
getHeaders() met hod in HttpServletResponse?
Larry,
I'll go out on a limb here and say that since the
response is being generated on the server by a servlet
or JSP, there is no need for getHeader
]
Sent: Friday, March 26, 2004 11:47 AM
To: 'Struts Users Mailing List'
Subject: RE: Why there is no getHeader(String headerName) and getHeaders()
met hod in HttpServletResponse?
Richard,
Thanks for your answers. I think that makes great sense; though I still
think to have getHeader
Mailing List
Subject: Re: html:options where values have embedded quotes
Anyone?
Doug wrote:
We have some customer-supplied selection options that have double quotes
in their values, and Struts 1.1 isn't seeming to handle this correctly.
Best I can tell from the HTML spec, these should
I've described? Thanks again!,
Jim
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 2:03 PM
To: Struts Users Mailing List
Subject: RE: newbie html-el question
From: Bender, James [mailto:[EMAIL PROTECTED]
I am trying to display a value from
I've come across this in a few difference manifestations and the best
course of action I've come across is dependant on the number of variations.
If you're only talking about a couple of hundred or less, use a javascript
array to populate the second dropdown on the fly.
If you're dealing with
Just the same as any other hyperlink you create with Flash.
Just point your hyperlink to nameoflink.do instead of nameoflink.jsp
Colm
-Original Message-
From: Jignesh Patel [mailto:[EMAIL PROTECTED]
Sent: 24 March 2004 18:02
To: [EMAIL PROTECTED]
Subject: .swf file
Dear Friends,
Can
Or wrap the whole app up in frames. That'll do the trick.
Colm
-Original Message-
From: Mark Shifman [mailto:[EMAIL PROTECTED]
Sent: 24 March 2004 18:32
To: Struts Users Mailing List
Subject: Re: blocking bookmarked actions
where do I do the blocking? The action I am having problems
From: Bender, James [mailto:[EMAIL PROTECTED]
The user can click
Search Attributes | Search Components | Search Templates
I've provided html:link's like these respectively:
doPrepareSearch.do?searchType=attribute |
doPrepareSearch.do?searchType=component |
Ronald Rotteveel [EMAIL PROTECTED] wrote:
Hi Andy,
we have a same kind of statement in our xml file and it looks like
this:
mapped-statement name=statementName result-map=result
SELECT * FROM tbl_name WHERE column_name LIKE '%';
/mapped-statement
Right, but I was running into trouble
Try adding contextRelative=true to the forwards in your
struts-config. I remember a similar problem I had a while back, but I'm
not entirely sure this will solve it. Here is an example of an Action I
had in a struts module I wrote:
action path=/listLoggers
On 25/03/2004 13:22, Mariano García [EMAIL PROTECTED]
wrote:
El mié, 24-03-2004 a las 20:21, Pedro Salgado escribió:
Below is a reply sent to this mailing list about something very similar to
what you are looking for.
but there is any way to use dynamic content only using tiles tags? In
Thanks for your guidance.
You are right , we are in the case where user will come back from search
page.
I will try as you suggested and give feedback.
Regards
Shoaib
I guess the first thing to consider is what you mean by come back to
the
previous page.
Do you just mean have the user
/
/form-bean
Regards,
Janarthan S
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 8:55 PM
To: Struts Users Mailing List
Subject: Re: Struts Validator and Select boxes
Posting whats in your validation.xml for the form and the bit of your
From: Bender, James [mailto:[EMAIL PROTECTED]
I'm new to Struts and have searched without luck on this one:
I have an html:text ... that I'm simply trying to put a runtime
expression into, like
% String rtexpr = bob; %
html:text property=searchType value=%=rtexpr %
And instead of
Seyhan BASMACI (Internet Yazilimlari Yetkilisi) wrote:
I have a LoginForm form extends ValidatorForm and I want to decide
a validaton runs only on the server or client side, (or both )
is there any way to do this_?
form name=LoginForm
field property=userno depends=required
arg0
: Mittwoch, 24. März 2004 16:05
An: Struts Users Mailing List
Betreff: RE: html:javascript question
var myMessage = bean:write name=msg /;
alert(myMessage)
-Original Message-
From: Daniel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 6:23 PM
To: Struts Users Mailing List
Subject
Check your database is up before trying to connect to it. If it is and you can ping
the database from your application server box, then check your spelling in the data
source definition.
Chris McCormack
-Original Message-
From: Rajat Pandit [mailto:[EMAIL PROTECTED]
Sent: 25 March 2004
, Chris [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 4:46 PM
Subject: RE: db error
Check your database is up before trying to connect to it. If it is and you
can ping the database from your application server box, then check your
spelling
This might come through twice - if so, sorry.
On 03/25/2004 11:28 AM Tom Bednarz wrote:
1) How are Roles defined? Where are they stored? I don't want these
things stored in a XML file. Is there a way to store these things
in a database? Is there any documentation about a datamodel
(Fields,
-
From: Rajat Pandit [mailto:[EMAIL PROTECTED]
Sent: 25 March 2004 11:11
To: Struts Users Mailing List
Subject: Re: db error
Thanks chris,
so this is not because of any missing classes or jar files? is this a
connectivity issue? the database server isup and my other applications
sqlplusw can
PROTECTED]
Sent: Thursday, March 25, 2004 4:58 PM
Subject: RE: db error
It doesnt appear to be a case of missing classes etc
This exception seems pretty descriptive :
UnavailableException: Initializing application data source
org.apache.struts.action.DATA_SOURCE
It looks like struts cannot
Isn't this assuming there are no modules?
sandeep
-Original Message-
From: Yee, Richard K,,DMDCWEST [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 7:11 PM
To: 'Struts Users Mailing List'
Subject: RE: pre-populating DynaValidatorForm
Dean,
Here's the essential code in order
class. Or, maybe I missed something and didn't
implement correctly?
Regards,
Brian.
Mark Lowe [EMAIL PROTECTED]
03/24/2004 09:21 AM
Please respond to Struts Users Mailing List
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject:Re
to
make it recognize struts-config.xml changes.
Thanks
-- pady
[EMAIL PROTECTED]
-Original Message-
From: Antony Paul [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 10:58 PM
To: Struts Users Mailing List
Subject: Re: Automatically detecting struts-config changes and reload app
El mié, 24-03-2004 a las 20:21, Pedro Salgado escribió:
Below is a reply sent to this mailing list about something very similar to
what you are looking for.
but there is any way to use dynamic content only using tiles tags? In my
case, I have a 'setAttribute(serverLocation, Location)'
Hi Dima, list,
[Dima wrote]
we tried to use this (form.onsumbit=return f()) but encountered a
problem: if JavaScript is disabled in browser the submiting goes on
without confirmation dialogue and other stuff done by JS (wich in
our
case was more important).
We solved this by
Take a look at BeanUtils.copyProperties. By default, though, it doesn't
support conversion of dates, since it wouldn't know how you'd want your dates
formatted. Check the archives of this list, there's been some discussion on
that. Another archive you can check is that of the commons-user list.
I'm going out on a limb here, but usually I wouldn't do the xml like that with
html:form since it is unbalanced...
You'll have to find a workaround I think...
sandeep
-Original Message-
From: Simon Pett [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 8:31 AM
To: 'Struts Users
risc:staaf
schaal_nummer=bean:write name=dezeSchaal
property=schaalNummer/
This is a standard tag nesting error. You can't put tags inside of tag
attributes. You CAN put scriptlets, such as your first tag...
logic:iterate id=dezeSchaal
Mailing List [EMAIL PROTECTED]
cc:
Subject:Re: LookupDispatchAction default
unspecified() is the method you want look at the javadoc.
you do need the method name though
/admin/list.do?method
I saw that using submit as the parameter name causes problems so i
wouldn't use
Thanks , I was using jakarta-struts-1.1-rc1 which did the nul parameter
trapping.
mas
Wendy Smoak wrote:
From: Mark Shifman [mailto:[EMAIL PROTECTED]
Unfortunately LookupDispatchAction checks for the parameter
an throws an
error before it gets a chance to use unspecified(), but it should
be
Hi I have the the same problem, but in other situation, I using popups
windows of other modules, if you find the solution tell me , if I find the
solution I tell you...
- Original Message -
From: ruben [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday,
/2004 08:51 AM
Please respond to Struts Users Mailing List
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject:Re: LookupDispatchAction default
Look at the sourc for LookupDispatchAction snippet below:
public ActionForward execute(
ActionMapping
PROTECTED]
cc:
Subject:Re: LookupDispatchAction default
unspecified() is the method you want look at the javadoc.
you do need the method name though
/admin/list.do?method
I saw that using submit as the parameter name causes problems so i
wouldn't use that.
On 24 Mar 2004
If someone know the solution help us..
- Original Message -
From: Daniel [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 11:01 AM
Subject: Re: problem with module
Hi I have the the same problem, but in other situation, I using popups
We have some customer-supplied selection options that have double
quotes in their values, and Struts 1.1 isn't seeming to handle this
correctly.
Best I can tell from the HTML spec, these should be placed on the
page as quot; , which will submit them as %22 , which *should* be
seen on the
If I don't remove the attribute following requests will not work (because of
the code
in ActionServlet.getRequestProcessor)
Is this a bug?
That sounds like a bug to me. I'm thinking that destroy methods
should remove from the application context anything the instance put
into the context
)
Is this a bug?
3) Don't you think that something like that could be useful? I mean, if
answer to 1) is NO,
wouldn't be useful to have a configuration reloader with struts?
4) Calling actionServlet.destroy() and actionServlet.init() is enough to
re-load the whole
struts-config.xml
From: Brian Sayatovic/AMIG [mailto:[EMAIL PROTECTED]
That's exactly my point.
If there is no submit=xxx parameter/value to the action,
then it throws
a NullPointerException. So my action works like this:
/admin/list.do?submit=Refresh
But not like this:
/admin/list.do
Hi Adam,
Great infos, thanks a lot. I will have to extend the JDBCRealm a little
bit.
Tom
Adam Hardy wrote:
This might come through twice - if so, sorry.
On 03/25/2004 11:28 AM Tom Bednarz wrote:
1) How are Roles defined? Where are they stored? I don't want these
things stored in a XML
The parseModuleConfigFile method in ActionServlet ( called by init() ) seems
to get the resource and reparse the information. Unless there is a screw up
somewhere there, I don't know why the re-read should fail.
I will see if that can be reproduced.
Thanks
-- pady
[EMAIL PROTECTED
Subject: RE: db error
Check your database is up before trying to connect to it. If it is and
you
can ping the database from your application server box, then check your
spelling in the data source definition.
Chris McCormack
-Original Message-
From: Rajat Pandit [mailto:[EMAIL PROTECTED]
Sent
Didn't someone already answer this for you? Maybe we need to be more
explicit. Try this:
global-exceptions
exception
key=uncaught_exception
type=java.lang.Exception
path=/jsp/error.jsp
handler=com.graysail.pgbadmecs.exceptions.ExceptionCatcher
scope=request/
/global-exceptions
) {
ex.printStackTrace();
}
}
}
Thanks
-- pady
[EMAIL PROTECTED]
-Original Message-
From: Pady Srinivasan [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 9:37 AM
To: Struts Users Mailing List
Subject: RE: Automatically detecting struts-config changes and reload app
Daniel wrote:
If someone know the solution help us..
- Original Message -
From: Daniel [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 11:01 AM
Subject: Re: problem with module
Hi I have the the same problem, but in other situation, I
can access it.
any pointers?
sorry about read reciept thing in my previous mail.
rajat
- Original Message -
From: McCormack, Chris [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 4:46 PM
Subject: RE: db error
Check your database
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
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
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
Something like
bean:define id=type
bean:write name=product property=productType
/bean:define
bean:message key=%='prompt.productType.' + type%/
Paul
-Original Message-
From: Marco Mistroni [mailto:[EMAIL PROTECTED]
Sent: 25 March 2004 16:03
To: 'Struts Users Mailing List'
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
-- pady
[EMAIL PROTECTED]
-Original Message-
From: Pady Srinivasan [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 9:37 AM
To: Struts Users Mailing List
Subject: RE: Automatically detecting struts-config changes and reload app.
I used your code ( Thanks ) and I
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
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
:[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
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
1 - 100 of 65430 matches
Mail list logo