Hi
If I have an Exception configured to a Result and a Result to a JSP is it
possible to get the Exception object from the JSP page?
Regards,
Néstor Boscán
Brian,
I guess you are using Spring 2.x.
I think you have to use scope="prototype" (or scope="session" if you
need it) instead of singleton="false".
Joachim
I have read through the spring plugin wiki page
http://struts.apache.org/2.0.11/docs/spring-plugin.html for struts2.
I want my actions
i have a form select.. my problem is i dont know how can i get the selected
values in the form select box.
here is my code..
it has multiple set to true..so it should return something like a list or
array..but if i try to
retrieved it using this code..
List selectedModules =getSel
Hi,
I want to bypass FilterDispatcher for specific request.
Actually i use uploadFilter and here whenever i submit file upload reqeust
first time
the inputStream of the given request is consumed first time might be by
filterDipatcher
so first time i can not upload file.
so can any body tell me the
Hi ,
I have just started on struts 2.There seems to codebehind plugin for REST
for struts.
Basically i am trying to create a service say /servers/
Now i want to implement REST GET requests to servers/app1.,servers/app2
where app1,app2 are server names for which again i need to access other
[EMAIL PROTECTED] wrote:
If the "varHoldingKey" is a key, it works fine. However, it is not a key
itself. It is an action property holding the key.
So, have you tried ?
-Dale
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
Hi!,
> I guess Im not understanding why you don't want to use
> redirect-action-result?
Because I want use as a first-web-page tiles page. And as far as I
know I can achive this only with
tiles.index
so I want to redirect from index.jsp to actionName.action. How can I
use redirect-acti
how should i get its value..i'm really new to this please help me..
should it be this way..
List selectedmod = getSelectedModules();
System.out.print("Selected " +selectedmod.get(0));
thanks again
xniit2003 wrote:
>
> It should be a list.
> I guess your "selectedModules" in the name attribu
Thanks Dave.
I wanted to do it either in the bean class or in the view page but now it
seems I have to deal with that in the action class.
Thanks again.
On Jan 6, 2008 3:42 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> Get the text in the action.
>
> You should be able to call a method inside ge
Hey All-
I'm developing an application using the ModelDriven approach. On of my
forms is a grid style data entry page and I'm having a difficult time
getting validation to work. I used the approach specified by Patrick
Lightbody (http://struts.apache.org/2.0.11/docs/type-conversion.html) for
ha
Get the text in the action.
You should be able to call a method inside getText, though.
--- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Thanks Dave and Dale.
>
> If the "varHoldingKey" is a key, it works fine. However, it is not a key
> itself. It is an action property holding the key.
>
Thanks Dave and Dale.
If the "varHoldingKey" is a key, it works fine. However, it is not a key
itself. It is an action property holding the key.
Suppose the key is "confirm.title" so varHoldingKey's value is the "
confirm.title" string. In the view, will
display "confirm.title".
doesn't show t
Hi Martin
Thanks for the reply
Yes, I need to access a Spring Context object from the Interceptor. So I
basically have 2 options, I can inject them in some way in the interceptor
which I haven't found a way, or I can access the WebApplicationContext from
the init method but I need the ServletCo
Oops.
AFAIK S2 doesn't have an equivalent tag.
Can't you just use a scriptlet? It's only one file. Or use JSTL.
d.
--- Marcin Pietraszek <[EMAIL PROTECTED]> wrote:
> Hi,
>
> > http://struts.apache.org/2.0.11/docs/redirect-action-result.html
> > the struts2.x prescribed algorithm is to use a r
AFAIK there is no tag for this.
Can't you just use a scriptlet? It's only in one file.
d.
--- Marcin Pietraszek <[EMAIL PROTECTED]> wrote:
> Hi,
>
> > http://struts.apache.org/2.0.11/docs/redirect-action-result.html
> > the struts2.x prescribed algorithm is to use a redirect-action
> > is ther
Hi,
> http://struts.apache.org/2.0.11/docs/redirect-action-result.html
> the struts2.x prescribed algorithm is to use a redirect-action
> is there something specific in your webapp to prevent you from using
> redirect-action?
Maybe this could be named "specyfic".. I want to redirect to action X
[EMAIL PROTECTED] wrote:
Using
--- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Using
Hi all,
I have an action property holding a key in a properties file. In the view
page, I like to display the value of the key. Since struts tags only accept
plain text as attribute values, I can only render the key in the view like
this:
Using
Hi, how do I override the default value for the escape attribute
of ? I want to set it to false, as was the case in
WebWorks.
Thanks,
Claes
--
View this message in context:
http://www.nabble.com/-S2--Overriding-%3Cs%3Aproperty-escape%3D%22true%22%3E-default--tp14650078p14650078.html
Sent from t
Hi,
as in subject. Is there in Struts2 tag which have the same behavior as
from Struts1? If no, how I can achive simillar effect
with S2 tags?
--
greetings! kbl/Cinek/greengoo
marcin.pietraszek.pl
-
To unsubscribe, e-mail: [EMA
Hello,
I'm completely stuck with following problem:
I have a form with one input type='file' field and one hidden input which
named documentId.
Normally when user uploads a file, value from hidden input passed into my
action property named documentId, so prepare() method retrieves some data
fro
22 matches
Mail list logo