Rather than remember the name of the form bean, I use the following:
Note that I uses session scoped form beans - the expression would have to
change slightly for request scoped ones.
Paul
> -Original Message-
> From: Robert Taylor [mailto:[EMAIL PROTECTED]
> Sent: 14 August 2005 19:18
You're theory is correct. The input stream is consumed as it is parsed.
The process flow doesn't seem to match what I'm seeing (Struts 1.2.4). In
1.2.4 all off this is handled in the request processor - not the servlet.
The very first thing the request processor does (in processMultipart) is to
pa
I've used Borland's OptimizeIt fairly successfully. I'm not sure of the cost
(there may be a free trial available) - it may well be cheaper to just buy
another processor!
Paul
> -Original Message-
> From: Ulrich Elsner [mailto:[EMAIL PROTECTED]
> Sent: 2005/26/05 17:17
> To: user@struts.a
Quartz (http://www.opensymphony.com/quartz/) is a job scheduling system
which sounds like it could help you out.
I'd reconsider whether your code should really be in a Struts action. What
are you gaining by using Struts for a non-web bit of processing?
Paul
> -Original Message-
> From: m
In request scope, under the key 'org.apache.struts.action.mapping.instance'
is an object of type ActionMapping. The name property of this ActionMapping
is the name of the form bean being handled by the current request.
This relates to the form bean specified for the request being processed -
not t
How does your system know to send the user to the login page in the first
place?
Typically an application (or the container if you are letting it manage
authentication) detectes that a request is made with no session/an invalid
session/a new session. It then sends the user to the login page.
Assu
Container managed security will do this for you (though it has some
drawbacks). If you don't need the advantages of container managed auth (such
as automatic propogation of credentials to EJBs) then you should consider
filters to implement this. Filters are a relatively recent servlet feature -
I'd
You can only submit one form at a time. This is an http issue - not a Struts
one.
The solution I have used is to combine all the neccessary fields into a
single form.
I typically do this with nested objects - so my form bean would have two
properties "data" & "search" say. These objects themsel
> It would be great to get this to work - I have a need to do
> this in our
> project.
>
> Thanks,
> Dave
>
>
>
>
>
Watch out for users pasting in text that exceeds the allowed limit!
Paul
> -Original Message-
> From: Mike Darretta [mailto:[EMAIL PROTECTED]
> Sent: 2005/20/04 17:03
> To: Struts Users Mailing List
> Subject: Re: html:text area
>
>
> I had the same issue, and resolved it by executing a
I achieve this by having my tag include (pageContext.include() ) a JSP page
which has the other custom tags I want to use.
Paul
> -Original Message-
> From: Scott Purcell [mailto:[EMAIL PROTECTED]
> Sent: 2005/20/04 16:21
> To: user@struts.apache.org
> Subject: HTML:tags in a Tag
>
>
>
ould possibly use the filter to check for the
> existance of the session and "user" object? And if the
> session does not exist? use a redirect to the login page? So
> this filter would only look at incoming requests?
>
> Thanks,
> Scott
>
>
>
>
&g
Hi Scott,
I can't remeber if it was your question I replied to regarding
authentication where I recommended using a filter to do this, rather than
modifying the request processor. If it wasn't your question then I'd
recommend a serach of the archives. If it was you - I still think modifying
the re
-
> month val1val2
> jan 1 2
> feb 3 4
>
> target_target
> -
> VAL COL1COL2
> month jan feb
> val1 1 3
> val22 4
>
> Thanks,
> Dennis
>
I don't 100% understand your tables. Where does ID come from (the values 1 &
2 exist in the first view, but 1,2,3,4 in the second).
Are the totals derived?
Give me the SQL for the first view and I'll have a look.
Paul
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTE
The two approaches I have succesfully used are container managed
authentication & Filters.
Filters are simpler & more flexible than container managed authentication,
so unless you need a particular feature of CMA (e.g. automatic propogation
of credentials to EJBs) I wouldn't recommend it.
I belie
I'm trying to access the request parameters (i.e. submitted form values) in
a custom tag. This is fine with 'normal' forms but with multipart forms
(enctype="multipart/form-data") this isn't working.
The code in the custom tag does, in essence, what the RequestProcessor does
- calls org.apache.com
I use the approach outlined in
http://www.michaelmcgrady.com/button/jsp/button_talk.jsp. In summary each
button, when clicked, puts their value in a different request paramater - by
looking for the presence of a partcicular paramater a different dispatch
method can be called.
This approach should
Could the button on your parent submit the form to the backend with a new
popup windows defined as the "target" attribute (of the html form)? That way
your main form values are sent to the backend, but the results (i.e. your
wizard) is shown in the popup window.
Paul
> -Original Message-
I don't think you need to do this. If you miss out the requestURI attribute
then the current request's URI is used, which will (in a typical struts
application) be the URI of the last action - not the JSP forwarded to.
If you need more help with this then post to the displaytag mailing list.
Paul
This is well of topic - please use [OT]in your subject in the future.
This is a classic multi user application problem. The problem is commonly
known as 'lost update' & an often used solution is optimistic locking.
In my experience using a 'version' column on each table is easier to manage
than t
I've sucessfully used
http://www.wintertree-software.com/dev/ssce/javasdk.html in my company's
product.
There are many ways to use this product - in my case I submit the form
containing the fields to be checked to an action (with the target set to a
popup window). This was hacked together, withou
It is not possible. This a restriction of JSP rather than Struts.
One workaround would be:
Paul
> -Original Message-
> From: Ann Vah [mailto:[EMAIL PROTECTED]
> Sent: 17 February 2005 14:34
> To: Struts Users Mailing List
> Subject: Struts tags inside struts tags
>
>
> I
Have a look at http://displaytag.sourceforge.net/
Paul
> -Original Message-
> From: Manisha Sathe [mailto:[EMAIL PROTECTED]
> Sent: 18 January 2005 09:34
> To: Struts Users Mailing List
> Subject: Re: How to limit the result?
>
>
> After long search i found out that MSSQL does not suppo
I'd guess that RC1 means release candidate 1 - i.e. not the final version.
I *think* that jboss-4.0.1.zip is the final version.
Paul
> -Original Message-
> From: Jay Chandran [mailto:[EMAIL PROTECTED]
> Sent: 13 January 2005 16:40
> To: Struts Users Mailing List
> Subject: Re: Regarding
Try the display tag mailing list http://sourceforge.net/mail/?group_id=73068
Paul
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 12 January 2005 14:03
> To: user
> Subject: display tag rendering problem
>
>
> Hi all
> I'd like to use display tags.Actual
The latest version of displaytag supports a sortPropery setting. This allows
you to display a nicely formatted value but sort on the underlying data.
Column decorators are very rarely required now.
For example:
Paul
> -Original Message-
> From: Barn
Frank,
Although your solution would work I'd be apprehensive about any solution
which involves doing anything manually at the start of each action. I'd
suggest that anything that needs to happen for each & every action is better
suited to a modified RequestProcessor, or a Filter.
As you want to
1) You'll pretty much always have a valid session - the container will
create one for you if it isn't already there. What you need to do is
establish if an *initialised* session is there.
One way to do this would bet to, in your initialise session action, create a
session scope attribute to say s
ect.
> Yes, it's a bit of extra work in all the Actions, but it
> insulates your app from changes to the attribute name down the road.
>
> --
> Frank W. Zammetti
> Founder and Chief Software Architect
> Omnytex Technologies
> http://www.omnytex.com
>
>
When you execute an action the name of the action from used is set in a
request scope attribute "org.apache.struts.action.mapping.instance". It's a
fairly simple matter to get the actual actionform object if you know the
scope. For instance, all my forms are session scope so I can get the
just-used
HashMap doesn't implement the Collection interface, and has no method for
getting an iterator.
Look at the methods values(), keySet() & entrySet() on HashMap which do
return Collections.
Paul
> -Original Message-
> From: Wessel van Norel [mailto:[EMAIL PROTECTED]
> Sent: 15 December 2004
Won't obfuscating your classnames make any analysis of a stack trace, for
example, very difficult?
Anyway - I would expect that any commercial J2EE code obfuscation tool which
changes classnames would know how to modify the XML files. EJBs for instance
are also referenced, by name, in xml config f
I wasn't aware that Tomcat had any functionality related to running external
programs. I can tell you that I have successfully called external programs
(our own win32 commandline exes) from Tomcat and JBoss/Tomcat (using
Runtime.getRuntime().exec() as you do).
I think that, unfortunatly, it's down
The attribute in org.apache.struts.taglib.html.BEAN is set by the
tag. This is how the other tags know which form bean
they are dealing with.
I'd be interested to know why the other html tags are made aware of the form
bean this way, rather than directly asking their enclosing form tag. Any
idea
I'd start by getting things working running tomcat *not* as a service. Once
that is done switch to using a service.
If you look at the service Log On control panel you'll see a "Allow service
to interact with desktop" checkbox. This will need to be set for you to see
a program running on your des
In the services control panel select the relevant service, choose
properties, and then choose the "Log On" tab. You can now decide which user
runs the service.
Paul
> -Original Message-
> From: andy wix [mailto:[EMAIL PROTECTED]
> Sent: 26 November 2004 09:25
> To: [EMAIL PROTECTED]
> Sub
It looks like you are getting the return code from cmd, rather than
shutdown. Could it be that the process you spawn doesn't have it's
environment correctly set up - maybe it can't see shutdown?
I'd try 1) changing my call to exec to call shutdown, with a full path,
directly rather than getting cm
You only need to use saveToken() - it calls generate for you.
Paul
> -Original Message-
> From: Richard [mailto:[EMAIL PROTECTED]
> Sent: 25 November 2004 08:47
> To: Struts Users Mailing List
> Subject: Token Processor Question
>
>
> Hello Guys,
>
> If I have executed generateToken in
I may be wrong, but it sounds a lot like you are misunderstanding the scope
of the request object. Apologies if I'm wrong - please ignore the following
egg-sucking tutorial!
The request objects life starts, on the server, when the servlet container
recieves a request from the user's browser. That
The approach you describe is known as optimisitic locking.
The alternative approach is pessimistic locking, where you mark the records
to be updated as locked at the time you get the records from the datasource.
No other process will be allowed to lock the records at the same time - so
no two use
I don't use DynaForms, so I may be way off the mark, but in my ActionForms I
declare the file fields to be of type org.apache.struts.upload.FormFile.
My understanding of local classes is that they can only be used by the
declaring class - is my understanding wrong?
Paul
> -Original Message-
Your action could read the log file, & store the contents into a request
scoped attribute. The contents of this attribute can then be displayed in
the relevant tile.
Paul
> -Original Message-
> From: Matt Bathje [mailto:[EMAIL PROTECTED]
> Sent: 23 November 2004 14:40
> To: Struts Users M
What you are suggesting will only work if the form is submitted after the
checkbox is checked - probably not what you or the user would expect to
happen.
I'd try and use JavaScript to achieve the same functionality on the client -
the relevant event on the checkbox field could modify the disabled
When using RT expressions as attribute values the whole attribute must be a
single RT:
>
N/A
Paul
> -Original Message-
> From: Daffin, Miles (Company IT)
> [mailto:[EMAIL PROTECTED]
> Sent: 17 November 2004 17:03
> To: [EMAIL PROTECTED]
> Subject: Using constants for form property nam
The Jakarta Regexp taglib
(http://jakarta.apache.org/taglibs/doc/regexp-doc/intro.html) should allow
you to do the neccessary search-and-replace to creat a JavaScript compatible
string.
Paul
> -Original Message-
> From: Shen, Lei [mailto:[EMAIL PROTECTED]
> Sent: 11 November 2004 18:22
>
I think it is actually the source path of the *debug* configuration you are
using.
I just spent a good 20 minutes figuring this out - I've just upgraded to
1.2, but my debug source was pointing to 1.1 which caused a bit of
confusion.
Paul
> -Original Message-
> From: Adam Hardy [mailto:
I've come round to Michael McGrady's way of thinking. LUDA is far more
complex than it needs to be.
See http://wiki.apache.org/struts/StrutsCatalogVariousButtonSolutions
Paul
> -Original Message-
> From: Vaclavik Radek [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 04, 2004 1:47 PM
I had a look for such things a few weeks ago. My requirement was for a
server side implementation - i.e. one that didn't execute the content of
hidden tags. I couldn't find anything that met that requirement.
I did find a pretty cool looking client side implementation at
http://www.pintexx.com/
I
See http://marc.theaimsgroup.com/?l=struts-user&m=109636066026332&w=2
> -Original Message-
> From: Robin Mannering [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 20, 2004 3:21 PM
> To: [EMAIL PROTECTED]
> Subject: Bean Constants and JSP EL
>
>
> Hi,
>
> Wondering if anyone has enc
A Map is proabably a better data structure to use than a collection. I'd
consider changing the way the rules are stored, or converting the Collection
to a Map in your action.
Paul
> -Original Message-
> From: Muhammad Momin Rashid [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 07, 20
What a nonsense sentence! What I meant to say was:
That isn't the purpose of the (confusingly named) reset method. Reset is
there to, typically, deal with the way html forms submit checkbox fields
(they don't submit anything if they are null).
Paul
> -Original Message-
That isn't the purpose of the (confusingly named) reset method. Reset is
there to, typically, deal with the html forms submit checkbox fields (they
don't submit anything if they are null).
Paul
> -Original Message-
> From: Leandro Melo [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October
I have a specific action which destroys the existsing form bean and then
recreates it based on struts-config.
See: http://marc.theaimsgroup.com/?l=struts-user&m=109351495917793&w=2
Paul
> -Original Message-
> From: struts lover [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 06, 20
If the probelm is appearing in a development system then I find the easiest
way to do this kind of thing is to download the struts source & use my
debugger with the struts code.
Paul
> -Original Message-
> From: Laurent Duperval [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 06, 200
Try:
Or something similar.
Paul
> -Original Message-
> From: Robin Mannering [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 05, 2004 1:45 PM
> To: Struts Users Mailing List
> Subject: RE: ActionError and JSP display
>
>
> Hi,
>
>
> I was intending to use ,
And your question is relevant on a Struts mailing list because ...?
Paul
> -Original Message-
> From: Prashanth.S [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 04, 2004 11:28 AM
> To: [EMAIL PROTECTED]
> Subject: Coonection pooling
>
>
> Hi all,
> Is there any design pattern that ca
I found this article the other day, if you fancy rolling your own JDBC
driver. http://www.fawcette.com/javapro/2001_12/magazine/features/jodonahue/
Paul
> -Original Message-
> From: joe a. [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 01, 2004 7:04 PM
> To: [EMAIL PROTECTED]
> Subject
I don't think scoped attributes & parameters are the same thing. Try
http://somehost/app/mypage.jsp?create=something to set a parameter.
Paul
> -Original Message-
> From: andy wix [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 30, 2004 3:59 PM
> To: [EMAIL PROTECTED]
> Subject: jst
A simple solution would be to change your build process to combine the base
properties and the applications properties into one resource file.
Paul
> -Original Message-
> From: Woodchuck [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 30, 2004 2:23 PM
> To: struts
> Subject: with m
Try using request scope (rather than the default of page) when you use JSTL
to set your attribute value. Changes to the named attribute will be picked
up by any code which is executed afterwards.
Paul
> -Original Message-
> From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED]
> Sent: Wednesday
The token is set in a session scope attribute named
"org.apache.struts.action.TOKEN". It should be relatively straightforward to
include it's value within the link, as a parameter named
"org.apache.struts.taglib.html.TOKEN". I suggest you take a look at the
TokenProcessor class if you have any issu
The tag will (or should!) render a hidden field, on your html
form, containing the token value.
Paul
> -Original Message-
> From: andy wix [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 29, 2004 5:18 PM
> To: [EMAIL PROTECTED]
> Subject: Refresh problem
>
>
> Hi,
>
> I have a
e done, how (In a nutshell do I
> enable this) and
> then access it via my action? Do you have a link to doc I can read?
>
> Original Message Follows
> From: Paul McCulloch <[EMAIL PROTECTED]>
> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED
This will be done for you if you enable container managed security for your
web container.
Paul
> -Original Message-
> From: Mark Benussi [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 28, 2004 4:32 PM
> To: [EMAIL PROTECTED]
> Subject: Storing the last request - JAAS?
>
>
> I nee
Thanq very much for ur reply...
>
> Its exporting to excel.. but in our application we need to generate a
> seperate excel file for the records...and how to obtain the freezing
> properties for the generated excel file
>
> Thanq
>
> Kranti
>
>
> On Tue, 28 Sep
>
> /pat on the back for Paul for answering so many questions today :)
>
> -----Original Message-
> From: Paul McCulloch [mailto:[EMAIL PROTECTED]
> Sent: 28 September 2004 10:14
> To: 'Struts Users Mailing List'
> Subject: RE: Need Help: expo
http://www.displaytag.org/example-export.jsp
Paul
> -Original Message-
> From: Kranti Parisa [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 28, 2004 9:56 AM
> To: [EMAIL PROTECTED]
> Subject: Need Help: exporting oracle database records to excel files
>
>
> Hi eveybody,
>
> need
This is a basic html question - nothing to do with Struts. Try Google first
- http://www.google.com/search?q=input+text++right+align
Paul
> -Original Message-
> From: BOU Hou [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 28, 2004 9:34 AM
> To: Struts Users Mailing List
> Subject: h
JBoss/Tomcat (which I assume you are referring to) has default behaviour
whereby the compiled JSPs get deleted on graceful server shutdown. Killing
the process hard gets round this issue, or there is a config setting which
disables this. You need to edit the tomcat config file
($JBOSS\server\defaul
Application
> scope and trying to access it like this:
>
> ${applicationScope.get['myConstantsBean'].resultDisplayTypeId}
>
> but it's still messy. Does anybody have any better ideas?
>
> Thanks!
>
>
> On 09/27/2004 04:53 PM Paul McCulloch wrote:
&
Is there a reason you can't do this in the action which precedes your jsp?
Anyway, from JSTL does this for you.
Paul
> -Original Message-
> From: Asleson, Ryan [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 17, 2004 2:57 PM
> To: '[EMAIL PROTECTED]'
> Subject: Struts Taglib Questio
And you've tried http://www.google.com/search?q=java+fax+api haven't you?
Paul
> -Original Message-
> From: Srinivas [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 15, 2004 10:55 AM
> To: Struts
> Subject: Sending or Receiving Fax through My Application.
>
>
> Hi Guy
>Now let's think about a web application. In this case we have
> the idea of
> may sessions - but theses are just a way for the server & browser to
I've no idea what may sessions are. I probably meant to say " In this case
we may have the idea of sessions".
Paul
*
It sounds like you may have a misunderstanding of the interaction between
your browser and a web server.
Let's just talk static content first. You request a URL for an html page;
the server sends the page back to you. That's a request. Now if the html
page you recieved contains 2 pictures then yo
Could it be that you are using html-el rather than html?
Paul
> -Original Message-
> From: andy wix [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 14, 2004 12:30 PM
> To: [EMAIL PROTECTED]
> Subject: RTEXPR in struts html tags
>
>
> Hi,
>
> I can't get struts tags to accept expre
You could make the response from the submit be an html page which executes
the relevant (parent.reload; close) Javascript.
Alternatively you could submit the form on the popup window so that the
response of this submission was displayed in the parent window (via the
'target' attribute of the form
In Outlook 2000 you can do this by choosing View:Current View:By
Conversation Topic, then click the data column to sort.
Paul
> -Original Message-
> From: Rick Reumann [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 02, 2004 3:45 PM
> To: Struts Users Mailing List
> Subject: [OT] so
Although this is (probably) possible your object model is making things more
difficult than it needs to be.
I would consider remodelling this as a single Map of Items where each Item
has, in addition to it's other properties, a Collection of SubItems. This
will be fairly easy to render using the
004 8:29 AM
> To: Struts Users Mailing List
> Subject: RE: ActionForm: simply calling reset() or have to
> recreate one ?
>
>
> I see. Checked API doc, saw getServlet() call for
> Action. Guess this is what I need to use.
> thanks !
>
> --- Paul McCulloch <[EMAIL
These files are need if you wish to use JSP EL in a JSP 1.2 container. If
you use a JSP 2 container then EL is supported for the standard struts tags
(by the container rather than the tags themselves). See
http://struts.apache.org/faqs/struts-el.html for more details.
Paul
> -Original Messa
To: Struts Users Mailing List
> Subject: RE: Possible to change input path in actionForm validate?
>
>
> I tried that but it is complainin about more than one identical action
> definition in struts-config.
>
> sebastian ho
>
>
>
> On Fri, 2004-08-27 at 20:21, P
I think it was me who pointed you down that route to destroy & recreate a
form bean to clear any data in it.
reset() is not used for this purpose - read up on what reset() does.
"servlet" is a variable of Action and is available in all methods of your
own Action classes.
Paul
> -Original
There was a thread asking exactly the same question earlier in the week.
Have a look in the archives.
Paul
> -Original Message-
> From: Woodchuck [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 27, 2004 5:06 PM
> To: Struts Users Mailing List
> Subject: Re: Struts or JSTL equivalent for
I use 3.2.3...
The debug messages can be turned off by playing with the log4j config file
in C:\jboss\jboss-3.2.3\server\default\conf\log4j.xml
You should deploy your application (as either a .war file, or a .war
directory) by copying to C:\jboss\jboss-3.2.3\server\default\deploy. I have
never se
d extend to submit
> as follows:
>
>
>
>
>
>
>
>
>
> I will amend the wiki to reflect that possibility. This just
> mimics the
> functionality of the tag.
>
> Michael
>
> Paul McCulloch wrote:
>
> >I
I missing?
Thanks,
Paul
> -Original Message-
> From: Michael McGrady [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 27, 2004 2:54 PM
> To: Struts Users Mailing List
> Subject: Re: LookupDispatchAction (Newbie)
>
>
> Paul McCulloch wrote:
>
> >Am I
Am I right in thinking that your solution works for image buttons, whereas
the LookupDispatchAction is for text labeled buttons?
Paul
> -Original Message-
> From: Michael McGrady [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 27, 2004 2:35 PM
> To: Struts Users Mailing List
> Subject: R
Try the archive at http://marc.theaimsgroup.com/?l=struts-user
Paul
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 27, 2004 2:02 PM
> To: Struts Users Mailing List
> Subject: OT - Archive Search
>
>
>
>
>
>
> Before I submit questions
the
> locale settings
> in windows to, e.g. ENGLISH, but the date is still shown in
> the original
> format (Czech).
>
> Here is the snip of JSP code I am using:
>
> type="java.util.Date"/>
>
>
> Radek
>
> > -Original Message---
One way to do this is to have multiple actions defined in struts-config.xml,
each using the same Action class. Each action can have a different input
JSP.
Paul
> -Original Message-
> From: Sebastian Ho [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 27, 2004 1:05 PM
> To: Struts Users Ma
A getter with a paramteter is not a bean property, and so won't be
accessible with the usual tags.
I'd suggest that the formatting of your date is the responsibility of your
view layer, and not the form bean. The easiest way to do waht you ar after
is to use the JSTL's tag:
Use fmt:message & fmt:param tags instead of the Struts tag. If you can;t use
JSTL then extend the bean:message tag.
Paul
-Original Message-
From: Bharat Bhushan [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 6:02 PM
To: Struts Users Mailing List
Subject: More than 5 Arguments
No disrespect intended - but I'd be inclined to look at my own
code/environment before I started blaming the struts taglibs!
When I get into this sort of position I tend to remove all traces of my jsp
from the container (including the generated servlet etc), redeploy & restart
the container. If th
That's my approach too - the JSPs will either break or do nothing if called
directly.
Pau;
> -Original Message-
> From: David Suarez [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 26, 2004 2:21 PM
> To: Struts Users Mailing List
> Subject: RE: Question about authentication
>
>
> I m
I've asked this before on the list and didn't get a neat answer. I've
resorted to using c:set & scriptlets to extract the value from the static
and store it in a scoped attribute for use with JSTL.
Paul
> -Original Message-
> From: Janne Mattila [mailto:[EMAIL PROTECTED]
> Sent: Thursday
You could start with the documentation:
http://struts.apache.org/userGuide/struts-html.html#link
Paul
> -Original Message-
> From: PC Leung [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 26, 2004 1:39 PM
> To: [EMAIL PROTECTED]
> Subject: How to embed a method in a link inside a jsp
The method I use to is to remove & recreate the form bean. I wouldn't use
the reset method - this is not for resetting the form bean in the way you
suggest - it is called for you by Struts. Here is the method I use to do
this:
public ActionForm recreateFormBean(ActionMapping mapping, ActionFor
Is using forward as an exception handler's path valid? I didn't know you
could do that.
Anyway, I'd reduce the complexity of what you are doing: Start by using an
html page as your path, then try a JSP, then an action.
Paul
> -Original Message-
> From: Keith Bottner [mailto:[EMAIL PROTEC
I'd imagine that a localised version of a browser will display 'Browse' in
the appropriate langauge. Not easy to test though!
Paul
> -Original Message-
> From: struts lover [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 23, 2004 4:20 PM
> To: [EMAIL PROTECTED]
> Subject: localizing the
1 - 100 of 161 matches
Mail list logo