Hi
In http://struts.apache.org/2.0.11/docs/ui-tag-reference.html
Clicking on submit of the Ajax Tags will redirect to the Confluence's
login page.
Is this OK?
--
Hez
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi
At bottom of http://struts.apache.org/2.0.11/docs/ui-tag-reference.html,
the link to http://struts.apache.org/2.x/tagreference.html (Tag
Reference) does not exist on the server?
--
Hez
-
To unsubscribe, e-mail: [EMAIL
*)
On Feb 11, 2008 7:13 AM, hezjing [EMAIL PROTECTED] wrote:
Hi
If I have a message defined in i18n properties file shown below,
label.welcome = Welcome ${name}
How can I subsitute the variable name in the JSP?
I tried the following and obviously it doesn't work
Hi
If I have a message defined in i18n properties file shown below,
label.welcome = Welcome ${name}
How can I subsitute the variable name in the JSP?
I tried the following and obviously it doesn't work!
s:label key=label.welcome
s:param name=nameJohn/s:param
/s:label
May be
integrated with struts2
F
On Feb 10, 2008 8:06 AM, hezjing [EMAIL PROTECTED] wrote:
Hi
Is there any Struts2 + GWT tutorials/articles beside
http://cwiki.apache.org/WW/struts-2-gwt.html?
I need to read more comprehensive tutorials.
What is your experience in using Struts2 + GWT
Hi
Is there any Struts2 + GWT tutorials/articles beside
http://cwiki.apache.org/WW/struts-2-gwt.html?
I need to read more comprehensive tutorials.
What is your experience in using Struts2 + GWT?
--
Hez
-
To unsubscribe,
. [Ljava.lang.String;@18a270a is an array of strings. This should if you're
using the default conversion.
hezjing wrote:
Hmmm ... my login.jsp now looks like this,
s:form action=index method=post validate=true
s:textfield name=username key=user.username /
s:password name=password key
Hi
I'm trying to create a login interceptor.
When a login form is submitted, I got the following exception:
com.opensymphony.xwork2.interceptor.ParametersInterceptor setParameters
SEVERE: ParametersInterceptor - [setParameters]: Unexpected Exception
caught setting 'button.login' on 'class
getButton().setLogin(val).
If you don't have a getButton() method, or getButton() returns null, an
exception like this occurs while trying to set the parameter.
hezjing wrote:
Hi
I'm trying to create a login interceptor.
When a login form is submitted, I got the following exception
test
my theory by giving the field a different name (eg. key=button.login
name=login) that won't cause an error.
hezjing wrote:
The button.login is a key in i18n properties file, and it is suppose
to retrieve the label for a button.
I suspect this problem could be the interceptor statck I
Hi
In http://struts.apache.org/2.0.11/docs/submit.html, the submit tag
has an action attribute that says set action attribute.
May I know how can we make use of this action attribute?
Any example?
Thank you!
--
Hez
-
To
Hi
I have a form with multiple buttons,
s:form namespace=/user action=updateUser method=post
s:submit name=action value=resetPassword key=button.resetPassword /
s:submit name=action value=delete key=button.delete /
/s:form
and my action class looks like the following,
public String
Hi
I have an action in src/main/java/com/dummy/action/MyAction.java
and the locale messages defined in MyAction.properties and package.properties.
I saved these properties files in src/main/java/com/dummy/action directory.
When run (e.g. mvn jetty:run), the locale messages are not displayed.
Hi
The problem is solved by saving the properties in
src/main/resources/com/dummy/action/package.properties
src/main/resources/com/dummy/action/MyAction.properties
Thank you!
On Jan 30, 2008 6:05 PM, hezjing [EMAIL PROTECTED] wrote:
Hi
I have an action in src/main/java/com/dummy/action
The menu is displayed on top of the page in Firefox, but NOT in the IE 6.0.
Can you reproduce the same problem?
On 1/29/08, Laurie Harper [EMAIL PROTECTED] wrote:
hezjing wrote:
Hi
I created Struts2 starter application as shown below,
mvn archetype:create
-DgroupId
Hi
I created Struts2 starter application as shown below,
mvn archetype:create
-DgroupId=com.fdar.apress.s2
-DartifactId=app
-DarchetypeGroupId=org.apache.struts
-DarchetypeArtifactId=struts2-archetype-starter
-DarchetypeVersion=2.0.9-SNAPSHOT
Hi Rajasekhar
You can study the struts2-showcase-2.0.11.war which comes with the
Struts2 distribution.
You will see WEB-INF\lib\log4j-1.2.9.jar,
WEB-INF\classes\log4j.properties
and the Java files in
WEB-INF\src\java\org\apache\struts2\showcase\action directory.
On 12/14/07, Rajasekhar [EMAIL
Hi
Where can I download the .zip of the Struts 2 CRUD Example?
See http://struts.apache.org/2.x/docs/crud-demo-i.html
Should we add a download link in the tutorial?
--
Hez
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I think that is called URL's parameter encryption.
You may want to take a look at
http://www.avedatech.com/Products/QueryCrypt/index.jsp,
I haven't try it by myself though.
On 9/20/07, Vo Van Thuong [EMAIL PROTECTED] wrote:
Hi Vinny,
I'd like users to access to my website by URLs like
Hi
With the following struts.xml,
package name=default extends=struts-default
interceptors
interceptor name=login class=XYZ /
/interceptors
action name=welcome class=welcomeAction
interceptor-ref name=login /
resultindex.jsp/result
/action
/package
Will
Hi
I have a index.html that will redirect to WelcomeAction,
= index.html =
html
head
META HTTP-EQUIV=Refresh CONTENT=0;URL=welcome.action
/head
body
pLoading .../p
/body
/html
WelcomeAction does nothing but simply returns success from execute().
= WelcomeAction.java =
public
.
-Original Message-
From: hezjing [mailto:[EMAIL PROTECTED]
Sent: Monday, August 27, 2007 11:19
To: struts-users
Subject: [S2] Refresh JSP in Tomcat 5.5
Hi
I have a index.html that will redirect to WelcomeAction,
= index.html =
html
head
META HTTP-EQUIV=Refresh CONTENT=0
struts.serve.static.browserCache = false does not
refresh the latest JSP either :-(
On 8/27/07, hezjing [EMAIL PROTECTED] wrote:
I modified index.jsp directly in Tomcat 5.5\webapps\myapp directory.
1) Restart Tomcat 5.5.23
2) Accessed http://localhost:8080/myapp
3) Modified the title of Tomcat 5.5
Hi
I'm encountering this exception (when trying to iterate a list of
orders for a specific customer in JSP),
failed to lazily initialize a collection of role:
com.dummy.Customer.orders, no session or session was closed
at
OpenSessionInViewFilter. Take a
look here:
http://www.springframework.org/docs/api/org/springframework/orm/hibernate/support/OpenSessionInViewFilter.html
On 8/22/07, hezjing [EMAIL PROTECTED] wrote:
Hi
I'm encountering this exception (when trying to iterate a list of
orders for a specific customer in JSP
This is something new to me, I always thought that lazy initialization
is to boost performance. So we should really use eager fetching by
default and minimize the use of OSIV.
On 8/22/07, Toni Lyytikäinen [EMAIL PROTECTED] wrote:
And, is there a better alternative than using
Can you describe more about what is it that the AJAX theme is not mature?
Maybe I should consider to use DOJO manually?
On 8/8/07, Oleg Mikheev [EMAIL PROTECTED] wrote:
sol myr wrote:
1. Have you used struts2 in production, and did you feel it was mature
and stable?
We used it.
It's
Hi!
I'm using Tomcat 5.5.23, and Ant 1.7.0 to deploy, start, stop and
undeploy the S2 application.
From the console, it seems that the application was stopped and
undeployed successfully.
Looking at the webapps directory, everything has been deleted except
the S2's JARs in Tomcat
/16/07, Antonio Petrelli [EMAIL PROTECTED] wrote:
2007/7/16, hezjing [EMAIL PROTECTED]:
Well, I'm not sure if this is the Tomcat's problem.
Usually this happens under Windows, when a JAR is opened (for example, to
read a file) and it is never closed when finished (it will be closed
Assurance (China) Co. Ltd.
Tel: 86-023-6805-3128
Fax: 86-023-68053154
Mbl: 86-023-66101533
-邮件原件-
发件人: hezjing [mailto:[EMAIL PROTECTED]
发送时间: 2007年6月21日 12:57
收件人: struts-users
主题: How to invoke actions in different configuration packages
Hi!
When we have the Struts configuration below
I found this article very useful:
Developing J2EE Applications Using Hibernate Annotations and Spring MVC
http://www.developer.com/java/ent/article.php/10933_3577101_1
On 6/19/07, hezjing [EMAIL PROTECTED] wrote:
Hi!
What is the difference between a Model object and DAO?
In Struts 2
Hi!
When we have the Struts configuration below:
package name=person extends=struts-default
action name=list method=execute class=personAction
resultpages/persons.jsp/result
/action
/package
We can invoke the action by /list.action.
Why do we want to create a
Hi!
What is the difference between a Model object and DAO?
In Struts 2 + Spring 2 + JPA + AJAX tutorial, we have an annotated
quickstart.model.Person class.
Do we still require Person class say, if we create a PersonDao?
I'm trying to figure out how to implement Struts 2 + Spring 2 + DAO +
Hi!
I have a fresh Eclipse installed and I'm following the Struts 2 +
Spring 2 + JPA + AJAX tutorial.
In the Doing it yourself section, it mentioned about File - New -
Project and select Dynamic Web Project under Web folder. Unfortunately
I'm don't see the Web folder ...
Did I miss out any
Good, and it would be very nice to list Eclipse WTP plugin as one of
this tutorial's prerequisites.
Thank you!
On 6/14/07, robinbajaj [EMAIL PROTECTED] wrote:
you will need to install the WTP plugins on top of your eclipse install.
even better, you can download it all as one complete bundle
35 matches
Mail list logo