ard("anywhereyouwant");
}
Laurent Duparchy wrote:
Hi,
My front-end program upload files and then forward the file path to
another server side program that handle them.
The problem is that I have to read the FormFile data and store it
into another temp file.
It would increase performances
the Struts temp file.
I can't see how.
I understand that there is maybe no file at all, as a small size a file
will be stored in memory, but is the maybe existing underlying FileItem
avaiable in anyway ?
Laurent
---
I found that
onclick="this.value=${labelPrinterButton}"
is working
Leon Rosenberg wrote:
hi,
try:
onclick="<%="this.value='"+labelPrinterButton+"'"%>'"
regards
Leon
On 8/29/06, Laurent Duparchy <[EMAIL PROTECTED]> wrot
Hi,
I'm forced to use a scriptlet to insert a localized label into a tag.
The code is this ;
(Note : this code is changing a button display by an image, defined in
the css file. )
onclick="this.value='<%=labelPrinterButton%>'"
styleClass="buttonPrinter" title=
once you
see the code, I'm sure you'll figure it out. Don't ignore the BeanInfo
class. That's important to make sure you can use the same JSP attribute
names as in the base taglib.
-Original Message-
From: Laurent Duparchy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, J
ava.sun.com/products/jsp/jstl/
-Original Message-
From: Laurent Duparchy [mailto:[EMAIL PROTECTED]
Sent: 12 July 2006 07:41
To: user@struts.apache.org
Hi,
(Sorry if you already get this message, I'm sure if it had been sent.)
is there a taglib "nested-el" ?
If not, what
Hi,
(Sorry if you already get this message, I'm sure if it had been sent.)
is there a taglib "nested-el" ?
If not, what is the turnarround to evaluate an expression within a
tag ?
-
To unsubscribe, e-mail: [EMAIL PROTECTE
would
fasten my application.
Regards,
Laurent
--
*Laurent Fallet*
Assistant Chef de projet
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
*Groupe MdB*
6 rue Van Gogh 93360 Neuilly Plaisance
Tel. 01.56.49.01.71 | Fax 01.56.49.01.67
www.MdBinformatique.com <http://www.MdBin
Hello,
I would like to know if there is any possibility of optimization in
Struts. Is there a cache of page to increase performance? Or memory
allocation? Anything to speed up the processing of pages?
Thx,
Laurent
-
To
and I would like to have it as "32.00"
I'm using the type Float for the form field (not String). Is there a way
to do that?
Thanks,
Laurent
--
*Laurent Fallet*
Assistant Chef de projet
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
*Groupe MdB*
6 rue Van Gogh 93360 Ne
Anna Krajewska wrote:
> I have a problem with tag. I want to set a styleclass or some
> style parameters for the button, but when I set styleClass="button" and
> styleId=""something" (I did not manage to find what this attribute is for,
> and there is no difference beetween situations when it's
Hi,
In my project I have a tag library. Its associated tld file is in the
webapp/WEB-INF directory. This works fine on my (linux) server but in
the Netbeans IDE (windows) the tags are never parsed. They stay as
in the HTML served to the browser. The xmlns also
stays in the HTML. There are no erro
Leon Rosenberg wrote:
> Thanx Laurent,
>
> This was the closest reply sofar :-)
>
> The problem is, that I can't really debug, I get data through a web-form and
>
> send it via xml to the payment provider.
Maybe you could try this: in XML it is perfectly legal to e
Leon Rosenberg wrote:
> Hi,
>
> I have a small encoding problem, which drives me crazy...
>
> Our complete site is in ISO-8859-1 (which is java-default, as I understand
> it). I mean, the charset of the page is ISO, and meta-tags in HTML are
> telling the
> browser that the page is ISO too.
>
Hi,
I am using the Cache taglib from Jakarta Taglibs.
On the documentation page:
http://jakarta.apache.org/taglibs/doc/cache-doc/
there are examples of attributes having RTExpressions (one example is
key="${user}.${verbosity}"), but the tld says none of the attributes can
be RTExpressions (you ca
Nimish Chourey , Tidel Park - Chennai wrote:
> Are you sure there is no way out ? I really feel , there might be some way
> out .
Hi,
I use tiles and I personnaly have no problem getting the error messages.
I use the NetBeans IDE. All my logs and 'normal' exceptions (that occur
in Java classes) c
[EMAIL PROTECTED] wrote:
> // Only add a row when changing the last row of the table
> if ("s"+(rowWithData) == selectId) {
> var row = table.insertRow(lastRowInTable);
> var className = "rowNormal";
>
> if (lastRowInTable % 2 == 0) {
> className = "rowAlter
Hond4 wrote:
> I have fllowing problem with my Struts app on Jboss. Here is my filter
> String defaultEncode = "UTF-8";
> HttpServletRequest req = (HttpServletRequest) request;
> HttpServletResponse res = (HttpServletResponse) response;
> req.setCharacterEncoding(default
Hi,
I have a few settings in my webapp (address of the LDAP server, location
of 2 or 3 files), which are in the source code at the moment. This makes
it difficult to change them (and I have to recompile every time). Where
is the best place to store these kinds of settings? I thought of using a
Res
StÃphane Zuckerman wrote:
>
> 2Â) When I select "foo", then some javascript reloads the page (it does
> a post) with the "foo" argument, and the rest of the JSP is loaded. This
> is the way I'd like to take, since some informations mustn't be in the
> clear uselessly.
>
> My problem is that I don
Andrew
Try something like...
"
If that doesn't work try this:
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Daffin, Miles (Company IT) wrote:
What do people feel about using constants for property names?
In general I feel one should use constants for such things, but it is
far from easy in a web app to do so.
I can't really see the point. A property name is like a variable name,
it will never be displ
Jeff Beal wrote:
Laurent wrote:
Of course, I can perfectly understand that in non-XML JSP mode there
may be glitches in the way the XML is parsed. However, I don't believe
it is acceptable to output something that isn't XML when you've
explicitly demanded to have XML. (For e
'&' will allow '&' to be written to the
response, which the XML parser at the other end can then handle
appropriately.
-- Jeff
Laurent wrote:
I just realised the problem only occures when my JSP files have the
".jspx" file extension. Files whose names
I just realised the problem only occures when my JSP files have the
".jspx" file extension. Files whose names end in ".jsp" do not have this
problem. However, my question remains...
Thank you.
Laurent wrote:
Hi,
There is something I do not understand with the way JSP o
Hi,
There is something I do not understand with the way JSP outputs XML:
If in my source JSP file, I have something like this:
a & b
The XML parser should interpret this string as "a & b" and represent it
internally as "a & b". However, when it ouputs that data to the XML file
being sent back to
Tim Christopher wrote:
Hi,
Can anyone let me know when an ActionError should be used in place of
an ActionMessage, or visa versa. It seems like the ActionMessage is
preferred as it does not encourage markup to be placed within the
resources file.
Does this mean I should always use the ActionMessag
Hi,
I need to do something like this:
${colspan}
loads more JSTL tags
i.e. set the colspan attribute of the element only if colspan is not 1.
This doesn't work as must be a direct subelement of
(here there is in between).
How should I do this?
Thanks.
---
Nicolas De Loof wrote:
Can someone explain me what's wrong in HTTP / servlet API about char
encoding :
I'm using to build a link with parameters, whose values use
french chars ('Ã', 'Ã' ...)
I need to set useLocaleEncoding to get values in my servlet (that is not
a struts action) using getPara
Joe Hertz wrote:
Something like this if youre using 1.2.x:
test
((item1 != null) or (item2 != null) or (*this* !=
null))
Thanks. Is this supposed to work with DynaActionForm's? I tried it and
it still seems to pass the validation. Finally, do I have to do this for
all three fields or is
Hi,
How does one implement dependence between property fields? Specifically,
I have three String fields and at least one of them must be non-null.
Can I write this in the validator.xml file? Or do I have to write a
custom validation rule?
Thanks,
L
--
Eddie Bush wrote:
Application-specific exceptions are one of the least used and most
useful tools. That's exactly how I'd go about doing it, and I dare say
it's the right way.
Indeed. One thing I've found with this approcah: if I don't put all the
mandatory data in the form, I get an error mes
Laurent Duperval wrote:
I'm sure others have done something similar. What approaches have you
taken?
Well, shortly after posting this, I remembered the tag could
be added in an action. By defining a specific exception for the errors
I'm trackin and sending them back to the conta
HI,
We've created a bunch of forms to allow users to create new object in
our database. All the forms have a "name" property in them, and
depending on the object, there are other properties. Most of our
validation is just a simple "required".
However, we have a business rule which states that t
Hello,
Does anyone have experience using (Mock)StrutsTestCase to test wildcard
actions (actions that end in *) and MappingDispatchActions?
Does it work? Are there any particular issues to be aware of?
Thanks,
L
-
To unsubscribe,
Jeff Beal wrote:
Have you tried
?
Ahaaa! No I haven't. Thanks!
L
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
I have an opbject that looks like this:
Profile {
String name;
Account account;
String getName();
Account getAccount();
}
Account {
String name;
String getName();
}
In my jsp, I have code like this:
...
...
...
...
...
...
This generates:
I'm using DynaValidatorActionForm's t
Laurent Duperval wrote:
The "foo" parameter should actually read "add". I changed it to see if
my class was being called and it isn't. Otherwise, I would get a
NoSuchMethodExcpetion. My class is defined as:
Grmblb. I found it. There was an execute() method in the
[EMAIL PROTECTED] wrote:
Hi, L.
Did you upgrade your struts.jar recently?
Yes.
The new struts action servlet calls a different method on actions, and it's default
implementation is to show an empty page.
Stumbled over this one also.
Sure, but I've got mappings that should load the correct page. I
HI,
While tracing my application, this is the debug output I get:
[DEBUG] RequestProcessor - Processing a 'GET' for path '/mainHardwareProfile'
[DEBUG] ActionConfigMatcher - Attempting to match '/mainHardwareProfile' to
a wildcard pattern
[DEBUG] BeanUtils - Cloning bean: org.apache.struts.action.
Hi,
Is there a flag I can set so that Struts tells me what it's doing? I'm
having a problem with one of my actions: when I click on it, I get a blank
page and I don't understand why. I'd like to be able to see what decisions
Sruts is taking in order to load my pages, to determine where I made a
41 matches
Mail list logo