Hi all,
How can I escape curly brackets in my message bundle so that I can
display {1} in my JSP? I already tried with \ or \\ but whenever I don't
receive an error {1} is replaced by 'null' in the text. Hope someone can
help me.
TIA,
Axel
---
Hi all,
I have a forEach loop which iterates from startValue to endValue, which
works fine. But forEach wants me that startValue is smaller than
endValue. If I want to iterate from a bigger value down to a smaller
it's not possible. I tried to switch start and end value but without
success. Eve
The problem seems to be fixed. The codebase was missing. Firefox and
Mozilla didn't care about, but IE. Nevertheless the applet runs if it is
executed on the same server but outside the Struts application.
Axel
-
To unsubscribe,
Hi,
this question not typically Struts related, but maybe someone on this list had this
error before and can help me. I have an applet which runs well on Firefox and Nescape.
Evevn if I put in a single HTML file it is loaded correctly with Internet Explorer. As
soon as the applet is integrated
Ivan Vasquez schrieb:
Hi,
What's the preferred way to upload files into a database in a J2EE Web
application?
Is there any way to stream the file straight from the HttpServletRequest
to the database without staging it in the server's filesystem?
Thank you,
Ivan.
That's how I use it. But in m
Hubert Rabago schrieb:
Well, not really set the input, but you can direct the request to the
correct one in your java code.
First off, set validate=false on the action.
Then, in your action, call the form's validate() yourself.
Lastly, if there are validation errors, call saveErrors() to save the
Bill Siggelkow schrieb:
I don't understand exactly why you are doing the redirect? Why not
just set the input attribute to be the page you are redirecting to ...
then Struts will forward to it when validation fails.
Can I set the input attribute in my Java Code? I thought I have to
define it in
Hi all,
in my struts application I have 4 forms which have to be filled to store an item in
the database. All 4 forms are inherited from one abstract form class. As form 3
depends on data from 1 I didn't find a better solution, but it works.
The problem is the following. When I submit form 4 I
Kalra, Ashwani wrote:
hi,
how can I validate an optional field. ie validate only if there is some
value in it. For example. I want to validate a field which should of type
int.But it should be validated only if use has entered some value in it.
hi,
if you are validating in your form or action c
Václavík Radek wrote:
Hi Axel,
don't know if I understood your problem well, but i have such text in db and
when printing it in jsp using i use this parameter:
Hope this helps.
Hi Radek,
thanks your very much. As I used
Axel
-
Hi all,
I have an application where the user should be allowed to use text
formatting tags as or (and so on). To avoid that tags like
oder (and so on) are used I check the for these tags
before it's stored in the DB.
When the text is read from the DB my tags are encoded to . How
can thi
Hi all,
I know this is not a JSTL list, but maybe someone can tell me, if there
is a possibilty to get a random number with a JSTL tag. Best would be to
have min and a max value. If this doesn't exist, I think about wrtiting
such a tag for me. But I don't have to do this, if it still exists. ;-)
Zaid wrote:
Dear Friends,
I am new to struts, so I was confused in choosing the best way to make
connection to Database, whether data-resources or Plugin or any other
method, however, if any suggested way to connect, please inform me. Baring
in mind that I am using MySQL server.
As the Struts da
Hi all,
in my Struts application I can access result collection from sql:query
with the forEach loop. When I try access one single row by index, it
fails. Right now I solved this with defining a forEach loop where begin
and end are the index I want to access.
This looks like this:
...
In m
Linus Nikander wrote:
Is it possible to use multiple validation.xml files concurrently ? We're
about to launch a fairly large projetct and I see issues where one developer
has validation.xml checked out when another one needs to edit it as a
possible problem.
//Linus Nikander -
If you use CVS it
Andy Engle wrote:
Hi all,
I am trying to do something as simple as writing a FOR loop with some
information that I have in a bean, but this is proving to be quite a
bit more cumbersome and difficult than I thought it would be. For some
reason, everything I try seems to fail. Here is a short examp
Hi all,
I think I have a common problem, but couldn't find any solution in the archive of this
list or with Google.
All I want to have is i18n where keys come from the DB. My DB contains a table where I
can read the keys from. With this key I want to do a lookup in my properties file. How
can
17 matches
Mail list logo