Re: [s2] Different Annotated Validations for different action methods

2007-12-04 Thread Thilo Ettelt
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

[s2] Different Annotated Validations for different action methods

2007-12-04 Thread Thilo Ettelt
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

Easy way to obtain an action's full url?

2007-11-30 Thread Thilo Ettelt
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

Re: how can I set autoreload of struts.xml in struts2

2007-11-16 Thread Thilo Ettelt
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

Re: how can i get my servlet result to jsp page

2007-11-16 Thread Thilo Ettelt
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

Re: how can i get my servlet result to jsp page

2007-11-16 Thread Thilo Ettelt
: - 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

Re: access to bean property in struts2

2007-11-16 Thread Thilo Ettelt
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

Re: help - pagination using struts2

2007-11-16 Thread Thilo Ettelt
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

Re: how can i get my servlet result to jsp page

2007-11-16 Thread Thilo Ettelt
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

Re: [s2] How can I access the RequestMap from an Interceptor?

2007-11-15 Thread Thilo Ettelt
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

Re: [s2] How can I access the RequestMap from an Interceptor?

2007-11-14 Thread Thilo Ettelt
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,

[s2] How can I access the RequestMap from an Interceptor?

2007-11-14 Thread Thilo Ettelt
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]

[s2] s:url and wildcards

2007-11-13 Thread Thilo Ettelt
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

Re: [S.2.1] Wildcard Mappings + Struts s:url tag

2007-11-09 Thread Thilo Ettelt
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

[S.2.1] Wildcard Mappings + Struts s:url tag

2007-11-09 Thread Thilo Ettelt
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