A question about hibernate query with special chracters

2005-11-28 Thread Comain Chen
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

Out of memory

2005-11-28 Thread Andrzej Bengner
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

Re: JFreeChart and Struts

2005-11-28 Thread Daniel Łaś
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

Re: Bug in Struts Validator?how to move to 1.4

2005-11-28 Thread starki78
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

Re: Inserting special character into MySQL 5 problem

2005-11-28 Thread Stanislav
> 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

Re: Bug in Struts Validator?how to move to 1.4

2005-11-28 Thread Niall Pemberton
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

Re: Bug in Struts Validator?how to move to 1.4

2005-11-28 Thread starki78
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]*$

Re: Bug in Struts Validator?how to move to 1.4

2005-11-28 Thread Niall Pemberton
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

RE: saving a value in jsp?

2005-11-28 Thread Ramaswamy, Palaniappan
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

Problem with Connection Pool in Tomcat

2005-11-28 Thread Nandakishore Nekkanti
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

html:select and logic:iterate

2005-11-28 Thread Stanislav
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

RE: [Maybe Spam] html:select and logic:iterate

2005-11-28 Thread Kanuri, Chand
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

RE: [Maybe Spam] html:select and logic:iterate

2005-11-28 Thread Stanislav
> 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

RE: [Maybe Spam] html:select and logic:iterate

2005-11-28 Thread Kanuri, Chand
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

RE: [Maybe Spam] html:select and logic:iterate

2005-11-28 Thread Stanislav
- 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

RE: html:select and logic:iterate

2005-11-28 Thread Stanislav
> 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

RE: html:select and logic:iterate

2005-11-28 Thread Stanislav
> 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-

RE: saving a value in jsp?

2005-11-28 Thread Ramaswamy, Palaniappan
Hi hem, Here is an example