Re: Specifying a target while using the tag

2009-01-15 Thread Wes Wannemacher
On Fri, 2009-01-16 at 10:32 +0530, Rajeshwari Godbole wrote: [snip] > > Here is a snippet of my code in the jsp: > > > > > > > > > > > View Chart > href=" action='chartView'> /> />" > target="contentFrame">View Chart2 > > > fram

Specifying a target while using the tag

2009-01-15 Thread Rajeshwari Godbole
Hello all, I'm trying to display the results of clicking on a link within an iframe on the same page. I'm using the s:a tag referencing an s:url tag to create the link (as I need to pass parameters from the previous page's forms to the link's action). Currently, it displays the resulting page (tha

Struts 2 override FileUploadInterceptor

2009-01-15 Thread kate_cl
Whenever I upload file with size more than 2MB, it will result on HTTP 500 error page. I found out that Struts 2 default maximum size for file upload is 2MB.So i set the struts.multipart.maxSize to the maximum size that i want..and also define this in my stack 5242880 it works in setting

Re: Struts 2.1.6 and JSON plugin

2009-01-15 Thread Owen Berry
Thanks! On Thu, Jan 15, 2009 at 4:33 PM, Musachy Barroso wrote: > It should be up now. > > musachy > > On Thu, Jan 15, 2009 at 4:24 PM, Owen Berry wrote: >> I'm trying out 2.1.6 because a bug that's affecting my code has been >> fixed. However, now the JSON plugin is no longer working. I see tha

Re: Struts 2.1.6 and JSON plugin

2009-01-15 Thread Musachy Barroso
It should be up now. musachy On Thu, Jan 15, 2009 at 4:24 PM, Owen Berry wrote: > I'm trying out 2.1.6 because a bug that's affecting my code has been > fixed. However, now the JSON plugin is no longer working. I see that a > new version of the plugin was released recently, but has not made it >

Struts 2.1.6 and JSON plugin

2009-01-15 Thread Owen Berry
I'm trying out 2.1.6 because a bug that's affecting my code has been fixed. However, now the JSON plugin is no longer working. I see that a new version of the plugin was released recently, but has not made it into the Maven repository. If someone who is able to get it into the Maven repository sees

Re: NPE initializing 2.1.6 showcase in Tomcat 6.0.18

2009-01-15 Thread Lukasz Lenart
JDK 1.6_11 Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: NPE initializing 2.1.6 showcase in Tomcat 6.0.18

2009-01-15 Thread Lukasz Lenart
I made the same setup, no problems. Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Upgrading Struts from 1 to 2.0.14

2009-01-15 Thread stanlick
Wes Obama -- You will make a fine Struts Czar once your publication is released. Please consider me for a cabinet position -- Newton can be my driver. Peace, Scott Struts 1 is well-supported, and saw a new release just about a month ago. So, it is supported and maintained. Struts 2 is a rew

RE: s:a tag

2009-01-15 Thread Biesbrock, Kevin
>> AFAIK JavaScript can't handle renaming a url without communicating it >> to the server. >I'm not sure what you mean by that--JavaScript can do whatever it wants to an anchor tag in the DOM; that has nothing to do with the server side. I'm >obviously missing something ;) >Dave Sorry. I was

Re: How to exclude from Struts maillist

2009-01-15 Thread David Canos
user-unsubscr...@struts.apache.org 2009/1/15 Dani > Hi, > > I need to exclude this mail account from Struts maillist because I need > this mail account for another porpouses. > Can anyone tell me the steps to exclude from it? > > Thanks in advance

Re: How to exclude from Struts maillist

2009-01-15 Thread Dave Newton
Dani wrote: I need to exclude this mail account from Struts maillist because I need this mail account for another porpouses. Can anyone tell me the steps to exclude from it? Unsubscribe? > - > To unsubscribe, e-mail: user-uns

How to exclude from Struts maillist

2009-01-15 Thread Dani
Hi, I need to exclude this mail account from Struts maillist because I need this mail account for another porpouses. Can anyone tell me the steps to exclude from it? Thanks in advance

Re: NPE initializing 2.1.6 showcase in Tomcat 6.0.18

2009-01-15 Thread Musachy Barroso
It works for me, but I see how that could happen, if (file != null) { lastModified = file.lastModified(); files.put(fileName, new FileRevision(file, lastModified)); } else { // Never expire a non-file resource files.put(fileName, new FileRevision()); } in the else case,

Re: [ANNOUNCE] Struts 2.1.6 GA Release

2009-01-15 Thread hernan gonzalez
Thats fixed Another related issue: The releases notes for 2.1.6 has a (correct) link to "releases notes for previous - 2.1.5" , and so on. This seems to be the only (is it?) way of look at the changes from 2.0. Besides being a little involved (I believe the changes from 2.0.x should be more visibl

Re: [S2] How to get rid of "WARNING: No configuration found for the specified action:"?

2009-01-15 Thread Robert Graf-Waczenski
Hi Paweł, thanks for pointing this out. This was actually left over from my experiments with early betas of S2 (and with myself getting acquainted with it), i added it because i was under the delusion that i would be able to plainly redirect to a JSP and was hoping to somehow gain access to t

NPE initializing 2.1.6 showcase in Tomcat 6.0.18

2009-01-15 Thread Giovanni Azua
Hi, I have just freshly installed Tomcat 6.0.18 and the newest Struts 2.1.6 showcase but starting the context fails with NPE :( Best regards, Giovanni java.lang.NullPointerException at com.opensymphony.xwork2.util.FileManager$FileRevision.needsReloading(FileMan ager.java:209) at

Re: [S2] How to get rid of "WARNING: No configuration found for the specified action:"?

2009-01-15 Thread Paweł Wielgus
Hi, just as a side note, consider index.jsp in S1 and S2 root, then which app will process it? If i were You i would remove *.jsp from filter and leave only *.action It would eventualy lead to no direct jsp access - which is ok i guess. Best greetings, Paweł Wielgus. 2009/1/15 Robert Graf-Waczens

Re: [S2] How to get rid of "WARNING: No configuration found for the specified action:"?

2009-01-15 Thread Robert Graf-Waczenski
Hi Paweł, yes, that did the trick! Using namespace="/my/package" action="myAction_showPage1.action" does not trigger the warning anymore. Thanks! [About my filter mapping: This is needed because i'm working on the first small actions and pages with Struts2 in a huge application which is oth

Re: Christmas Riddle

2009-01-15 Thread Dirk Forchel
It's magic. I reckon there was another problem or misspelling. Following your first advice again I put the following lines in my web.xml and all works well: struts /* REQUEST FORWARD By default only requests are allowed but no forwards! That's it. Nils-H

Re: [S2] Result Type Dispatch problem with relative Action calls

2009-01-15 Thread Dirk Forchel
Thank you for your post and for your possible solutions. But I found another way for using forwards to action. Just put the following lines in your web.xml and all works well: struts /* REQUEST FORWARD By default only requests are allowed but no forwards! du

Re: [S2] How to get rid of "WARNING: No configuration found for the specified action:"?

2009-01-15 Thread Paweł Wielgus
Hi, i'm not a pro user in this matter but when i configured my last app with: struts2 /* without modifying struts.action.extension key in struts.properties it works as expected (no extension maps to an action, also *.action is ok). So the question is do You really need *.jsp and

Re: [S2] How to get rid of "WARNING: No configuration found for the specified action:"?

2009-01-15 Thread Robert Graf-Waczenski
Yes, that's what the documentation says but in my setup here it simply does not work. If i write the s:form tag as you suggest, then the form action property has the value "/context/my/package/myAction_showPage1", i.e. lacks the ".action" extension and so, when the form is submitted, i get a 40

Re: REST plugin and id params with dot's causes 404 not found

2009-01-15 Thread Alex Milanovic
I tried adding .json but it didn't work. Suppose your app puts a user name in the ID field, the app has to prohibit user names with dots. This makes me wonder what other characters cannot appear in a resource ID? Could people working on the REST plugin specify what characters can appear in an ID?

Re: [S2] How to get rid of "WARNING: No configuration found for the specified action:"?

2009-01-15 Thread Paweł Wielgus
Hi Robert, shouldn't it be: ? Best greetings, Paweł Wielgus. 2009/1/15 Robert Graf-Waczenski : > Hi all, > > i'm using S2 since a while now (started with 2.0 betas and using 2.1.6 GA > currently) and one of the issues that i'm still having is that even though > my struts.xml is configured proper

Re: [S2] How to get rid of "WARNING: No configuration found for the specified action:"?

2009-01-15 Thread Christian Priebe
Hey, it's just an ace (?), but shouldn't you omit the *.action file extension in the action-attribute. Struts2 will fill in the extension configured in your struts.properties automatically. Try something like this: Perhaps, that helps. (Can't test it now) Christian Robert Graf-Waczenski

[S2] How to get rid of "WARNING: No configuration found for the specified action:"?

2009-01-15 Thread Robert Graf-Waczenski
Hi all, i'm using S2 since a while now (started with 2.0 betas and using 2.1.6 GA currently) and one of the issues that i'm still having is that even though my struts.xml is configured properly (meaning that all the intended action methods are called as i want them to be called), i'm still se