My mistake ...
I should have had Spring security filter before struts2 and not the other
way.
zsundeep wrote:
>
> I am able to upload files in struts2 (2.1.6) only when I remove the spring
> security filter in web.xml. When I use the spring security filter, I get a
> null object in File inside
Have couple of submit buttons in my JSP
All of them have the property as "method".
When I try to set the focus for the html:form. how do I set to the focus to a
certain submit button.
I tried the above. we;ll it did not work. How to do this? your help is
appreciated.
I am able to upload files in struts2 (2.1.6) only when I remove the spring
security filter in web.xml. When I use the spring security filter, I get a
null object in File inside action class. That is the line
"testFile.length()" in sample code provided below, throws null-pointer
exception.
I am us
Sameer-
which interceptor
produced the null fileUpload?
or is it both in combination?
does the error occur for all uploaded image types when these 2 interceptors are
configured in
image/jpeg,image/gif,image/png,image/bmp,image.jpg
?
Martin
__
V
try changing the browser, Chrome and Safari works bad with some content-type
2009/9/28 hisameer
>
> Hi Dave,
>
> Thanks for pointing out the typo in the code. The issue was not that. After
> scratching my head off for a week the issue was in the code:
>
>
>
> image/jpeg
Hi Dave,
Thanks for pointing out the typo in the code. The issue was not that. After
scratching my head off for a week the issue was in the code:
image/jpeg,image/gif,image/png,image/bmp,image.jpg
You want to look at wildcards:
http://struts.apache.org/2.x/docs/wildcard-mappings.html
That feature that Alex is refering to (coined advanced wildcards for
lack of imagination), is in trunk and has not been released yet.
musachy
On Mon, Sep 28, 2009 at 5:57 AM, Alex Siman wrote:
>
> Look here
On Sun, Sep 27, 2009 at 11:12 PM, David C. Hicks wrote:
> I've added the snapshot repository to my pom.xml, but I'm still unable
> to get the 2.1.8 snapshot release. I have found a message about 2.1.8 being
> available there dated 9/22/09, however. Is there something else I
> should or should no
Keep an eye out ;)
-Wes
On Mon, Sep 28, 2009 at 9:08 AM, Greg Lindholm wrote:
> On Mon, Sep 28, 2009 at 12:59 AM, Lukasz Lenart <
> lukasz.len...@googlemail.com> wrote:
>
>>
>> At least, 2.1.8 was released and it's the latest GA version.
>>
>>
> I've never seen an announcement that 2.1.8 has bee
On Mon, Sep 28, 2009 at 12:59 AM, Lukasz Lenart <
lukasz.len...@googlemail.com> wrote:
>
> At least, 2.1.8 was released and it's the latest GA version.
>
>
I've never seen an announcement that 2.1.8 has been released and GA. Did I
miss this?
2.1.8 is here:
http://people.apache.org/builds/struts/2.1.8/
gustavo-49 wrote:
>
> I even tried to go to the listing from the mirrors and there are no 2.1.7
> or 2.1.8 there:
>
--
View this message in context:
http://www.nabble.com/Problem-with-available-Strus2-Releases-tp25634547p25645166.h
Look here:
http://www.nabble.com/parameters-in-url-td25602877.html
Restful plugin is not so good as it supposed to be.
struts-restful wrote:
>
> Does anyone know how to get the restful web service to call a method
> different to show or edit.
>
> For example I have the following url
>
> http
Solved: just have a look on
http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html
I wish I new such a file existed, it doesn't seem to be often refered to on
google. I stumble upon it while looking for somethig else.
It states:
Filter Mapping, default Action
Does anyone know how to get the restful web service to call a method
different to show or edit.
For example I have the following url
http://localhost:8080/testeg/my/example/example-count/1/count.xml
I want this to call the method count in my ExampleCountController. The URl
goes to the action a
as many, I'm facing this damned error.
numerous post about this haven't been ale to solve my problem.
I have been trying to migrate from 2.0.14 to 2.1.x in the past, but hard to
revert to original version because of this.
The application still works if I specify the welcome-file manually in the
15 matches
Mail list logo