Hi,
i don't know if it will help but You can try same thing i did here [1]
i was trying to force pages not to being cached and it turned out not
to be trivial.
Still i don't know how it will behave with proxy.
[1]
http://poulwiel.blogspot.com/2009/01/browser-back-button-and-caching-problem.html
Sorry I forgot to mention
I am using Struts 2.1.8 SNAP SHOT with XWork 2.1.6
samething happens with XWork 2.1.5
On Wed, Sep 9, 2009 at 2:03 PM, Steven Yang wrote:
> Hi
> I have a bean like
> public class Account {
>
> private String type;
> private String name;
> private BigDecimal v
if you use name="file" in the tag, your variable names should be
"file", "fileFileName" and "fileContentType"
- Bill
On Wed, Sep 9, 2009 at 10:45 PM, KIRTI CHOPRA wrote:
>
> hi
> but does it make any difference it is just variable name if i am not wrong
> but i am not sure about it also
> pleas
hi
but does it make any difference it is just variable name if i am not wrong
but i am not sure about it also
please let me know if it makes any difference.
Thanks!!!
--
View this message in context:
http://www.nabble.com/uploading-a-.xls-file-tp25377242p25377629.html
Sent from the Struts - Use
are u getting anything from the uploadContent?
because i think i should be
File file
String fileContentType
String fileFileName
On Thu, Sep 10, 2009 at 12:50 PM, KIRTI CHOPRA wrote:
>
> hi all
> i am new to struts and trying to upload a file in struts 2.0
> i am using tag and have given simple
hi all
i am new to struts and trying to upload a file in struts 2.0
i am using tag and have given simple getter setters in action class
i am getting null value in file name pls help and let me know how i can do
it.
code is given below:
Action class
package com.neevtech.newsletter.action;
impor
Hi,
Sorry for my late reply. Yes I m setting the parent package property to the
default s2 package (not class package).
*struts.xml*
*s2-default.xml*
Even we am facing this problem with my application whe it runs on proxy
servers.
Apparently, this problem occurs only with a certain proxy server. There may
be rules defined on the proxy server but being an internet application we
have to live with it and find a solution.
The information that is s
By the way, Pawel, at that link some software seems to have severely butchered
your xml
in the struts.xml part.
Chris
-Original Message-
From: Dale Newfield
To: Struts Users Mailing List
Sent: Wed, Sep 9, 2009 12:41 pm
Subject: Re: Interceptor question
Paweł Wiel
Paweł Wielgus wrote:
Mike You can take a look at my post about this problem [1]
and read more about Spring Security (ACEGI).
[1] -
http://poulwiel.blogspot.com/2009/01/intercepting-all-actions-inside-my-app.html
I don't understand what your problem is. As you state, you can set the
intercep
Hi all,
Mike You can take a look at my post about this problem [1]
and read more about Spring Security (ACEGI).
[1] -
http://poulwiel.blogspot.com/2009/01/intercepting-all-actions-inside-my-app.html
Best greetings,
Paweł Wielgus.
2009/9/9 Dale Newfield :
> Mike Baranski wrote:
>>
>> If I run a
Mike Baranski wrote:
If I run an interceptor on an action, then redirect, is the same interceptor
run on the redirected-to action?
"then redirect" means that request is done, and the browser will be
submitting a new request. That new request gets processed according to
the action/interceptor
Wes Wannemacher wrote:
If the action you are redirecting to has the same interceptor-stack
(via package inheritance or interceptor configuration), then the
answer is 'yes'
So the answer is to not put this "force to password change page"
interceptor in the stack used for the password change pag
If the action you are redirecting to has the same interceptor-stack
(via package inheritance or interceptor configuration), then the
answer is 'yes'
-Wes
On Wed, Sep 9, 2009 at 12:12 PM, Mike Baranski
wrote:
> I have a question about an interceptor.
>
> If I run an interceptor on an action, then
I have a question about an interceptor.
If I run an interceptor on an action, then redirect, is the same interceptor
run on the redirected-to action?
I'm redirecting to a change password page if a password is over x days old,
so do I need to specify a different interceptor stack for the change
pa
In fact, the spring plugin contains an example of a custom
classloader. We have a classloader there that reloads classes, that
should give you some ideas.
musachy
On Wed, Sep 9, 2009 at 6:41 AM, Wes Wannemacher wrote:
> I don't know if I would override the class loader (did I suggest that
> earli
ok, thank you!!!
Dale Newfield wrote:
Mileidys Gonzalez Prieto wrote:
${relation.address[st.index].extraInfo}
This sets a value in a map that goes along with the valuestack.
value="%{value}" maxlength="20" size="15">
This is not how you fetch that value.
use %{#value} to get the val
Hi Dennis,
You are right! Thank you very much!
Gábor
I don't know if I would override the class loader (did I suggest that
earlier, if so, sorry :( ). I would take a look at overriding the
buildBean methods. Use your custom classloader to build the 'beans'
but do it in a way that tries your classloader first, then falls
through to the super class...
Hi,
The debug tag is "inspecting" the status of your action to build its
HTML output, which include knowing the value of test1, and thus calling
the corresponding getter.
Take out the debug tag, and everything should be back to normal.
Denis.
Gábor Kovács a écrit :
Hi everyone,
I'm confus
Why not have a base action that has the setters and getters (which extends
ActionSupport), put the methods in there, and have all your actions extend
that instead of ActionSupport.
Mike.
>-Original Message-
>From: Musachy Barroso [mailto:musa...@gmail.com]
>Sent: Tuesday, September 08, 20
Hi everyone,
I'm confused, because I don't understand this problem:
I've made a simple Struts2 project. Here are the codes (they're short)
ACTION CLASS
---
package test.action;
import com.opensymphony.xwork2.ActionSupport;
public class TestAction extends ActionSupport{
How do you create the url (seeing some code would help...), and which
version of S2? If you're using the url-tag, try setting the
includeParams attribute to "none".
http://struts.apache.org/2.1.6/docs/url.html
Nils-H
2009/9/9 Halil Ağın :
> Hello List;
>
> I have 2 urls as below
>
> /myapp/myac
Hello List;
I have 2 urls as below
/myapp/myaction1.action?p=3
/myapp/myacction2.action
i reqeust the first action with param as above. when first request completed
i click a button which request second action. but when second action is
requested, the parameter part is also passed to second acti
Hello, Wes!
Thank you for your quick help! I did exactly what you advised me, but
something still doesn't work. Here are my steps:
1) Created CustomObjectFactory which extends StrutsObjectFactory, with
only one method overriden - setClassLoader(). Inside this method I
simply pass my custom classloa
Hello There,
Can someone tell me if it's possible to code dynamic trees making some
actions load their result accordingly with Struts 1.3 ? I've seen many
threads related to Dojo integration into Struts2 but I need to work with
Struts 1.3, are there any tutorials for such requirement?
Thanks in
Hi,
I Never used trees before, so...
I would like to have a ROOT with x sons ( no grandsons at all )
How can I create this?
I thought that doing
children.add(node)
will not create a son but a brother.
I have this, but this is creating a ROOT, a son, a grandson,
grand-grandson, etc (4 generations
27 matches
Mail list logo