Re: Jsp struts

2008-05-21 Thread Antonio Petrelli
2008/5/20 Sapan [EMAIL PROTECTED]: This is wha I done in my code . Yeah, sorry, I found it too. I think it could be a bug of Struts 1.1 with the html:html locale=true tag. Can you upgrade it? There's Struts 1.3.8 out there. Antonio

Re: Why my emails are rejected as spam!!

2008-05-21 Thread Antonio Petrelli
2008/5/20 Struts Two [EMAIL PROTECTED]: For any email that sent and is approximately 10 lines, my email is rejected as spam. I can see people posing messages much much longer that the ones I send. I get a line in the failure notice Remote host said: 552 spam score (5.0) exceeded threshold

integration struts hibernate

2008-05-21 Thread jamiladah
salut, j'ai besoin de votre aide. j'ai un projet web (c'est pas .war) avec struts .je vais utiliser encore hibarnate pour acceder a mes donnees. j'ai cherche sur le net, j'ai trouve un exemple avec un .war que n'est pas mon ças.j'ai trouve un autre article mais pas complet. quelqu'un peut

Re: integration struts hibernate

2008-05-21 Thread Antonio Petrelli
Oh dear, please write in English. Anyway I think I got it (I am Italian, so I can get French easily, even without knowing it :-D ). There is a wiki page that can help you: http://cwiki.apache.org/S2WIKI/struts-2-spring-2-jpa-ajax.html Ciao Antonio 2008/5/21 jamiladah [EMAIL PROTECTED]: salut,

use hibernate with struts

2008-05-21 Thread jamiladah
hello, i am building my first application with struts,to connect to my database i used a jdbc driver. now i like to use an ORM (hibernate) for the connection to my database. i don t know how to procede ?what are they the necessary configuration file to modify? can someone help me. please --

Re: [Struts 2] Datetimepicker tag Bug ?!

2008-05-21 Thread Ralf Fischer
Hi, as far as I understand the documentation [1], the datetimepicker / has no format attribute, so I wonder how your JSP gets compiled. Are you looking for the displayFormat attribute? The error from your first mail suggests an error either in the type conversion or in general with the OGNL

Re: Writing valid OGNL

2008-05-21 Thread Ralf Fischer
Hi ravi, none that I'm aware of. But it really would be nice to have such a thingy! As it's all about the stack when it comes to OGNL usage in Struts, I was thinking about wiring some Unit Tests together which build up a stack and then run the OGNL Expressions on it. Anyway it's no good, as

Re: Writing valid OGNL

2008-05-21 Thread Dave Newton
--- ravi_eze [EMAIL PROTECTED] wrote: is there some standalone application/some way by which i can validate the ognl i write? instead of writing them in validation file, compiling deploying and then discovering there some problem (we only see some non descriptive error) The debug console

Re: Why my emails are rejected as spam!!

2008-05-21 Thread Struts Two
Then what name can be better than StrutsTwo for a forum that is used for Struts 2 !! - Original Message From: Antonio Petrelli [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, May 21, 2008 4:17:01 AM Subject: Re: Why my emails are rejected as

Re: Why my emails are rejected as spam!!

2008-05-21 Thread Milan Milanovic
It happened to me to yesterday every time in one thread. Struts Two [EMAIL PROTECTED] wrote: Then what name can be better than StrutsTwo for a forum that is used for Struts 2 !! - Original Message From: Antonio Petrelli To: Struts Users Mailing List Sent: Wednesday, May 21, 2008

Re: Why my emails are rejected as spam!!

2008-05-21 Thread Antonio Petrelli
2008/5/21 Struts Two [EMAIL PROTECTED]: Then what name can be better than StrutsTwo for a forum that is used for Struts 2 !! I think that your name will fit best :-D Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For

[S2] Advice on Handling CLOBs in Struts2

2008-05-21 Thread Hoying, Ken
Generally when working with Struts2, we have been loading a domaon object from the database in our action and then sending then referencing the properties as needed from the JSP to generate our output. However, we now what could potentially be a large amount of data stored in a CLOB. Using the

[Nb] Problem with fieldvalidator of type fieldexpression

2008-05-21 Thread Peter Theissen
Hello, I have a certain problem with the fieldvalidator of type fieldexpression: It is not running at all! Even if I try the simplest possible case it doesnt work (I assume that 'false' is a valid OGNL expr): field name=registration.city field-validator type=fieldexpression param

Re: use hibernate with struts

2008-05-21 Thread Jim Kiley
You may find this tutorial to be enlightening: http://struts.apache.org/2.x/docs/struts-2-spring-2-jpa-ajax.html jk On Wed, May 21, 2008 at 5:14 AM, jamiladah [EMAIL PROTECTED] wrote: hello, i am building my first application with struts,to connect to my database i used a jdbc driver. now

[Struts 2] Date conversion general bug!

2008-05-21 Thread Milan Milanovic
Regarding this theme: http://www.nabble.com/-Struts-2--Datetimepicker-tag-Bug--%21-td17322058.html I must reply in this way, because when I give reply to the message above struts mailing list returns that my e-mail is SPAM?! No, the thing is very simple. I have datetimepicker in my

Re: [Struts 2] Date conversion general bug!

2008-05-21 Thread Milan Milanovic
The wierd thing, even if my date is wrote in dd.MM. format in textfield, if I enter date in dd/MM/ format then it works without this error ? What is the problem ? Maybe the same problem is with datetimepicker ? -- Thx in advance, Milan Milan Milanovic [EMAIL PROTECTED]

Re: [Struts 2] Date conversion general bug!

2008-05-21 Thread Milan Milanovic
Yes, this was the same problem with datetimepicker too. All dates must be in this format to work: MM.dd.! How can I change this ? I tried with displayFormat attribute and to define it in package.properties, but it doesn't work. Can this be done for complete application ? -- Thx

Re: [Struts 2] Date conversion general bug!

2008-05-21 Thread Milan Milanovic
No, Struts 2 only support MM/dd/ date format and accepts it, when I change to dd.MM. I got that error: ERROR com.opensymphony.xwork2.interceptor.ParametersInterceptor:204 - ParametersInterceptor - [setParameters]: Unexpected Exception caught setting... -- Thx. Milan

Re: [Struts 2] Date conversion general bug!

2008-05-21 Thread Milan Milanovic
I'm sorry, but I finally got what is the problem. I'm sending in this thread and I want people on the list know what I have find. It very bad that nobody from Struts team want to help with this simple problem and that people get stuck with their projects for weeks because of such things. It is

Re: Struts 2.0 and RAD 7.0

2008-05-21 Thread achandra
Hi Guys, Thank you for such a prompt response. I am uploading two MS word document. One contains the print screen that will show you where I have placed my various files in RAD and other will show you the content of the files I am using. I have tried various combinations in the struts.xml and

RE: Struts 2.0 and RAD 7.0

2008-05-21 Thread Relph,Brian
And your web.xml? Brian Relph -Original Message- From: achandra [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 21, 2008 10:07 AM To: user@struts.apache.org Subject: Re: Struts 2.0 and RAD 7.0 Hi Guys, Thank you for such a prompt response. I am uploading two MS word document. One

RE: Re: Struts 2.0 and RAD 7.0

2008-05-21 Thread [EMAIL PROTECTED]
I don't open Word documents, so can't help. Screenshots are images: just use images. Source code is plain text. Keep it as plain text. You can use any of several source code upload sites like pastebin or just post a *minimal* amount of code and configs that demonstrate the problem behavior.

RE: [S2] Advice on Handling CLOBs in Struts2

2008-05-21 Thread Hoying, Ken
I have tried to accomplish this by creating an action with a stream result type. I am then including calling the action from with in my JSP page using the s:action tag. Unfortunately though, I am getting the following error: [2008-05-21 11:26:25,702] [http-0.0.0.0-8080-2] [ERROR] []

Remote div's and session expirations

2008-05-21 Thread Owen Berry
Just wondering what others do with regard to refreshing of remote div's and session expirations (requiring the user to re-authenticate). As an example, a page contains a tabbed panel, which contains remote div's that refresh on show. If a user chooses one of these tabs, but in the mean time their

RE: [S2] Advice on Handling CLOBs in Struts2 - Help with IllegalStateException

2008-05-21 Thread Hoying, Ken
I still cannot figure out why I am getting this error. However, if I do not use a stream result and use a result that returns a JSP then all works. Any help would be greatly apprecietd! Thanks, Ken -Original Message- From: Hoying, Ken [mailto:[EMAIL PROTECTED] Sent: Wednesday, May

Re: [S2] Advice on Handling CLOBs in Struts2

2008-05-21 Thread Laurie Harper
Since that's not a normal result of using a stream result, I have to assume you are doing something wrong. Without seeing the relevant code/configuration, though, we can't offer much help. L. Hoying, Ken wrote: I have tried to accomplish this by creating an action with a stream result type.

RE: Re: [S2] Advice on Handling CLOBs in Struts2

2008-05-21 Thread Hoying, Ken
Thank you for the response. Below is my config for the action. Please let me know what else I am missing. I am at a real loss. I would hate to have to create a JSP and place Java code in there to do the streaming or to stream directly in the action. I would really like to do it in keeping

RE: Re: [S2] Advice on Handling CLOBs in Struts2

2008-05-21 Thread Hoying, Ken
BTW.. I have tested the stream action by calling it directly by placing the url to action in the address window of my browser and it works perfectly then. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Wednesday, May 21, 2008 2:09 PM To:

RE: Re: [S2] Advice on Handling CLOBs in Struts2

2008-05-21 Thread Dave Newton
Does the s:action... take make an actual request? I guess I assumed it executed the action without making a full request, which could cause the error you're seeing, as the response would already have been written to by the time your stream result got ahold of it. Dave --- Hoying, Ken [EMAIL

Re: Spring autowiring null values

2008-05-21 Thread Ian Meikle
Hi Dave, I do not think this is a Sprin issue, I stated in my last mail that I though this was an issue with the pluing for Spring for Struts2. However it looks like this was not the case, after further investigation, it looks like it is the InstantiatingNullHandler that is causing the

Re: Spring autowiring null values

2008-05-21 Thread Dave Newton
--- Ian Meikle [EMAIL PROTECTED] wrote: I do not think this is a Sprin issue, I stated in my last mail that I though this was an issue with the pluing for Spring for Struts2. However it looks like this was not the case, after further investigation, it looks like it is the

Re: Why my emails are rejected as spam!!

2008-05-21 Thread Chase
Looking at your messages that are making it through you seem to be sending HTML messages and that is contributing to part of your SPAM score. Make sure your message format is plain text. Struts Two wrote: For any email that sent and is approximately 10 lines, my email is rejected as spam. I

RE: Re: [S2] Advice on Handling CLOBs in Struts2

2008-05-21 Thread Hoying, Ken
It appears to and that is my understanding. The examples show it as a way to include images that are built from an action. I tried to punt and stream the result by directly accessing a the response.getOutputStream() in the JSP and get the error: java.io.IOException: Stream closed at

RE: Re: [S2] Advice on Handling CLOBs in Struts2

2008-05-21 Thread Hoying, Ken
BTW: Both of the test cases (using the JSP and using the action) work fine when caling the action directly from the browser. They only fail when calling them using the s:action tag. Is there some kind of bug in this tag? I am using struts 2.0.11.1. Thanks, Ken -Original Message-

RE: Re: [S2] Advice on Handling CLOBs in Struts2

2008-05-21 Thread Dave Newton
--- Hoying, Ken [EMAIL PROTECTED] wrote: It appears to and that is my understanding. It appears to what, make a request? Where does it appear to do that? In the code it looks like it just creates an action proxy and calls execute on it. Without doing any real digging it looks like it uses the