Who can show me some sites(Web2.0 or not) based on Struts2?

2008-01-13 Thread M.Liang Liu
And I can visit it to get an insight about S2. Thx. -- View this message in context: http://www.nabble.com/Who-can-show-me-some-sites%28Web2.0-or-not%29-based-on-Struts2--tp14785361p14785361.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: How to format the actionerrors and actionmessages in the jsp page?

2007-07-29 Thread M.Liang Liu
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- --M.Liang Liu

How to format the actionerrors and actionmessages in the jsp page?

2007-07-27 Thread M.Liang Liu
help? btw,I have put the code in the globalMessages.properties and put the file in the classpath,as well as defined the struts.xml as: constant name=struts.custom.i18n.resources value=globalMessages / Thanks for reading and looking forward to any reply. -- --M.Liang Liu

Re: How can I add ActionErrors when do the interceptor's intercept() method?

2007-07-18 Thread M.Liang Liu
I tried many times,but there's no solutions then. Any help could be greatly appreciated. On 7/17/07, M.Liang Liu [EMAIL PROTECTED] wrote: Thanks for you quick reply,Nuwan. yeah,ur code works and action-error should be add to the original action(I tested). However,I set my global result in my

Re: How can I add ActionErrors when do the interceptor's intercept() method?

2007-07-18 Thread M.Liang Liu
(the login action, which gathers all login stuff): @SkipValidation public String violation() { addActionMessage(getText(need.authentication)); return SUCCESS; // to the login form } Worked for me. Cheers, Arnaud -Message d'origine- De: M.Liang Liu [mailto:[EMAIL PROTECTED] Envoyé: mercredi

Re: How can I add ActionErrors when do the interceptor's intercept() method?

2007-07-17 Thread M.Liang Liu
) { ((com.opensymphony.xwork2.ValidationAware) action).addActionError (Username or password incorrect.); } Thanks, Nuwan. - Original Message - From: M.Liang Liu [EMAIL PROTECTED] To: user@struts.apache.org Sent: Tuesday, July 17, 2007 9:49 AM Subject: How can I add ActionErrors when do

Re: How to keep users from accessing to *.jsp strightforword?

2007-07-14 Thread M.Liang Liu
. M.Liang Liu schrieb: I just would like to block users to get to the login.jsp through the url:http://somedomain.com/login.jsp. Instead,users can login with the url :http://somedomain.com/login.action--- actually the login.jsp page. With the help of code-in-behind-plugin,users can just login

How to keep users from accessing to *.jsp strightforword?

2007-07-13 Thread M.Liang Liu
I just would like to block users to get to the login.jsp through the url:http://somedomain.com/login.jsp. Instead,users can login with the url :http://somedomain.com/login.action--- actually the login.jsp page. With the help of code-in-behind-plugin,users can just login with the

Re: How to keep users from accessing to *.jsp strightforword?

2007-07-13 Thread M.Liang Liu
-constraint Neil -- Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com FREE! Eliminate junk email and reclaim your inbox. Visit http://www.spammilter.com for details. -Original Message- From: M.Liang Liu [mailto:[EMAIL PROTECTED] Sent: Friday, July 13, 2007 11:01 PM To: user

Re: How to carry parameters to action: login.do?action=addid=123

2006-06-07 Thread M.Liang Liu
Thanks very much. Fixed it. On 6/4/06, Leon Rosenberg [EMAIL PROTECTED] wrote: On 6/4/06, M.Liang Liu [EMAIL PROTECTED] wrote: I just want to carry parameters to action :login.do I will make use of the url .../login.do?action=addid=123 in the other page as a link. And I want to get

How to carry parameters to action: login.do?action=addid=123

2006-06-04 Thread M.Liang Liu
I just want to carry parameters to action :login.do I will make use of the url .../login.do?action=addid=123 in the other page as a link. And I want to get those parameters using: request.getAttribute(action); request.getAttribute(id); to get them. However,it does NOT work. I would like

Strange problem:Validator can NOT validate Integer ?!

