Attribute name in tag param cannot be dynamic in struts 2.0.11
In tld of 2.0.11: param org.apache.struts2.views.jsp.ParamTag JSP name false false In tld of 2.0.9: param org.apache.struts2.views.jsp.ParamTag JSP name false true Is the change made this way intentionally? Jps pages working under 2.0.9 have to be changed before being imported to 2.0.11. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: SEVERE: Error filterStart
BTW, struts 2.0.9 is used. -Original Message- From: Xibin Liu Sent: Wednesday, January 02, 2008 2:05 PM To: 'Struts Users Mailing List' Subject: RE: SEVERE: Error filterStart Does not work (in struts.xml): But works if the package in map.xml is copy to struts.xml: Any idea? -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, December 20, 2007 4:47 PM To: Struts Users Mailing List Subject: Re: SEVERE: Error filterStart --- Xibin Liu <[EMAIL PROTECTED]> wrote: > By playing with the filters in web.xml, I identified that the > following filter causes the error. > > struts2 > > org.apache.struts2.dispatcher.FilterDispatcher > > > > struts2 > /* > > > Any idea? Not without more information. Is your struts.xml configured correctly? Are all the required libraries in your webapp's classpath? d. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: SEVERE: Error filterStart
Does not work (in struts.xml): But works if the package in map.xml is copy to struts.xml: Any idea? -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, December 20, 2007 4:47 PM To: Struts Users Mailing List Subject: Re: SEVERE: Error filterStart --- Xibin Liu <[EMAIL PROTECTED]> wrote: > By playing with the filters in web.xml, I identified that the > following filter causes the error. > > struts2 > > org.apache.struts2.dispatcher.FilterDispatcher > > > > struts2 > /* > > > Any idea? Not without more information. Is your struts.xml configured correctly? Are all the required libraries in your webapp's classpath? d. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SEVERE: Error filterStart
I am deploying a struts2 application over tomcat 5.5 and get the following error: Dec 20, 2007 4:10:06 PM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Dec 20, 2007 4:10:06 PM org.apache.catalina.core.StandardContext start SEVERE: Context [/RPGIS] startup failed due to previous errors By playing with the filters in web.xml, I identified that the following filter causes the error. struts2 org.apache.struts2.dispatcher.FilterDispatcher struts2 /* Any idea? Thanks! Xibin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: accessing System.getProperty from JSP
Do you mean this? <%=System.getProperty("java.io.tmpdir")%> -Original Message- From: Giovanni Azua [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 09, 2007 12:51 PM To: Struts Users Mailing List Subject: OT: accessing System.getProperty from JSP hi, the following in a JSP does not generate anything ... any advice on the way to do it using S2? Well I could just export it as an additional Action property but it is not very elegant. <% System.getProperty("java.io.tmpdir"); %> TIA, regards, Giovanni - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Struts 2] Read request attribute in struts.xml
I created a property for the attribute, then reference it by $propName, and it works. Thanks Dave! Also thanks Jim for pointing me to the struts 2 cookbook. That is a great resource! -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Monday, September 24, 2007 11:08 AM To: Struts Users Mailing List Subject: Re: [Struts 2] Read request attribute in struts.xml Xibin Liu wrote: > Hi, I set an attribute in the request in the action code, and I want > to use it in the struts.xml (see below). How can I reference it at the > place marked by > ***? > > > > > *** > true > > (Ugh, mixed tabs and spaces :p Tabs are bad enough! ;) > I tried #request.attname, it did not work. Did you try $request.attname or $parameters.attname? The EL here is OGNL, but confusingly uses a "$" instead of an "%". Is there a particular reason you're putting it in the request instead of making it an Action property? If it's a property referencing it with $propName is known to work. d. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Struts 2] Read request attribute in struts.xml
Hi, I set an attribute in the request in the action code, and I want to use it in the struts.xml (see below). How can I reference it at the place marked by ***? *** true I tried #request.attname, it did not work. Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to accomplish Html:link in struts 2
I mean implementing the forward in the html:link tag too. It would be nice if you can give me an example for that. Thanks -Original Message- From: Kun Niu [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 18, 2007 11:33 AM To: Struts Users Mailing List Subject: Re: How to accomplish Html:link in struts 2 s:url and s:a ? 2007/9/18, Xibin Liu <[EMAIL PROTECTED]>: > > What is the equivalent tag in struts 2.0 for the following struts 1 tag? > > key="help"/> > > I know s:text will replace bean:message, but what about html:link ? > > > Thanks > -- 失业 牛坤 MSN:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to accomplish Html:link in struts 2
What is the equivalent tag in struts 2.0 for the following struts 1 tag? I know s:text will replace bean:message, but what about html:link ? Thanks
Tags mapping between Struts 1 and Struts 2
Good morning Everyone, I am trying to find out the tags in struts 2 that are equivalent to html, bean and logic in struts 1. And seems there is no clue. No document either. It would be appreciated if someone who knows the mapping can share with us on this. Ex: Struts 1: Struts 2: Thanks in advance, Xibin