ution, only going back to XML.
- Original message -
From: "Thilo Ettelt" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Date: Tue, 4 Dec 2007 13:01:15 +0100
Subject: [s2] Different Annotated Validations for different action
methods
Hey all,
I'm trying to
ddition to the wrong
username and password.
So how can I separate the two validatio annotations without needing
separate classes?
- Thilo
--
Mit freundlichen Grüßen,
Thilo Ettelt Telefon: +49-421-6265-111
Carmunity.com GmbHTelefax: +49-421-6265-100
Mary-Astell-Strasse 2
lo
--
Mit freundlichen Grüßen,
Thilo Ettelt Telefon: +49-421-6265-111
Carmunity.com GmbHTelefax: +49-421-6265-100
Mary-Astell-Strasse 2 E-Mail: [EMAIL PROTECTED]
28359 Bremen http://www.carmunity.de/
Developer (YourVids)
Handelsregisternummer: HRB 19256 beim
I think you have to tell your container to watch certain resources.
("WatchedResource" in Tomcat;
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html for example)
- Thilo
slideharmony wrote:
I need to know how can I set autoreload of struts.xml in struts2, without
restarting the cont
urn* result;
}
// RequestDispatcher
requestDispatcher=getServletContext().getRequestDispatcher("/test.jsp");
//requestDispatcher.forward(request,response);
}
*catch*(Exception e){
e.printStackTrace();
}
*return* result;
On 11/16/07, Thilo Ettelt <[EMAIL PROTECTED]> w
:
- Thilo
vijay vijay wrote:
Hi can u give me some sample code to me
On 11/16/07, Thilo Ettelt <[EMAIL PROTECTED]> wrote:
Access the ValueStack in your action, it allows you to store objects and
you can retrieve them from your jsp. You might need to know about the
ActionContext o
You can expose a property or bean to the JSP Expression language
(${myPropertyOrBean}) by using s:set taglib.
- Thilo
slideharmony wrote:
ok, but I read somewhere that I can do that without setting a property User
in my action, using the action stack, or something like this, I believed
that l
Hello DharmaRao,
take a look at the s:iterator and s:subset Tag.
They allow you to iterate over a list for example and also take subsets
out of it.
http://struts.apache.org/2.0.11/docs/tag-reference.html
- Thilo
[EMAIL PROTECTED] wrote:
HI
I am not able to find out pagination using Struts2
Access the ValueStack in your action, it allows you to store objects and
you can retrieve them from your jsp. You might need to know about the
ActionContext object accessable from your action.
Read more from the docs :)
- Thilo
vijay vijay wrote:
Hi
i am writting a database connectio
ervlet specific stuff.
Does it make sense to be servlet independent in this case anyway?
- Thilo
Gary Affonso wrote:
Thilo Ettelt wrote:
Yes, I know :) But I don't want to depend on HttpServletRequest. I
would like to have the Request*Map*. Unfortunetely from looking at
the code I o
letRequest)
ac.get(ServletActionContext.HTTP_REQUEST);
- Omkar
Thilo Ettelt wrote:
Hey,
somehow I can't find a way to access the RequestMap from within an
Interceptor. What is the right way?
- Thilo
-
To unsubscribe,
Hey,
somehow I can't find a way to access the RequestMap from within an
Interceptor. What is the right way?
- Thilo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have noticed that it doesn't seem to be possible to construct a
wildcard action using s:url, is that correct? Or am I doing something wrong?
The corresponding action would be mapped like "content/*/view".
This will output an URL like "/content/'+someID+'/view'", instead of
"/content/100/view
Ok, how embarassing. Struts 1 got me trapped in this one, thus I
considered that I'd have to pass the same action name as specified in
the action mappings. Which is stupid of me because now it's Struts 2
and now it's Wildcards. ;)
Using:
solved my problem easily...
- Thil
Hello,
I'm new to this list. I've learned a lot from the Confluence, but I
couldn't figure out how to reassemble an wildcard action mapping using
the s:url.
I figured that when there is an wildcard action and it can put parts of
the request uri into my action bean or result string, then how ca
15 matches
Mail list logo