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'
You code code your app to always use http POST, but block GETs. This may not
be suitable if you've already written the app though!
Paul
-Original Message-
From: Mark Shifman [mailto:[EMAIL PROTECTED]
Sent: 24 March 2004 18:17
To: Struts Users Mailing List
Subject: blocking
this kind of error message
javax.servlet.ServletException: Request[/RechartFiles] does
not contain handler parameter named method
org.apache.struts.actions.LookupDispatchAction.execute(LookupD
ispatchAction.java:199)
...
Paul McCulloch wrote:
You code code your app to always
Actually, it's simpler than that (as I just saw on another thread). Just
implement unspecified() in your action to override the default behaviour
when no dispatch method is provided.
Paul
-Original Message-
From: Paul McCulloch [mailto:[EMAIL PROTECTED]
Sent: 24 March 2004 18:49
Why not put the file in area that is accessible only to the right users and
have the app server run under a user account with the relevant privelages?
Paul
-Original Message-
From: Guillermo Meyer [mailto:[EMAIL PROTECTED]
Sent: 11 March 2004 18:59
To: 'Struts Users Mailing List'
as it may have
appeared
in previous threads.
Niall
- Original Message -
From: Paul McCulloch [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 4:13 PM
Subject: RE: need help converting from session to request scope
My
You don't neccessarily have to worry that much about storing things in
session. Once the session is terminated (either through logout, or via the
timeout of your container) the garbage collector will do that for you.
In my application all form beans are session scope. My users only use one
form
evil, but unless there's a wizard type situation where you want
to span across a number of forms there's no more work
involved scoping
to request.
On 25 Feb 2004, at 12:23, Paul McCulloch wrote:
You don't neccessarily have to worry that much about
storing things in
session. Once
Have you tried using the LocDTO properties? I think it will just work -
Struts uses bean utils which looks at the object you are trying to operate
on, rather than the type it is declared as.
Paul
-Original Message-
From: Daniel, Gillian [mailto:[EMAIL PROTECTED]
Sent: 25 February 2004
it and it did work. I had
tried before but it didn't work, but I tried again and it did work, so
thanks for prompting me to try again.
Something must have been wrong the first time.
Thanks again,
Gillian
-Original Message-
From: Paul McCulloch [mailto:[EMAIL PROTECTED]
Sent: 25
I'm a bit confused by what you are trying to do.
I have a jsp page which I need to retrieve some values at
onLoad time, i.e.:
body onload=javascript:getValues();
If you need to retrieve values then do that in the Action and put them
somewhere (e.g. a request scope attribute) so that you can
All of this worked, until I decided to use attributes to send
the data 'the
other way'. Does the data only flow one way? I've been
experiment with
I'm not with you. The data flow is always only one way - the user makes a
request (possibly including data as either request parameters,
Firstly I'd ask what is wrong with using session scope - has load testing
your applcation shown that session scope is too memory intensive?
It looks like the 'years' list was stored in the form bean. You will need to
recreate all of your lists etc (e.g. years) in every action if you are going
to
I use a a Servlet Filter to achieve this. This filter intercepts request
before Struts gets it's hands on the request.
Paul
-Original Message-
From: James Adams [mailto:[EMAIL PROTECTED]
Sent: 19 February 2004 18:17
To: [EMAIL PROTECTED]
Subject: How to create a No Action
Surely your application is responsible for creating the options in the first
place? Why not create a map of the key,value pairs at that time refer to
it later?
Paul
-Original Message-
From: Gonzalez, Sergio Eduardo [mailto:[EMAIL PROTECTED]
Sent: 17 February 2004 16:13
To: Struts
And this is struts related how?
-Original Message-
From: Barnett, Brian W. [mailto:[EMAIL PROTECTED]
Sent: 17 February 2004 17:22
To: 'Struts Users Mailing List'
Subject: Could not find resource error
Can't figure out why this code is giving me an error:
import
Message-
From: Paul McCulloch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 10:26 AM
To: 'Struts Users Mailing List'
Subject: RE: Could not find resource error
And this is struts related how?
-Original Message-
From: Barnett, Brian W. [mailto:[EMAIL PROTECTED
Have a look at the Servlet spec.
Paul
-Original Message-
From: Nathan Maves [mailto:[EMAIL PROTECTED]
Sent: 17 February 2004 19:09
To: Struts Users Mailing List
Subject: Re: SecurityFilter with Struts quick and easy question
It does use a servlet that all request that match a
I think I found the same problem some time ago.
I can't remember what the underlying issue was (maybe mixing the struts
jstl ii18n tags?), but the solution was to create an explicit bundle for the
default locale - I have my build scripts copy Application.properties to
Application_en.properties.
This is a bit of a guess
Are you using relative paths for your images?
When you access the jsp directly your current page is
/somewebapp/geral/geralLogin.jsp. So an image whichg refers to
../images/somepicture.gif will resolve to
/somewebapp/images/somepicture.gif.
When you get errors your
I don't beleve this will submit the values in the form's input fields. I've
achieved this functionality by having links which use javascript to set the
dispatch form value call submit.
Paul
-Original Message-
From: Gopalakrishnan, Jayesh [mailto:[EMAIL PROTECTED]
Sent: 12 February
You really want to stick the data in session scope - that is what it is for.
Request scope really won't help - anything in there will have gone out of
scope immediately after the page is rendered for the user.
I'd *seriously* question why you aren't supposed to be using session scope.
Can you
The checkbox will display a value depending on the value of the 'foo'
property of your form bean. To make the value checked set the value on the
form bean before displaying the page.
Paul
-Original Message-
From: otisg [mailto:[EMAIL PROTECTED]
Sent: 05 February 2004 12:58
To: [EMAIL
By default (no requestURI attribute) sorting just makes another request to
the .jsp to do the work - the action isn't executed again.
I tend to use a 'redraw' dispatch action so that every server request still
goes through an action.
Paul
-Original Message-
From: Desai, Sunny
--- I commented the usebean that was pointed out in prev. thread
!-- jsp:useBean id=subscription scope=session
class=com.borneo.beans.SubscriptionForm /--
No you didn't - you commented out the result of the tag from the rendered
html. You need to comment it out in the world of jsp %-- --%
It's a setting in web.xml:
session-config
session-timeout10/session-timeout
/session-config
-Original Message-
From: Oliver Thiel [mailto:[EMAIL PROTECTED]
Sent: 30 January 2004 10:31
To: [EMAIL PROTECTED]
Subject: session
Here's a bit of JS to disable all the buttons etc on a form
function disablesubmit (forma) {
for (var frm = 0; frm document.forms.length; frm++) {
for (var i = 0; i document.forms[frm].elements.length;
i++) {
thisform = document.forms[frm];
My base ActionFrom has a session attribute on it. In the base reset() method
I set the ActionForm's session to the current session.
I considered having a request attribute on the from bean, but that looked
like a problem waiting to happen if I used session scoped forms.
Paul
-Original
This looks like what happens if the the browser gives up on the reqest in
question and makes a new one. I don't use Websphere so I can't be sure, but
the Tomcat error in that situation is very similair.
Try and reproduce it in development - make a request to your app then
navigate anywhere else
Hi,
Is there a common solution to using Constants for bean identifiers in your
views?
For example in some action I have
...
Collection foo = new SomeCollection();
request.setAttribute(Constants.SOME_THING, foo);
I want to access this collection via the JSTL in my view. Something like
This has been raised before. See
http://sourceforge.net/tracker/index.php?func=detailaid=813006group_id=730
68atid=536613
I've patched the taglib to support an additional tableId attribute which can
be dynamic. This is a simple change to TableTag.java the supporting TLD.
The other change is to
Manager, Web Publishing
LabOne, Inc.
10101 Renner Blvd.
Lenexa, KS 66219
(913) 577-1496
[EMAIL PROTECTED]
-Original Message-
From: Paul McCulloch [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 4:20 AM
To: 'Struts Users Mailing List'
Subject: RE: [DisplayTag] Use
Jalenak
Development Manager, Web Publishing
LabOne, Inc.
10101 Renner Blvd.
Lenexa, KS 66219
(913) 577-1496
[EMAIL PROTECTED]
-Original Message-
From: Paul McCulloch [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 4:20 AM
To: 'Struts Users Mailing List'
Subject
This feature seems to have been dropped in IE 5.01 later.
http://support.microsoft.com/?kbid=240928
Pitty - sounded like a useful way of demoing multiple users accessing the
system from a single machine.
Paul
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
The Blacksun HTML editor plugin for Eclipse will do tyhat for you.
Paul
-Original Message-
From: dirk [mailto:[EMAIL PROTECTED]
Sent: 22 January 2004 12:27
To: Struts Users Mailing List
Subject: editor
Does anybody knows a good and free struts editor ?
Does anybody knows an
It is possible to reference the same object through multiple session
attributes. I often do this to allow shorthand access to heavily nested
properties.
Your method would count multiple references to the same object multiple
times.
An alternative approach would be to look at the amount of memory
Is there an easy way to get the 'closest match' on terms of locales in the
request?
For example, my browser has it's request languages set to
Italian;French;English. My application's default properties file is in
English. There is a French properties file but not an Italian one.
So, when I ask
The approach I use when I want to leverage another tags functionality is to
nest the tag I want to use inside my own tag body. My own tag then processes
the result of the other tag.
e.g.
mytags:sometag
html:link/
/mytags:sometag
I don't know if this will help in your situation or not.
I define the path to the locale specific page in the application.resources
file.
For example my application.resources file might have an entry like:
locale.dependant.page=english.html
and the french .properties file:
locale.dependant.page=french.html
The JSP to include the relvant version
Have a look at http://www.mattkruse.com/javascript/dynamicoptionlist/
Paul
-Original Message-
From: David Erickson [mailto:[EMAIL PROTECTED]
Sent: 07 January 2004 18:00
To: Struts Mailing List
Subject: Dependent Drop Down Boxes
Hi I was wondering if anyone knew of any
Is the URL for the page the same in both cases?
One way I can see this happening is that you enter the page with a URL like
http://myhost/myapp/foo/bar.jsp but when you have gone through validation
you have a URL like http://myhost/myapp/someaction.do
If that is the case then look at usibg
Look at the paramId paramName attributes of html:link.
Pauk
-Original Message-
From: Eric Chow [mailto:[EMAIL PROTECTED]
Sent: 28 November 2003 09:01
To: Struts Users Mailing List
Subject: Dynamic value in customer tag ??
Hello,
In the customer tag, how can I add a dynamic
You are storing it in the request with the name myObejct but trying to
retrieve it with the name o. Use:
MyObject o2 = (MyObject)request.getAttribute(myObejct);
Paul
-Original Message-
From: Honza Spurn [mailto:[EMAIL PROTECTED]
Sent: 28 November 2003 11:40
To: [EMAIL PROTECTED]
It still isn't correct. You staore it as myObejct and try and retrieve it
as myObject
Paul
-Original Message-
From: Honza Spurn [mailto:[EMAIL PROTECTED]
Sent: 28 November 2003 11:51
To: Struts Users Mailing List; Honza Spurn
Subject: Re: request.setAttribute
Corrected version:
]
Sent: 28 November 2003 11:59
To: Struts Users Mailing List
Subject: Re: request.setAttribute
Paul McCulloch wrote:
It still isn't correct. You staore it as myObejct and try and
retrieve it
as myObject
OK OK, that is only overwrite, sorry... but this is not
copied from code
Please send some real code. I think you may have over simplfified what you
are showing us.
Paul
-Original Message-
From: Honza Spurn [mailto:[EMAIL PROTECTED]
Sent: 28 November 2003 12:09
To: Struts Users Mailing List
Subject: Re: request.setAttribute
Paul McCulloch wrote
-
From: Honza Spurn [mailto:[EMAIL PROTECTED]
Sent: 28 November 2003 12:22
To: Struts Users Mailing List
Subject: Re: request.setAttribute
Paul McCulloch wrote:
Please send some real code. I think you may have over simplfified
what you are showing us.
Paul
No no, this is realy all
is going to work. Try using different
classes instead of Server - I'd start with String.
Paul
-Original Message-
From: Honza Spurn [mailto:[EMAIL PROTECTED]
Sent: 28 November 2003 12:33
To: Struts Users Mailing List
Subject: Re: request.setAttribute
Paul McCulloch wrote:
The request
What do you mean by doesn't work?
Do you get error messages? What does the generated html look like? Does
fmt:message work on it's own? Does using bean:message instead of
fmt:message make any difference?
Paul
-Original Message-
From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED]
Have a look at http://www.mattkruse.com/javascript/autocomplete/
It seems to meet your requirements.
Paul
-Original Message-
From: Pingili, Madhupal [mailto:[EMAIL PROTECTED]
Sent: 25 November 2003 21:57
To: 'Struts Users Mailing List'
Subject: [OT] How to select an Option
What about the JSTL c:import tag? I use it with https without any issue.
I'm using JDK 1.4.2 which may explain why it works for me though.
Paul
-Original Message-
From: Khalid K. [mailto:[EMAIL PROTECTED]
Sent: 26 November 2003 04:14
To: 'Struts Users Mailing List'
Subject: RE:
I've been looking at this recently. Their appear to be two classes of
solutions:
1) Client side logic in Javascript. All links, menu options etc. execute
some javascript which can decide not to change the current page, but
ask/force the user to save first.
2) Server side logic. All navigation
Do you really think shouting URGENT and repeatedly asking the same question
is going to encourage people to help you out?
Well, Not me.
Paul
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 25 November 2003 15:33
To: [EMAIL PROTECTED]
Subject:
This is probably OT, but anyway...
It may be the way you are referencing the form. Try
'document.forms[0].add.disabled = ( element.checked );'
That worked for me - I didn't use struts though - I just messed around with
static html:
html
SCRIPT LANGUAGE=JavaScript
function check(element) {
There's a much better search available with what looks like a relevant post
for you:
http://marc.theaimsgroup.com/?l=struts-userm=99483696509329w=2
Paul
-Original Message-
From: Turansky, Mark [mailto:[EMAIL PROTECTED]
Sent: 25 November 2003 16:48
To: Struts Users Mailing List
This is an html issue, rather than a struts one.
Read up on how input type=submit/ works for an in depth explanation.
Struts provides the LookupDispatchAction which is designed to deal with this
issue.
Paul
-Original Message-
From: Eric BELLARD [mailto:[EMAIL PROTECTED]
Sent: 24
I use JMeter for this sort of thing. It's JSession aware which makes life a
bit easier.
Paul
-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]
Sent: 24 November 2003 15:05
To: '[EMAIL PROTECTED]'
Subject: [OT] Stress Test
Hi All,
I've got a problem with my
Eclipse has this feature (built in I think). Just select two .properties
files and choose 'compare with each other'.
Paul
-Original Message-
From: Maurice Wijtten [mailto:[EMAIL PROTECTED]
Sent: 21 November 2003 08:54
To: Struts Users Mailing List
Subject: Key-based comparator tools
I've had my Struts application running on JBOSS 3.2.2/Tomcat for a couple of
weeks with hundreds of simulated users at a time, so I don't think there is
any inherent issue with the architecture.
Tools I've found useful in tracking issues like this in past are:
Running JBOSS with the JVM set to
Is it my imagination or are the number of downright lazy requests to this
list getting worse?
If the only replies any lazy questions ever got was
http://www.catb.org/~esr/faqs/smart-questions.html then maybe people would
get the point. Has anyone got any other ideas about how we can reduce the
and that's a great news for an open source project.
Maybe a warning notice on the mail subscrubtion confiration could reduce
lazy requests...
Carl
Paul McCulloch wrote:
Is it my imagination or are the number of downright lazy requests to this
list getting worse?
If the only replies any
-Original Message-
From: Long, Robert [mailto:[EMAIL PROTECTED]
Sent: 20 November 2003 17:36
To: Struts Users Mailing List
Subject: RE: Lazy questions on this list
So from what I'm hearing here, as a newb, it is safe to
assume that all answers to my questions will be
I agree. I'm just hoping to cut down on the number of posts where this list
is used as the very first port of call when trying to solve a problem.
Paul
-Original Message-
From: Gus Heck [mailto:[EMAIL PROTECTED]
Sent: 20 November 2003 17:46
To: Struts Users Mailing List
Subject:
The jstl eqivalent of bean:message allows you to pass arguments via the tag
body, so you can use another tag inside the body:
fmt:message key=cart.amount
fmt:param
fmt:formatNumber value=${total}
type=CURRENCY/
Start here:
http://www.catb.org/~esr/faqs/smart-questions.html
Paul
-Original Message-
From: Agashivala, Vishal [mailto:[EMAIL PROTECTED]
Sent: 19 November 2003 12:17
To: Struts Users Mailing List
Subject: RE: Map Backed Action Form
Hi
Can anyone help me to implement MAP BACKED
Hava a look at the sample servlets etc. that come with the Apache Xalan-J
package.
Paul
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]
Sent: 13 November 2003 19:14
To: [EMAIL PROTECTED]
Subject: [OT] generate HTML file from XML and XSLT
Hi,
I have a XML file and a
One of the joys of using Struts is that you have access to all the source
code so you can answer these questions yourself.
I had a quick look at the source - only public methods with the same
signature as execute() will be called. So getServlet() cannot be called as
it has the 'wrong' signature.
The key method map relates to LookupDispatchAction, the original question
was about DispatchAction.
Paul
-Original Message-
From: Paananen, Tero [mailto:[EMAIL PROTECTED]
Sent: 14 November 2003 14:52
To: 'Struts Users Mailing List'
Subject: RE: DispatchAction and Security
So, only
You need to replace newlines with brs:
workString.replaceAll(\n, \nbr);
Paul
-Original Message-
From: Mohamed Abu Zur [mailto:[EMAIL PROTECTED]
Sent: 07 November 2003 11:12
To: [EMAIL PROTECTED]
Subject: Line break and bean:write
Hi all:
I insert a text with various line
Firstly, this isn't a struts question - there will be a far more appropriate
list somewhere.
Secondly - have you read the servlet spec? This will answer many questions.
A quick answer - no. There is no real need to unload the servlet (althought
the container may decide to do just that!) - just
I use struts menu, with the CoolMenu displayer, and everything works fine.
Your config looks ok.
What exactly isn't working?
There is a struts-menu specific mailing list, which would be a more
approriate place to ask for help.
Paul
-Original Message-
From: koen boutsen [mailto:[EMAIL
switches his language, by clicking an image, I create another
Locale, e.g. French. All the other labels I use, change into the wright
language, but the menulabels stay in the original language.
Thanks in advance
Koen
--
- Original Message -
DATE: Thu, 6 Nov 2003 12:46:13
From: Paul
((MessageResources)
request.getAttribute(Globals.MESSAGES_KEY)).getMessage(locale,
message.key)
Paul
-Original Message-
From: Brice Ruth [mailto:[EMAIL PROTECTED]
Sent: 06 November 2003 14:51
To: Struts Users Mailing List
Subject: Access message resources from Action?
This seems like a
I use a servlet filter - this way I can restrict access to actions JSPs
without putting any code in either of them.
Paul
-Original Message-
From: Seyhan BASMACI (Internet Yazilimlari Yetkilisi)
[mailto:[EMAIL PROTECTED]
Sent: 03 November 2003 10:20
To: Struts Users Mailing List
Subject:
In case you didn't know, you can precompile a specific jsp by simply making
a reqest to the page with a special paramter:
ttp://myapp/somepage.jsp?jsp_precompile
If you don't have a huge number of pages this might form the basis of a
quick and dirty hack.
Paul
-Original Message-
From:
I'm pretty sure you can do it:
var newwin=window.open(a.html?Name= + namVal);
Paul
-Original Message-
From: James Childers [mailto:[EMAIL PROTECTED]
Sent: 29 October 2003 21:41
To: Struts Users Mailing List
Subject: [OT] RE: javascript question...
No, you can't do it that way. But
I use a similair approach, but get fmt:message to deal with selecting the
correct locale for me:
bean:define id=localePage
fmt:message key=some.langauage.specific.page/
/bean:define
jsp:include page=%=localePage% flush=true/
I then define the path to the locale specific html page in the
I'd create a custom tag and pass bean:write as the body.
Paul
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 15 October 2003 14:53
To: struts-user
Subject: format string bean write - property editor
Hello
I read this mailing list since 1 year, but it is my
is a playground...Play Hard, Play Smart.
Visit http://www.YourSoS.com to learn how our Personal Emergency Alert
Contact System can help you Play Smart.
+00 1 (708) 570-2772 Fax
MSN: mickknutson
ICQ: 316498480
ICQ URL: http://wwp.icq.com/316498480
---
- Original Message -
From: Paul
Try
http://marc.theaimsgroup.com/?l=struts-userr=1w=2
Paul
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: 15 October 2003 17:23
To: Struts Users Mailing List
Subject: Re: IMPORTANT: how to tell
The list does have an abundance of valuable information.
Am I
How about some javascript (to call submit()) on the onchange event of the
dropdown?
Paul
-Original Message-
From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED]
Sent: 14 October 2003 12:42
To: Struts Users Mailing List
Subject: [SOLVED] Drop down boxes
Todor Sergueev Petkov wrote:
Use the jstl:
fmt:message key=cancel.message
fmt:param
html:link forward=emailemail us/html:link
/fmt:param
/fmt:message
You probably want the text of the link to come from the resources as well:
fmt:message key=cancel.message
fmt:param
I think).
Thanks.
David
--- Paul McCulloch [EMAIL PROTECTED]
wrote:
Use the jstl:
fmt:message key=cancel.message
fmt:param
html:link forward=emailemail us/html:link
/fmt:param
/fmt:message
You probably want the text of the link to come from
the resources
When using a runtime expression as an attribute value the whole attribute
must be a single expression:
html:text property=%=\person\ + x% value=/
Paul
-Original Message-
From: Jonathan Hawkins [mailto:[EMAIL PROTECTED]
Sent: 13 October 2003 15:27
To: Struts Users Mailing List
Subject:
I *think* the other option is to put your form bean ( it's emebedded VO) in
session scope (rather than request which you seems to have at the moment).
Doing this means that the unchanged values on your VO will remain unchanged
(rather than being nulled).
Paul
-Original Message-
From:
My aproach is as follows:
Each form bean property which can be searched is a descendant of
SearchableProperty. A SearchableProperty consists of:
*A String value representing the user's input
*The selected business entity (if the user has selected one)
*An object descended from Lookup, which
Looks like you haven't declared the bean taglib in the page!
Paul
-Original Message-
From: Alex Araujo [mailto:[EMAIL PROTECTED]
Sent: 19 September 2003 15:55
To: [EMAIL PROTECTED]
Subject: bean:write Not Working With Tiles
I'm migrating a struts/jsp app to tiles and I'm having a hard
An easy way is to use JSTL's fmt:formatDate tag.
Paul
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 17 September 2003 13:31
To: Struts-User
Subject: bean:write property= Format a Date ?
one of my Bean propertys is a Date and i want to output it formated,
is
It's easier than you think:
bean:write name=currentLoopUser property=address.street/
Paul
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 16 September 2003 12:38
To: Struts-User
Subject: bean:write with a not simple property
hello,
i use logic:iterate to
Why not set the default value on the form bean in an Action and let
html:text render it for you?
Paul
-Original Message-
From: Rick Col [mailto:[EMAIL PROTECTED]
Sent: 11 September 2003 17:27
To: [EMAIL PROTECTED]
Subject: how to output value in text field?
Hi,
I am trying to output a
It's in the contrib directory of the struts distribution. I can't help you
much on using JSTL struts-el together I'm afraid.
But, wouldn't html-el:text property=${bean.key} value=${bean.value}/
be a bit more ELish?
Paul
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
Using struts tags:
bean:define id=key2
bean:message key=something.else/
/bean:define
bean:message key=somthing arg0=%=key2% /
Using JSTL:
fmt:message key=somthing
fmt:param
fmt:message key=something.else /
/fmt:param
/fmt:message
Paul
-Original
If you can live with a server side solution then the display taglib does
this much more.
Paul
-Original Message-
From: imran ali [mailto:[EMAIL PROTECTED]
Sent: 11 September 2003 16:23
To: Struts Users Mailing List
Subject: client side sorting.
Hi All,
I have a struts page with a
Bear in mind that there are bugs in the jstl code that aren't in the struts
equivalents:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16932
My approach has been to use the jstl tag and hope that the bug is fixed
before I have to release!
Paul
-Original Message-
From: Adam Hardy
This can happen if you have included the bean taglib twice.
Is the page with which you get an error included via an %@ include
statement?
Paul
-Original Message-
From: Loren Hall [mailto:[EMAIL PROTECTED]
Sent: 06 September 2003 00:13
To: Struts Users Mailing List
Subject: RE:
The action class that handles the saving of your data returns an
ActionForward - your execute() code determines what that forward is.
To go to sample2.jsp you want to end your execute() with:
return mapping.findForward(sample2);
Paul
-Original Message-
From: Rick Col
I have only tried the display taglib. I've found it to be powerful, easy to
use easy to extend.
My requirements are such that I've had to use the un-released 'display09'
stream. But it does everything I need, seems stable, and the code is easy
enough, for a developer with only a few months of
I use this facility without a problem. My CATALINA_OPTS Eclispse settings
are identical to yours.
How are you startimg Tomcat? The icon installed in the Start menu *does not*
use catalina.bat.
Paul
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 29 August
That is exactly how you do it! If that isn't working then it may be beacuse
you are using the html-el taglib rather than the standard one.
Paul
-Original Message-
From: LUCERO,DENNIS (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]
Sent: 28 August 2003 22:23
To: ' ([EMAIL PROTECTED])'
Subject:
You might have more luck on the list for that tag:
http://lists.sourceforge.net/lists/listinfo/displaytag-user
I use decorators to do this sort of thing.
Paul
-Original Message-
From: Mehta, Chirag (IT) [mailto:[EMAIL PROTECTED]
Sent: 29 August 2003 12:02
To: Struts Users Mailing List
1 - 100 of 131 matches
Mail list logo