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 PROT
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 additional
come {0}
> >
> > Then you might try:
> >
> >
> > John
> >
> >
> > If that doesn't work, you should be able to use:
> >
> > John
> >
> > (*Chris*)
> >
> > On Feb 11, 2008 7:13 AM, hezjing <[EMAIL PROTEC
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!
John
May be it is a good idea to describe the solution in
http://strut
>
> and i am glad if this code can 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-gw
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, e-ma
he package from struts.xml here.
>
> PS. [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,
> >
> >
> >
> >
> >
authenticated, which is fine, but with your stack the
> params interceptor will attempt to write to the ACTION first.
>
> I still suspect your JSP/html includes a field with NAME "button.login"
> and params is throwing the exception due to getButton(). You can test
> my the
f 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
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
com.op
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
-
T
Hi
I have a form with multiple buttons,
and my action class looks like the following,
public String execute() throws Exception {
if (action.equals("resetPassword")) {
userService.resetPassword(user);
} else if (action.equals("delete")) {
userService.delete(use
Hi
I think there are typo error in
http://struts.apache.org/2.x/docs/stringlength-validator.html
Missing closing double quote:
10
Invalid ending tag:
should be
Do we need ?
--
Hez
-
To unsubscribe, e-mail: [EMAIL PROTECT
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
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.
May
80/app
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,
> >
>
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
-DremoteRepositories=http://peopl
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 addi
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 Eb
Hi
With the following struts.xml,
index.jsp
Will the interceptors configured in struts-default package be
executed, followed by the login interceptor?
Can we describe this behaviour in
http://struts.apache.org/2.0.9/docs/interceptors.html as well?
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 th
ended recipients are obliged
> to delete this message and destroy any printed copies.
>
>
> -Original Message-
> From: hezjing [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 27, 2007 11:19
> To: struts-users
> Subject: [S2] Refresh JSP in Tomcat 5.
Hi
I have a index.html that will redirect to WelcomeAction,
= index.html =
Loading ...
WelcomeAction does nothing but simply returns success from execute().
= WelcomeAction.java =
public class WelcomeAction extends ActionSupport {
public String execute() throws Excep
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
> OpenSessionInV
wn interface. You'll have to use 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
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
org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializat
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.
On 7/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 f
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 5.5\webapps\
cation Development
Great Eastern Life 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
Hi!
When we have the Struts configuration below:
pages/persons.jsp
We can invoke the action by /list.action.
Why do we want to create a package like the above?
But can we have multiple packages like the following?
pages/persons.jsp
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 &qu
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 +
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
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 an
36 matches
Mail list logo