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
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
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
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
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
>
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
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
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
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
>> 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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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?
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
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
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
27 matches
Mail list logo