RE: don't display anything

2012-04-14 Thread Oussama Jlassi
when i click the button when the textbox is empty it do not give error messagesame case when the textbox have one character here is my action class that i used  import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.ActionForm;

Re: don't display anything

2012-04-14 Thread Anjib
I didn't see any error in you code. I ran in my machine it works fine. You can test just a Login action and debug from there. On 4/14/2012 2:37 PM, Oussama Jlassi wrote: i use struts 1.3 in tomcat 6 every thing work fine but the html error do not display my error messages how to fix it logi

Re: Accessing Map of Map in struts 2.3.1.2

2012-04-14 Thread vEnkaTa mohAna rAo SriperumbUdUru
Put your project in development mode. struts.devMode = true and use tag, It will display the objects available in the current. This will confirms that whether you getting proper data are not. or append your url with http://localhost:8080/MyProject/IloveStruts2Action?debug=xml OGNL interactive c

Re: Accessing Map of Map in struts 2.3.1.2

2012-04-14 Thread Niral Trivedi
yes. i m accessing map. But I was just browsing struts site and found that article so wondering whether this could be related to my issue as this link also states that some OGNL security issue fixed. On Sat, Apr 14, 2012 at 3:51 PM, Dave Newton wrote: > No, that's related to static methods; I th

Re: Accessing Map of Map in struts 2.3.1.2

2012-04-14 Thread Dave Newton
No, that's related to static methods; I thought you were accessing a map. On Sat, Apr 14, 2012 at 3:49 PM, Niral Trivedi wrote: > I do not see anything in logs. > > Also, I find this link > > https://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html#Troubleshoot

Re: Accessing Map of Map in struts 2.3.1.2

2012-04-14 Thread Niral Trivedi
I do not see anything in logs. Also, I find this link https://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html#TroubleshootingguidemigratingfromStruts2.0.xto2.1.x-RefactorusageofstaticmethodsviaOGNL but in my case it's not a static method. and the internal link f

Re: Accessing Map of Map in struts 2.3.1.2

2012-04-14 Thread Łukasz Lenart
2012/4/14 Niral Trivedi : > Am I missing something here ? Is there a different way to access Map of Map > with latest version ? It can be a side effect of security changes to OGNL and Struts2, do you see anything unusual in logs ? Try to increase log level to Debug. Regards -- Łukasz http://www

don't display anything

2012-04-14 Thread Oussama Jlassi
i use struts 1.3 in tomcat 6 every thing work fine but the html error do not display my error messages how to fix it  login.jsp <%@ page language="java" pageEncoding="ISO-8859-1"%><%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html" %><%@ taglib uri="http://struts.apache.org/tags

Accessing Map of Map in struts 2.3.1.2

2012-04-14 Thread Niral Trivedi
Hi All, I have just now upgraded from Struts 2.0.11 to struts 2.3.1.2 version and running in to weird issue. Basically, I have Object having HashMap holding HashMap. Something like below : public class TestVO { private HashMap firstMap; //I've setter/getter in real code but o

Re: Jsession ID removal

2012-04-14 Thread kranthi reddy
Yes, the browsers through which I am accessing the site do allow cookies. This is what is confusing me, because from what I have read on the web says that If browsers don't allow cookies then jsessionids are appended. BTW, is the jsessionid added by struts or the my servlet container (tomcat in my

Re: Jsession ID removal

2012-04-14 Thread jlmagc
Checl if the brower allows cookies for the host Sent via BlackBerry from T-Mobile -Original Message- From: kranthi reddy Date: Sat, 14 Apr 2012 15:48:43 To: Struts Users Mailing List; Reply-To: "Struts Users Mailing List" Subject: Re: Jsession ID removal Yes it is set to none in "org/

Re: Jsession ID removal

2012-04-14 Thread kranthi reddy
Yes it is set to none in "org/apache/struts2/default.properties" file... 2012/4/14 Łukasz Lenart > Check if struts.url.includeParams = none > > > Regards > -- > Łukasz http://www.lenart.org.pl/ > mobile +48 606 323 122, office +27 11 0838747 > Warszawa JUG conference - Confitura http://confitura

Re: Jsession ID removal

2012-04-14 Thread Łukasz Lenart
Check if struts.url.includeParams = none Regards -- Łukasz http://www.lenart.org.pl/ mobile +48 606 323 122, office +27 11 0838747 Warszawa JUG conference - Confitura http://confitura.pl/ - To unsubscribe, e-mail: user-unsubscr