RE: [S2] ActionMessages and redirects

2007-06-03 Thread Al Sutton
Hi Gunnar, I've been through the same thing, so I can help you out :). If your actions extend com.opensymphony.xwork2.ActionSupport you can then call the method; addActionMessage("string") Or addActionError("string"); Please note, "string" is the literal message, not a key into a properties f

ObjectFactory.getObjectFactory() returns null

2007-06-03 Thread Strut_developer
Hi All, I have migratred my ww2 application to struts. But at time of server startup(jboss) when one of the my startup activity requires to use object factory it returns null. Is there any configuration required for that? -- View this message in context: http://www.nabble.com/ObjectFactory.getO

[S2] ActionMessages and redirects

2007-06-03 Thread Gunnar Hillert
Hi, Still learning but I am really going to like Struts 2. An area where I find it a bit lacking though (Compared to Struts 1) is the support for action messages to survive redirects. I really like to follow the ‘Post/Redirect/Get pattern’ for most of my actions. (See also http://www.theserver

Re: Exception processing Jsp page in my struts application.

2007-06-03 Thread vikas rao
Yes I am running on tomcat, and this message is being generated on the console window there: Jun 3,2007 10:12:18 PM org.apache.struts.util.PropertyMessageResourcesloadLocale WARNING: Resource org/apache/struts/taglib/html/LocalStrings_en.properties Not Found I am using apache-tomcat-6.0.10. My

RE: [S2] Struts2, JDK 1.4, retrotranslator

2007-06-03 Thread Jason Wyatt
Thanks Taras. I ran retrotranslator on each of the struts2 jars one-by-one, as they each showed the same kind of version issue. Makes sense as they are all compiled for JDK 1.5. S2 now seems to be running OK on Oracle App Server 10R2. I only needed to covert the struts2-*.jar files. Regards J

Re: NullPointerException with Struts and Struts2 plus Sitemesh

2007-06-03 Thread Dave Newton
--- panpan <[EMAIL PROTECTED]> wrote: > Don't understand this one. *Please* just say whether or not the page you're serving is being served through S1 or S2. > If you see the below struts JIRA link: > > http://issues.apache.org/struts/browse/WW-1388 > > It has the almost same exception as mine.

Re: Exception processing Jsp page in my struts application.

2007-06-03 Thread Frank W. Zammetti
I don't have much day-to-day experience with JSF, so I couldn't say Martin. Frank Martin Gainty wrote: Frank-- so for the example of action="/search" following the example of "/greeting.jsp" <%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %> /greeting.jsp success /r

Re: Exception processing Jsp page in my struts application.

2007-06-03 Thread Martin Gainty
Frank-- so for the example of action="/search" following the example of "/greeting.jsp" <%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %> /greeting.jsp success /response.jsp Does this look ok? M-- This email message and any files transmitted with it contain con

Re: Exception processing Jsp page in my struts application.

2007-06-03 Thread Frank W. Zammetti
I'm guessing your running on Tomcat? If so, can you look for the stack trace that should accompany this in localhost_log.*... that should give you more of a clue what's going on (I don't see anything obvious wrong, but with just the snippet and no stack trace it's tough to tell)... even if you

Exception processing Jsp page in my struts application.

2007-06-03 Thread vikas rao
This is the errror: org.apache.jasper.JasperException: An exception occurred processing JSP page /search.jsp at line 17 14: 15: 16: 17: 18: 19: 20: Nothing seems wrong with my line 17!! and my html tag is declared properly.. and in my struts-config.xml: Wondering what is wrong!!?? Th

Re: Exception-tag bean:size must be empty, but is not

2007-06-03 Thread vikas rao
Yes! Thank you! I feel pretty stupid now, but i guess sometimes we all cant see the obvious... Vikas. On 6/3/07, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 6/2/07, vikas rao <[EMAIL PROTECTED]> wrote: > > I get this error: > org.apache.jasper.JasperException: /search.jsp(36,0) According to