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.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
--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
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
(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
) {
((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
.
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
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
-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
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
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
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
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
How about forwarding to an action path using ForwardAction redirect to your
tiles page?
I just shoot in the dark.
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,
)
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
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
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.
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
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.
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
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
/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
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
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
, 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
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
(
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
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
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
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
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.*
*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
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
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.
35 matches
Mail list logo