2006-06-03 Thread M.Liang Liu
I have got a strange problem as following: I would like to use DispatchAction for one of my use case named customerand I create a setCustomer .do action to init the hidden property---methodToCall. Then that action execute method returns mapping.findFordward(continue); The continue page makes

Re: Strange problem:Validator can NOT validate Integer ?!

2006-06-03 Thread M.Liang Liu
I test the integer depends and it works well in a single page. There must be something to do with the setCoustomer.do. I am trying to define the field as String ,NOT Integer. Just waiting... On 6/4/06, M.Liang Liu [EMAIL PROTECTED] wrote: I have got a strange problem as following: I

Re: Global forwards don't support Tiles definitions?

2006-06-01 Thread M.Liang Liu
How about forwarding to an action path using ForwardAction redirect to your tiles page? I just shoot in the dark.

Cancel button:html:cancel/NOT work

2006-06-01 Thread M.Liang Liu
Hi,I have got another problem,exception was thrown when I click my cancel button using html:cancel/ The excute method in the related action is following: public ActionForward execute( ActionMapping mapping, ActionForm form, HttpServletRequest request,

Re: Cancel button:html:cancel/NOT work

2006-06-01 Thread M.Liang Liu
) org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) javax.servlet.http.HttpServlet.service(HttpServlet.java:709) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) Thanks for reading... On 6/2/06, M.Liang Liu [EMAIL PROTECTED] wrote: Hi,I have got another problem

Re: Cancel button:html:cancel/NOT work

2006-06-01 Thread M.Liang Liu
Thanks for your quick reply. I've fixed it. Thank you,sir. On 6/2/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 6/1/06, M.Liang Liu [EMAIL PROTECTED] wrote: Hi,I have got another problem,exception was thrown when I click my cancel button using html:cancel

Re: Help:validation is not working with struts1.2

2006-05-31 Thread M.Liang Liu
Thanks to all of you. I learned a lot from this chain of letters. You fellows are so kind that I am sure struts is a beautiful struts :) Many questions are coming as I will pay a lot of time to study struts as a freshman. Thank you again.

Re: Help:validation is not working with struts1.2

2006-05-30 Thread M.Liang Liu
Thanks for your reply. *paz.periasamy got the point:I am just trying to use server validate. The validator-rules.xml is as following ,the one I copyed from the struts-blank: * !DOCTYPE form-validation PUBLIC -//Apache Software Foundation//DTD Commons Validator Rules Configuration

Struts-menu:How can I open the very page that the location defined in the parent window,namelly NOT a new window?

2006-05-29 Thread M.Liang Liu
I tried to use struts-menu and I find a BIG problem: My customer would like to open the very page that the location defined in the same window,not a new window? It woks in firefox and the customer is satisfied.The problem occurred under Internet Explorer. Can you help me please? Thank you.

Help:validation is not working with struts1.2

2006-05-29 Thread M.Liang Liu
I tried to use validator in my struts application and I find a problem occurred: The form did not validate itself and the execute method is always called. I active the plug-in in struts-config.xml as following: plug-in className=org.apache.struts.validator.ValidatorPlugIn

Re: HELP:I've got a new problem when I tried to use struts-menu in my Tiles using display-tag.

2006-05-21 Thread M.Liang Liu
Greg Ludington,you've got the point. I tested many times to find it is the CSS file that made the strange rim.The CSS files apply to all the pages using display-tag.I do NOT know how to limit the scope of the CSS files' application areas. I am trying eXtremeComponents following *David

Re: HELP:I've got a new problem when I tried to use struts-menu in my Tiles using display-tag.

2006-05-21 Thread M.Liang Liu
/21/06, M.Liang Liu [EMAIL PROTECTED] wrote: Greg Ludington,you've got the point. I tested many times to find it is the CSS file that made the strange rim.The CSS files apply to all the pages using display-tag.I do NOT know how to limit the scope of the CSS files' application areas. I

Re: HELP:I've got a new problem when I tried to use struts-menu in my Tiles using display-tag.

