An instanceOf tag does exist in the Jakarta Taglibs 'Unstandard' taglib.
http://jakarta.apache.org/taglibs/sandbox/doc/unstandard-doc/intro.html
That's the only place I know of.
Steve
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: March 21, 2004 6:33 AM
To:
I have some examples of Struts tags, including html:select, at
http://www.ninsky.com/struts
Various other examples are listed at
http://struts.sourceforge.net/community/examples.html
Steve
Sorry if this is a duplicate message, sent the first one from the wrong
address :-(
-Original
You should really take a look at the Ant xmlvalidate task.
http://ant.apache.org/manual/index.html - look under Ant Tasks/Optional
tasks. It's free and it will allow you to validate your XML files as
part of the build process.
Alternatively, use an editor that will validate the files for you as
Unfortunately, this documention *is* out of date with the sample
application.
It has been noted as something that needs to be done but no-one's found
time to do it yet.
The tutorials page
(http://jakarta.apache.org/struts/resources/tutorials.html) lists some
alternatives.
Rick Reumann's tutorial
There is.
http://jakarta.apache.org/struts/userGuide/configuration.html#controll
er_config
Steve
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of kimbuba
Sent: October 25, 2003 10:27 AM
To: [EMAIL PROTECTED]
Subject: browser cache.
Hello!
is there a way to tell
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: October 24, 2003 11:21 AM
To: Struts Users Mailing List
Subject: Re: far reaching db question
IMO, Struts isn't applicable to sites less than 5 pages. Coding a Servlet
with JDBC is suitable for many small web
Craig's just being modest. He's *already* an Internet TV star :-)
http://www.theserverside.com/events/library.jsp#mcclanahan
Steve
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
Sent: October 22, 2003 10:58 PM
To: Struts Users Mailing List
Cc: 'Ruth, Brice'
The best place would be the Jakarta Taglibs user list
(http://jakarta.apache.org/taglibs/#MailingLists). The guys that wrote JSTL
hang out there.
I'm sure if it's reasonably Struts related, you'll get some help here too.
Steve
-Original Message-
From: Ruth, Brice [mailto:[EMAIL
I agree with the Filter suggestion, but I would take a step back and ask
whether you *really* need to do this.
Trimming the excess whitespace won't really make much difference to the size
of the downloaded page and adding the Filter processing could even make it
slower, not faster to load.
If
If you've set the Map up in you Action, something like this:
Map countries = new HashMap();
countries.put(AF, Afghanistan);
countries.put(AL, Albania);
countries.put(DZ, Algeria);
countries.put(AS, American Samoa);
countries.put(AD, Andorra);
countries.put(AO, Angola);
Either will work. One thing to consider is who will maintain the data.
If developers will create / maintain the lists and the data is essentially
static, then properties files would be a good bet.
If end users maintain the data, then a database and suitable user interface
may be better.
US
I can't find the details right now, but I have a vague recollection that the
IBM JDK includes an RMI-IIOP implementation that is a requirement for
Websphere. So you won't be able to switch to a non-IBM JDK.
If you're running just about anything except Windows, you may be able to use
an updated
The nightly build has a method that allows you to store messages in the
session.
They are automatically removed after being displayed.
Action:
protected void saveMessages(HttpSession session, ActionMessages
messages)
Steve
-Original Message-
From: Chris Searle [mailto:[EMAIL
Set your input parameter to the *action* that prepares the page, not
directly to the page itself.
Steve
-Original Message-
From: Marc Dugger [mailto:[EMAIL PROTECTED]
Sent: October 17, 2003 1:33 PM
To: [EMAIL PROTECTED]
Subject: repopulating options of html:select when validation
A little bit more than a weeks worth ;-)
http://jakarta.apache.org/struts/resources/archives.html
Steve
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: October 15, 2003 9:23 AM
To: Struts Users Mailing List
Subject: Re: IMPORTANT: how to tell
The list does
If you have a Servlet 2.3 compatible container (e.g. Tomcat 4.x or later)
you can implement a ServletContextListener which will be notified when your
context is started and gives you access to the ServletContext.
...
import javax.servlet.ServletContextEvent;
import
'In fact, we'd particularly invite Struts advocates to respond to this
article by describing the benefits that they feel Struts provides over
vanilla JSP.'
Well if they don't get what Struts provides over vanilla JSP, then they
never will. Discussing what Struts provides compared to other MVC
[EMAIL PROTECTED]
Subject: Re: [Article] SoftwareFashion (includes paragraph
about Struts)
Date: Tue, 7 Oct 2003 12:57:18 -0400
On Tue, Oct 07, 2003 at 09:32:52AM -0700, Steve Raeburn wrote:
} 'In fact, we'd particularly invite Struts advocates to
respond to this
} article
Disclaimer: The following represents my personal experience - I'm not a
phone number expert :-)
As an example of the problem, the Oftel website (www.oftel.gov.uk) lists the
following *recommended* formats for the UK:
Fixed line phone number:
* (01XX) XXX
* (01XXX) XX
*
#2 - It was I revelation when I realised I didn't need to write ActionForms!
(But one day soon I'm going to look at XDoclet to see what that can do for
me).
Steve
-Original Message-
From: Mainguy, Mike [mailto:[EMAIL PROTECTED]
Sent: September 30, 2003 9:52 AM
To: [EMAIL PROTECTED]
Take a look at the validator example application that comes in the Struts
distribution. There is an example of referencing the variable so you don't
define it twice.
In your case, it should be:
field property=userName depends=required,minlength,maxlength
arg0 key=label.userName/
http://jakarta.apache.org/struts/userGuide/configuration.html#dd_config_mapp
ing
Steve
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: September 29, 2003 7:09 AM
To: [EMAIL PROTECTED]
Subject: Change the .do extension
Hello!
Is there a possibility to
http://jakarta.apache.org/struts/api/org/apache/struts/actions/DispatchActio
n.html
Take a look at the 'unspecfied' method.
Steve
-Original Message-
From: deepaksawdekar [mailto:[EMAIL PROTECTED]
Sent: September 29, 2003 5:17 AM
To: Struts Users Mailing List
Subject: default for
The exact location is configured in struts-config.xml
e.g.
message-resources parameter=resources.application/
looks for a file named 'application.properties' in the 'resources'
package.
- or -
message-resources
parameter=org.apache.struts.webapp.example.ApplicationResources/
looks for a
http://jakarta.apache.org/struts/userGuide/configuration.html#config_a
dd
For more explanation see:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.htm
l
Steve
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: September 23, 2003 9:08 PM
To:
I know a lot of Struts developers use Hibernate as their persistence
mechanism so this announcement may be of some interest.
http://www.hibernate.org/136.html and more at
http://forum.hibernate.org/viewtopic.php?t=515
Steve
LOL TLAP, Ar!
(For those grogged up land-lubbers who wouldn't know a bilge rat from
a beauty - http://tinyurl.com/mguv)
Steve
-Original Message-
From: James Childers [mailto:[EMAIL PROTECTED]
Sent: September 19, 2003 7:15 AM
To: Struts Users Mailing List
Subject: RE: [FRIDAY]
Sadly, it's flash-based and it doesn't work in Mozilla.
Steve
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Cekvenich
Sent: September 19, 2003 5:07 AM
To: [EMAIL PROTECTED]
Subject: Re: Is it possible to remove *.do or /do/* from the URL
The best back
Try the latest MySQL driver (3.08). I had a similar problem recently
with a StackOverflowError that was solved by upgrading.
3.08 lists infinite loop with Connection.cleanup(). as one of the
fixed bugs, which is what I suspect was causing the overflow problem.
You'll still have to contend with
Additional info on why MySQL autoReconnect does not work when
autoCommit is false.
http://www.mail-archive.com/[EMAIL PROTECTED]/msg70196.html
Steve
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Look at the Javadoc for o.a.s.Globals.MODULE_KEY
With it you can get the current module from the request, or append the
module prefix (name) to look up any module in the ServletContext.
Steve
-Original Message-
From: Marco Tedone [mailto:[EMAIL PROTECTED]
Sent: September 13, 2003
I haven't actually used it, but the Commons HttpClient
(http://jakarta.apache.org/commons/httpclient/index.html) might of
interest to you.
Steve
-Original Message-
From: Henry Voyer [mailto:[EMAIL PROTECTED]
Sent: September 13, 2003 8:50 PM
To: [EMAIL PROTECTED]
Subject: Q : Calling
Who do they sue if the code you've written in-house is faulty?
The fact is they pay you a lot of money (not enough I'm sure ;-)) for the
benefit of your expertise. There's no difference between the stuff you
develop in-house and any open source software you use. You still need to
apply the same
PROTECTED]
Sent: September 11, 2003 8:51 AM
To: Struts Users Mailing List
Subject: Re: YASJR, Part Duex
On Sep 11, 2003, Steve Raeburn [EMAIL PROTECTED] wrote:
|Who do they sue if the code you've written in-house is faulty?
Faulty code was not what I was referring to. Malicious code
Congratulations and thanks for evangalising Struts to your organization.
How can I guarantee that there are no hacks, bombs, etc. in the
Struts code or any OS code for that matter?
The clue is in the title - OPEN source :-)
If open source has a weakness it certainly is not that anyone
Nope, WLS 6.1SP4. :-(
BEA uses Struts compatability as a selling point for WLS 8.1:
Enterprise-class architecture - Implement standards-based applications
leveraging Model-View-Controller (MVC) architecture and Struts framework
http://kr.bea.com/products/workshop/features/features.shtml
Build requirements (including jakarta-oro) are here:
http://jakarta.apache.org/struts/userGuide/installation.html#Prerequisites
Steve
http://www.ninsky.com/struts/
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: September 2, 2003 6:41 AM
To: Struts Users
I've been having the same problem. Most messages appear immediately but some
can take up to two days to arrive! Craig thinks it's due to the SoBig.F worm
and that makes sense, but I still don't get why it only affects a very small
number of messages.
I guess it's just one of those things. The
The Struts bean:write tag offers a format attribute (or formatKey if you
want to use a resource file).
But JSTL would be a better option if you can use it in your environment.
Steve
http://www.ninsky.com/struts/
-Original Message-
From: Sasha Borodin [mailto:[EMAIL PROTECTED]
Sent:
There's a wiki page for this topic that might be a better place to post IDE
reviews that on the mailing list.
http://nagoya.apache.org/wiki/apachewiki.cgi?MyFavoriteIDEAndWhy
Steve
-Original Message-
From: Butt, Dudley [mailto:[EMAIL PROTECTED]
Sent: August 27, 2003 8:15 AM
To:
Ok, I see one potential problem. Your methods are declared as throwing
ServletException and IOException, but for Struts 1.1 they should be declared
as throwing Exception.
public ActionForward create(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
Take a look at the examples here http://www.ninsky.com/struts/
The validator example shows one way of doing exactly this. (It's very
similar to David's example).
If you can use the nightly build, then the validwhen rule can alsoe compare
fields.
Steve
-Original Message-
From: Jiri
This is the relevant part of the message: Action[/tr518page1] does not
contain method named error
Does your DispatchAction class, com.ewd.biztax.actions.Tr518page1Action,
contain a method named error?
Steve
http://www.ninsky.com/struts/
-Original Message-
From: Venkat Jambulingam
Just reference your string by its name. e.g.
bean:write name=MY_NAME/
Will display the value of the String.
Steve
http://www.ninsky.com/struts/
-Original Message-
From: Fumitada Hattori [mailto:[EMAIL PROTECTED]
Sent: August 27, 2003 9:02 AM
To: [EMAIL PROTECTED]
Subject: How
There's a wiki page for this topic that might be a better place to post IDE
reviews that on the mailing list.
http://nagoya.apache.org/wiki/apachewiki.cgi?MyFavoriteIDEAndWhy
(I sent this already but it didn't make it to the list. The original may
show up in a few hours, so sorry if this is a
The error message you are receiving indicates that DispatchAction is trying
to find a method named 'error' in your class and it can't find one.
There's really only two reasons that could be:
1. There should be a method named 'error' and there isn't one.
2. There isn't supposed to be one but
When I try adding it, I get a JSP compiler error - Attribute accesskey
invalid according to the specified TLD.
I can only suggest that you still have an old copy of struts.jar. Try
starting with a fresh copy of struts-blank.war from the Struts 1.1
distribution and try that.
Steve
That was the first answer that popped into my head, but the styleId
attribute generates an (X)HTML id attribute which is not a visual style
attribute at all, despite the Struts attribute name, but an element
identifier within the (X)HTML document.
I think the fact that it's missing is just an
I do appreciate that when you are completely new to a subject it can be
difficult to know where to look. However, you'll get a much more sympathetic
response if you demonstrate that you have at least tried to find things out
for yourself before asking for help.
Start with the Struts web site:
-
In addition to the other resources I listed, you should take a look at JSTL:
http://java.sun.com/products/jsp/jstl/
The reference implementation for JSTL is at Jakarta taglibs:
http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html
In particular, look at the iteration tag c:forEach
This might give you a start,
http://jakarta.apache.org/struts/faqs/database.html
However, I prefer not to involve Struts in the data access layer, so these
are also well worth a look:
- Hibernate http://hibernate.bluemars.net/
- Ibatis http://www.ibatis.com/
Rick Reumann has recently added an
This question was asked and *answered* yesterday.
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
he.orgmsgNo=86724
Is there any reason you are repeating the it?
Steve
-Original Message-
From: Kapadia Mitesh-C23457 [mailto:[EMAIL PROTECTED]
Sent: August 24, 2003 11:21 AM
To:
Atachments don't make it through the list, Mike.
Best bet would be to make your file available on a publicly accessible
website and post the link, or if it's small enough, post the text in the
body of your message.
Steve
-Original Message-
From: Mike Jasnowski [mailto:[EMAIL
accesskey is not a valid attribute for the select element (See
http://www.w3.org/TR/html4/sgml/loosedtd.html).
It's not on the html:select tag either.
Also re your earlier message, I took a look at the html-el:hidden tag for
the the styleId attribute. It has already been added to the source since
To: 'Struts Users Mailing List'
Subject: RE: Another missing attribute in html-el
-Original Message-
From: Steve Raeburn [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 26, 2003 2:19 PM
To: Struts Users Mailing List
Subject: RE: Another missing attribute in html-el
accesskey
The following elements support the accesskey attribute: A, AREA, BUTTON,
INPUT, LABEL, and LEGEND, and TEXTAREA.
http://www.w3.org/TR/1998/REC-html40-19980424/interact/forms.html#adef-acces
skey
I'm not quite sure *why* select does not have an accesskey, but it
definitely doesn't.
Looking back
The example application defines a custom plug-in that is initialised at
start-up and loads the database and stores it in the ServletContext
(application scope).
struts-config.xml:
plug-in
className=org.apache.struts.webapp.example.memory.MemoryDatabasePlugIn
set-property property=pathname
But if redirect to another web application your session is lost
That's by design. Sessions belong to a single web application.
The Servlet Spec says:
...
SRV.7.3 Session Scope
HttpSession objects must be scoped at the application (or servlet context)
level.
The underlying mechanism, such
Dude, did you bother to look at the links David gave you?
Or ask on the correct mailing list?
Or even do some research yourself?
Google. Fifth link down. JSTL reference.
Steve
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: August 13, 2003 2:50 PM
To:
This might help: http://www.husted.com/struts/tips/017.html
Steve
-Original Message-
From: Raj Atchutuni [mailto:[EMAIL PROTECTED]
Sent: August 9, 2003 3:07 PM
To: [EMAIL PROTECTED]
Subject: Re: Validation errors display prob in jsp
I am using Dynaforms for the form validation.
Thanks. I've removed the link. The website will be updated with the next
Struts release.
Steve
-Original Message-
From: message message [mailto:[EMAIL PROTECTED]
Sent: August 12, 2003 1:55 AM
To: [EMAIL PROTECTED]
Subject: broken link
The example for wireless using struts listed
working. Let me know.
Jerry Jalenak
Team Lead, Web Publishing
LabOne, Inc.
10101 Renner Blvd.
Lenexa, KS 66219
(913) 577-1496
[EMAIL PROTECTED]
-Original Message-
From: Steve Raeburn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 7:30 PM
To: Struts Users
In your action configuration set the 'input' URL to point to an action
instead of your JSP and then build your lists in the action.
Steve
-Original Message-
From: Gino LV. Ledesma [mailto:[EMAIL PROTECTED]
Sent: August 10, 2003 10:28 PM
To: Struts Users Mailing List
Subject: Design
Thanks for the clear and detailed description of your problem. You're not
doing anything wrong, this is something that is not currently supported by
the html:javascript tag which doesn't have a bundle attribute to enable
you to select a custom bundle.
There is a bug report relating to this
Unless there's some regional standard that I'm unfamiliar with, currencies
(in fact, any numbers) are *always* grouped in threes. Otherwise the commas
are meaningless.
Steve
-Original Message-
From: david chan [mailto:[EMAIL PROTECTED]
Sent: August 14, 2003 9:12 AM
To: Struts Users
.
David
Mark
-Original Message-
From: Steve Raeburn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 5:02 PM
To: Struts Users Mailing List
Subject: RE: Struts Validator
Time to put up or shut up, Mark. If there are specific bugs you have
encountered
Try the Tomcat nightly build. I found the same problem as you with 5.0.7,
but I've just tried the nightly and it's fine. Of course that doesn't mean
you won't find other problems ;-)
Steve
-Original Message-
From: John Cavacas [mailto:[EMAIL PROTECTED]
Sent: August 13, 2003 11:33 AM
Take a look at Hibernate http://hibernate.bluemars.net/, I found the
documentation to be much better than OJB and it was much easier get
productive quickly.
Steve
-Original Message-
From: Reinhard [mailto:[EMAIL PROTECTED]
Sent: August 14, 2003 9:39 AM
To: Struts Users Mailing List
To be fair to Aussie (and other non-US) developers, in the mid-90s *every*
major economy was begging developers to move from anywhere. How I miss those
days!
We had a lot of good Aussie developers in London at the time.
Steve
-Original Message-
From: Mark Galbreath [mailto:[EMAIL
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: August 10, 2003 9:42 AM
To: Struts Users Mailing List
Subject: Re: Struts Validator Javascript
Sgarlata Matt wrote:
I like the concept of the validator, but personally I don't
have a lot of
confidence in it.
The file I downloaded was jakarta-tomcat-5-bin-20030812.zip, running on W2K.
Steve
-Original Message-
From: John Cavacas [mailto:[EMAIL PROTECTED]
Sent: August 13, 2003 12:36 PM
To: Struts Users Mailing List
Subject: RE: [OT] going insane
I've give it a shot. I tried yesterdays
It's not in Struts 1.1 but it's available in the nightly build and will be
in the next release.
Steve
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: August 14, 2003 8:32 AM
To: [EMAIL PROTECTED]
Subject: Struts Validator-validwhen
Hi,
The struts
I've included an example of the Two Fields custom validator in the examples
at http://www.ninsky.com/struts/
The bundled struts examples are found in the webapps directory of the struts
distribution (struts-validator.war).
There's lots of good stuff in that directory ;-)
Steve
Time to put up or shut up, Mark. If there are specific bugs you have
encountered with Validator, please report them via Bugzilla so they can be
addressed. (Patches would also be nice).
Failing that, why not write something yourself and donate it so we can call
your hard work crap?
Otherwise,
You talk as if Sun were in sole control of the destiny of JSF and of Struts.
The truth is that Sun in in control of neither.
JSF is being developed under the the Java Community Process and the expert
group comprises a wide cross section of companies and individuals. You can
see for yourself:
Are you running Struts 1.1? I think this is a problem that was fixed before
1.1 final was released.
Steve
-Original Message-
From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]
Sent: August 11, 2003 8:12 AM
To: [EMAIL PROTECTED]
Subject: Re: Validator
What about replacing reference
Jason Hunter maintains an ISP list at http://www.servlets.com/isps
I don't think it would be appropriate to review ISPs on the Struts site.
Steve
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: August 10, 2003 9:16 AM
To: Struts Users Mailing List
Subject: Re:
Have a look at :
http://pajhome.org.uk/crypt/md5/index.html
You would also need to consider if you want to be reliant on Javascript.
Steve
-Original Message-
From: Keith Pemberton [mailto:[EMAIL PROTECTED]
Sent: August 14, 2003 6:41 PM
To: [EMAIL PROTECTED]
Subject: Password
Redirect causes a new request, not a new session.
A few other things to try:
- Check that your server is actually sending a session cookie or rewriting
the URL
(change your browser settings to see when the server sends you a cookie)
- If your server supports it, try using an
If you add an error in your action:
errors.add(username, new
ActionError(error.username.unique,regform.getUsername()));
...
saveErrors(request, errors); // And don't forget to save them ;-)
You can refer to the error by the property name (e.g. username) in your
JSP
html:errors
Place the html:base/ tag in the 'head' section of your JSP. Relative paths
will be then be calculated based on the location of your JSP.
Alternatively, use the html:rewrite tag to rewrite the value of the URL as
a context-relative path.
link TITLE=risk style REL=stylesheet HREF=html:rewrite
The ServletContextListener interface has a callback method -
contextInitialized() - that passes in a ServletContextEvent parameter. You
can get the context from getServletContext() method of ServletContextEvent.
This was added in Servlet 2.3 spec.
Steve
-Original Message-
From: Jing
http://jakarta.apache.org/struts/api/org/apache/struts/taglib/html/package-s
ummary.html#doc.Other.messages
http://www.husted.com/struts/tips/017.html
Steve
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: July 31, 2003 6:22 AM
To: [EMAIL PROTECTED]
The nightly builds are not working for now because of a problem with the
build machine.
ValidWhen has been added to the source but, for now, you'll need to check it
out from CVS and do your own build.
It will be included in the 1.2 release which will come along a lot sooner
than the 1.1 release
html:javascript defaults to true for both dynamic and static parameters so
that shouldn't make a difference.
Also, location on the page doesn't matter (I stick it in the head section).
Steve
-Original Message-
From: Mainguy, Mike [mailto:[EMAIL PROTECTED]
Sent: July 31, 2003 6:03 AM
I've put together a set of Struts examples at http://www.ninsky.com/struts,
one of which focuses on populating and options.
struts-config.xml:
form-bean name=optionsForm
type=org.apache.struts.action.DynaActionForm
form-property name=fruit3 type=java.lang.String[] initial=Banana
Orange /
?
Hmm.
I'm not going to be impatient, but do we have any rough idea how long it
will be until the 1.2 release comes out? Just curious.
Anyway, thanks for answering my question.
- Keith
-Original Message-
From: Steve Raeburn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31
impact does changing the
Integration have
on development.
Thanks,
Barry
- Original Message -
From: Steve Raeburn [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, July 30, 2003 10:09 PM
Subject: RE: struts-el example app not working?
Well, I
You need to use varStatus to get the current index:
html-el:select property=yearsreferences
c:forEach begin=1 end=10 varStatus=status
html-el:option value=c:out value=${status.count}/
c:out value=${status.count} /
/html-el:option
shameless-plug
You can download an application containing Struts examples,
including populating select options, from
http://www.ninsky.com/struts
/shameless-plug
Steve
-Original Message-
From: Joe Krause [mailto:[EMAIL PROTECTED]
Sent: July 31, 2003 3:32 PM
To: '[EMAIL
It wouldn't be (easily) possible to change ForwardAction to be configurable
between context and module relative because the ActionMapping only has one
parameter which is already being used to provide the path.
A couple of options would be to create a second version of ForwardAction
Try JSTL. For example:
fmt:parseDate var=aDate pattern=dd/MM/ value=26/12/1968 /
is equivalent to:
fmt:parseDate var=aDate pattern=dd/MM/
26/12/1968
/fmt:parseDate
The content of the second example can even be generated by nested tags.
Steve
-Original Message-
Works fine for me with the 1.1 release version on Tomcat 4.1.24.
What container are you running on?
Steve
-Original Message-
From: struts [mailto:[EMAIL PROTECTED]
Sent: July 30, 2003 3:52 PM
To: [EMAIL PROTECTED]
Subject: struts-el example app not working?
Hello,
When testing
The URI is not the problem, it's exactly the same as mine (as it would be if
the example hasn't been modified :-))
This is mine:
%@ taglib uri=/WEB-INF/struts-html-el.tld prefix=html-el %
This may also be valid, depending on what (if anything) you've got
configured in web.xml
%@ taglib
: July 30, 2003 4:06 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: struts-el example app not working?
I am running Tomcat 4.0xx
(using netbeans 3.5 with Tomcat bundle)
Barry
- Original Message -
From: Steve Raeburn [EMAIL PROTECTED]
To: Struts Users Mailing List
-
From: Steve Raeburn [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, July 30, 2003 4:27 PM
Subject: RE: struts-el example app not working?
4.0.6 works for me. I don't remember the details, but I *think* Netbeans
has
cropped up as a problem before.
If you
than WS Studio.
Hope this works for you... now where's that uninstall option :-)
Steve
-Original Message-
From: Steve Raeburn [mailto:[EMAIL PROTECTED]
Sent: July 30, 2003 7:12 PM
To: Struts Users Mailing List
Subject: RE: struts-el example app not working?
I'll try to take a look
this, please post back to the user
list.
Steve
-Original Message-
From: Steve Raeburn [mailto:[EMAIL PROTECTED]
Sent: July 28, 2003 9:13 PM
To: Struts Users Mailing List
Subject: RE: Subject RE: Multiple modules - Please help
Glad you got it working. I'll take a look at your bug
Can you access the edit or remove actions by entering the URL in your
address bar?
e.g. http://localhost:8080/myapp/admin/edit.do?parameter=XXX
Steve
-Original Message-
From: Ajay Patil [mailto:[EMAIL PROTECTED]
Sent: July 27, 2003 11:21 PM
To: [EMAIL PROTECTED]
Subject: RE:
No, the session is associated with the web application and is controlled by
the container, not by Struts.
You'll need to set cookies in your own application to track per module
information.
Steve
-Original Message-
From: Eugen Bushuev [mailto:[EMAIL PROTECTED]
Sent: July 27, 2003
1 - 100 of 220 matches
Mail list logo