Sorry to bother you all, but I really cannot find a better place to
post this quesion.
I am using Chinese in fact, so all character set is set to gb2312, and
the jdbc connection is also properly set. Since if I hard code the
query , it goes quite well.
Like this, Session.createQuery(" from table1
Hello,
I read latest thread about "out of memory" problem and it didn't work on
my Tomcat 5 and Win2003 server.
I checked any memory configuration in Tomcat ("initial memory pool",
"maximum memeory pool", "thread stack size" and in catalina.bat I set
JAVA_OPTS to -XX:MaxPermSize=128m) and ther
Wendy Smoak napisał(a):
On 11/27/05, Daniel Łaś <[EMAIL PROTECTED]> wrote:
I found different stack trace than previously posted.Maybe this will be
more helpfull.
2005-11-27 16:54:36 StandardWrapperValve[action]: Servlet.service() for
servlet action threw exception
java.lang.NoClassDefFoundErr
oh yes I use 1.2.7 sorry:-)
But yes I can display the messages if I use
the default messages:
I replace "test" from the message ressources
and "test" from the bundle attribute
in the validation.xml
So is this a bug??
Nice greetings Christian
-- Initial Header ---
>From
> OK.
>
> I think I know what is going on here. For some reason, everytime we email
> you the ampersand
> entity, it get translated into a literal & again and it looks like nothing
> has changed.
>
> I am going to use "@amp;" but you change @ to & in your code:
>
> jdbc:mysql://l
There is a bug in Struts 1.2.7 tag that affects
Validator using different resource bundles - but works
OK.
How are you displaying them? If it is with then you
either need to upgrade to Struts 1.2.8 (just released) or use
Niall
On 11/28/05, starki78 <[EMAIL PROTECTED]> wrote:
> oh yes I use 1
OK I tried to give out the error with the bundle and the property:
mask
//--> try to write out the error!
in the validation.xml!!
mask
^[QXqx0-9]*$
There is a example page in the struts-examples.war webapp shipped with
Struts 1.2.7 - if you go to the "validator" section and choose the
"bundles" example.
My guess is one of your other validations needs the "default" bundle
either for an or element. You need to make sure all the
keys are in th
Hi Chand,
As far as I understand your question. Your application has an
entity called ITEM, which has 2 attributes one is CODE for the ITEM and
another is NAME for the ITEM. Now in the screen you wanted to display
one attribute (i.e. the CODE of the ITEM or the NAME of the ITEM) where
as af
Hi
I am facing problem while configuring
connection pool in tomcat.
I created one DataSource after
logging into server as abmin.
I saw corresponding settings in
server.xml.i am listing them below.
Then i configured web.xml .I guess i
did all the changes as mentioned in tomca
I have problem with this part of code:
---
When I'm hiting submit button and having error in validation, in drop down box
i get last value from
hmUserPrijenosList and when submit button do not trigger valid
remove logic present.
it works.
by the way how can you get that list(hmUserPrijenosList) back in action from
the request.i have that problem.
is there any way to get that in the action class.
cheers.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 28 November 2
> remove logic present.
> it works.
>
> by the way how can you get that list(hmUserPrijenosList) back in action from
> the request.i have that problem.
> is there any way to get that in the action class.
>
> cheers.
>
After removing logic present everything is still the same :-(
answer to your
how can you get it from the session in the action class(not in the jsp).
as http wrappers return only strings or string arrays.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 28 November 2005 10:49
To: Struts Users Mailing List
Subject: RE: [Maybe Spam] html:sel
- Original Message Follows -
> how can you get it from the session in the action class(not in the jsp).
> as http wrappers return only strings or string arrays.
>
first i make one big class like:
import java.io.Serializable;
public class User implements Serializable {
pr
> Try this
>
>
>
>
>
value="-">---<
/htm
> l:option>
>
>
> name='hmUserPrijenos' property='user-podatak-1-0'/>
>
>
>
>
If I do this, than i get several problem :-( id is alvays the same (how to know
w
> I hope this will surely work for you. If not please send me the error what u
> r getting. so i can
> figure it out what's happening really...
>
>
>
>
> value="-">--- m
> l:option> property="user-podatak-2-
Hi hem,
Here is an example