Re: What may cause ognl.InappropriateExpressionException warning ?

2009-11-23 Thread Oscar
As Musachy says, you could ignore it in the params interceptor in this way: d-\d+?-[sop] Musachy Barroso escribió: try adding quotes around it 'd-6836677-p' then it will be interpreted as a string, or try to ignore it in the params int

Re: What may cause ognl.InappropriateExpressionException warning ?

2009-11-23 Thread Musachy Barroso
try adding quotes around it 'd-6836677-p' then it will be interpreted as a string, or try to ignore it in the params interceptor. On Mon, Nov 23, 2009 at 8:27 AM, jsubei wrote: > > Dear all, > > I'm using struts 2.1.8 with displaytag 1.2 > and, of course, I have the same problem. > > Have you fou

action called twice in IE 8 when using different ajax submit for the same form

2009-11-23 Thread fireapple
Here is the form from my jsp page: 1. 2. 3. 4. 5. 6. 7. 8. When using firefox, it works fine. When using internet explorer, the form is submitted twice for the same action. Example: if the user clicks "Release", public String release

Re: What may cause ognl.InappropriateExpressionException warning ?

2009-11-23 Thread jsubei
Dear all, I'm using struts 2.1.8 with displaytag 1.2 and, of course, I have the same problem. Have you found a solution ? Thank you, Norbert jctovarueda wrote: > > Lu Ying, > > I could detect the problem, it's apparently a bug from Struts 2 (XWorks). > > It seems to be that OGNL Utils s

Re: Problem using tag

2009-11-23 Thread Greg Lindholm
Check the doc for property *struts.url.includeParams* for the version of struts you are using. You may want to change it's value to none. On Sat, Nov 21, 2009 at 12:48 AM, shekher awasthi wrote: > Hi Friends, > > I am using the url tag as follows: > > > > LocalInvoice > > > > Local Invoi

RE: How to get the host name if proxy is configured

2009-11-23 Thread Muthu Velappan
Yes, what Robert said is perfect, you can't get the remote host name. If you so critical about that client information then you can some Geographic location software's like this to find that out http://www.ip2location.com/. In one of our POC, we used this to identify the country where our user i

Re: How to get the host name if proxy is configured

2009-11-23 Thread Robert Graf-Waczenski
Mageshwaran schrieb: Hi All, In my application, am using request.getRemoteHost() to get the host name where the client is running. But it is returning the proxy address if configured instead of host address/ host name. Can any one help me to solve this issue? Thanks in Advance, Magesh. -

How to get the host name if proxy is configured

2009-11-23 Thread Mageshwaran
Hi All, In my application, am using request.getRemoteHost() to get the host name where the client is running. But it is returning the proxy address if configured instead of host address/ host name. Can any one help me to solve this issue? Thanks in Advance, Magesh. ---

Re: struts.i18n.encoding

2009-11-23 Thread Saeed Iqbal
I'm glad you found your solution :) On Mon, Nov 23, 2009 at 1:38 PM, carl ballantyne < carl.ballant...@cast-info.es> wrote: > I ended up figuring out the real problem in the end. (Hope this helps > anyone faced with the same situation) > > Firstly I was blaming Struts2 when it was actually innoce

Re: struts.i18n.encoding

2009-11-23 Thread carl ballantyne
I ended up figuring out the real problem in the end. (Hope this helps anyone faced with the same situation) Firstly I was blaming Struts2 when it was actually innocent. When I created the test JSP I did not see that Eclipse had added automatically the tag <%@ page language="java" contentTyp