Service Locator then handles the
> rest, calling
> all the related model classes.
>
>
>
> On 2/28/06, R.Vijayaraghavan <[EMAIL PROTECTED]> wrote:
> >
> > Hello,
> >
> > I usually have set and get methods for all properties in my Model class.
> >
makes testing
> simpler. You not
> going to have test cases that span multiple layers.
> Let your Actions pull out data from the ActionForm, wrap it and pass it to
> the Service Locator, then the Service Locator then handles the
> rest, calling
> all the related model classes.
Hello,
I usually have set and get methods for all properties in my Model class.
After submitting a form, I pull out all the property values (form fields) in
the Action class from the ActionForm object, set the values of all
properties in the model from the action class and then call a particular
m
Hello,
The html:file field clears after there is an error in the form's validate()
method. The user then has to again select the file for upload. How do I
retain the file selected by the user even after a validate error. I searched
the internet but could not find anything.
regards,
vijay.
Hello,
I have an application where I have 3-4 combo boxes. After selecting a
particular value from the first combo box, the second combo box should be
filled with values from the database. Likewise for other combo boxes. How
can this be implemented in Struts.
Will this be feasible:
Call form.sub
> -Original Message-
> From: Michael Jouravlev [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 15, 2005 9:18 PM
> To: Struts Users Mailing List
> Subject: Re: logout/Back Button problem
>
>
> Firefox? Add "no-store":
This does not work in IE. Any other thing which can be tried?
rega
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Saturday, October 22, 2005 12:25 PM
> To: Struts Users Mailing List
> Subject: RE: query string parameters problem
>
>
>
> The scope of the ActionForm is session means that the last submitted
> ActionForm wil
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Saturday, October 22, 2005 12:08 PM
> To: Struts Users Mailing List
> Subject: RE: query string parameters problem
>
>
>
> Are you able to see the 'age' and 'name' attributes in the address bar
> after submitt
struts-config.xml
ActionForm has the setter and getter methods for name, age and description.
Action:
public final class QueryParamsAction extends Action {
public ActionForward
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Saturday, October 22, 2005 8:36 AM
> To: Struts Users Mailing List
> Subject: Re: query string parameters problem
>
>
>
> Hi,
> You should use
> request.getParameter("name")
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 21, 2005 7:01 PM
> To: user@struts.apache.org
> Subject: RE: query string parameters problem
>
>
> R.Vijayaraghavan asked:
> [snip]
> > The action i
Configure a JNDI data-source. Different application servers do it
differently.
regards,
vijay.
> -Original Message-
> From: M4RC0 [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 18, 2005 4:22 PM
> To: Struts Users Mailing List
> Subject: Load datasource config without action classes
>
Hello,
I have 3 variables, namely age, name and description. I have the values for
name and age before sending the request. That is, my URL would look like
http://localhost:8080/vijay/submit.do?name=xyz&age=22
I have a form that sets the values of age and name which is then accessed in
a html pag
Hello,
I am very new to struts, moreover new to web development. I have to make a
shopping cart and I am using displaytag to display the search results.
Problems I am facing:
1. What actually should happen when a user selects a set of products and
then clicks on the 'add to cart' button. Should t
> Hi all,
>
> I've this JSP code:
>
> requestURI="wul_search.do?method=search" pagesize="10"
> export="true" defaultsort="8" defaultorder="ascending">
>
> select
>
>href="wul_search.do?method=load" paramId="id" sortable="true"
> headerClass="sortable" media=
Hello,
I am using displaytag to display a table of records. I am able to add a
checkbox as the first column using:
The problem is that I am not able to set a unique value for each checkbox. I
am having a column in the recordset stored in a RowSetDynaClass that has the
unique values fo
>
> Never mind. I found this one on an ASP.Net page:
>
> [EMAIL PROTECTED],3}
This wont verify the mailid: [EMAIL PROTECTED]
This will. This can be made more strict by checking the length, like Bryon
has done.
(\\S+)(@)(\\S+)(\\.)(\\S+)((.)(\\S+))*
regards,
vijay.
-
17 matches
Mail list logo