2006-05-20 Thread M.Liang Liu
these packages. See: http://sourceforge.net/forum/forum.php?forum_id=160189 Regards, David -Original Message- From: M.Liang Liu [mailto:[EMAIL PROTECTED] Sent: Friday, May 19, 2006 11:26 PM To: Struts Users Mailing List Subject: Re: HELP:I've got a new problem when I tried to use struts-menu

Re: Another problem of Tiles:the display-tag can NOT display using paging.

2006-05-19 Thread M.Liang Liu
I've fixed through documents of display-tag. The requestURL of the display:table should be the page which uses Layout.jsp,not the content page using display-tag. Sorry to trouble you all. On 5/20/06, M.Liang Liu [EMAIL PROTECTED] wrote: I tried to use display-tag http://displaytag.sf.net

Re: Another problem of Tiles:the display-tag can NOT display using paging.

2006-05-19 Thread M.Liang Liu
, not a displaytag error. How are you tiles defined and what is the 1st table page url and the next page url shown in your browser window? Regards, David -Original Message- From: M.Liang Liu [mailto:[EMAIL PROTECTED] Sent: Friday, May 19, 2006 12:25 PM To: Struts Users Mailing List Subject

HELP:I've got a new problem when I tried to use struts-menu in my Tiles using display-tag.

2006-05-19 Thread M.Liang Liu
Hi everybody! I've got a new problem when I tried to use struts-menu in my Tiles using display-tag. I put the struts-menu in my Tiles alone and find it works well. However,the problem occurred when I put one page using display-tag in the same Tiles page including struts-menu:The struts-menu

Re: HELP:I've got a new problem when I tried to use struts-menu in my Tiles using display-tag.

2006-05-19 Thread M.Liang Liu
( org.apache.catalina.session.ManagerBase). log4j:WARN Please initialize the log4j system properly. On 5/20/06, M.Liang Liu [EMAIL PROTECTED] wrote: Hi everybody! I've got a new problem when I tried to use struts-menu in my Tiles using display-tag. I put the struts-menu in my Tiles alone and find it works well

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-17 Thread M.Liang Liu
H,thanks a lot Dakota Jack! It costs time for me to understand your cool solution to problems of this kind. Thank you. On 5/17/06, Dakota Jack [EMAIL PROTECTED] wrote: Actually, in a real sense it was. You have to deliver the flash file to the Flash plugin, after all. That is a

I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-16 Thread M.Liang Liu
Hi,guys! I am meeting with a problem when I tried to insert a flash to my pages.Iuse Tiles plug-in and it works well. I put a flash in my header.jsp and the flash can display as expected as I typed the very url of this page.But when I put this page in my layout.jsptiles files,nothing

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-16 Thread M.Liang Liu
My GOD! The same thing happened when I try to insert an image!! Help,please. On 5/16/06, M.Liang Liu [EMAIL PROTECTED] wrote: Hi,guys! I am meeting with a problem when I tried to insert a flash to my pages.I use Tiles plug-in and it works well. I put a flash in my header.jsp

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-16 Thread M.Liang Liu
Thanks a lot for your immediate reply which helped me a lot to resolve this problem. The solution *Christian Bollmeyer *provided is just fine;I make the image display properly;* **Bart Busschots's *advice is of great useful,I check all my webapp to make sure all the things go as expected.*

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-16 Thread M.Liang Liu
*Dakota Jack,*your solution is awesome;cool. Actually I am a freshman to struts;as a result,I need your help to do the same as you. **Greatly appreciated if you send your code of the very action class which is to deliver all images or other resources. Thanks . On 5/17/06, Dakota Jack [EMAIL

Data-sources using struts:Tomcat's or NOT?

2006-04-20 Thread M.Liang Liu
I am a freshman to struts. And now I got a problem to make my decision which data-source should I choose. The point is as following: I created a project via myeclipse using Tomcat 5.5.X as the web server.Asa result,I can use the Tomcat data-source related to JNDI: Step1.define the

Re: Data-sources using struts:Tomcat's or NOT?

2006-04-20 Thread M.Liang Liu
Thanks a lot for every one's immediate remark.I may have got it. And I find that the struts-doc-1.2.9 is of use for beginners as me.