Dear all,
Struts and JSTL both have validator framework, which one is preferred if I'm using
struts and JSTL in one web application?
Thanks.
bruce
dear all,
I went to http://www.theserverside.com/events/library.jsp#mcclanahan and clicked DSL
to watch the video, but no video there, only one picture.
Did you find the video? Could you please tell me how to find watch it?
Thanks
- Original Message -
From: Steve Raeburn [EMAIL
on the right side to see his answer...
Am Mittwoch, 26.11.03 um 03:12 Uhr schrieb ZYD:
dear all,
I went to http://www.theserverside.com/events/library.jsp#mcclanahan
and clicked DSL to watch the video, but no video there, only one
picture.
Did you find the video? Could you please tell
Hi,
I hava a userForm that has a ArrayList of User objects, each User object has several
properties: fistname, lastname, age.
How can I get all User's firstname, lastname, age in an iterate?
Thanks.
bruce
I have a similiar problem.
I hava a userForm that has a ArrayList of User objects, each User object has several
properties: fistname, lastname, age.
How can I get all User's firstname, lastname, age in an iterate?
- Original Message -
From: Sumit S. [EMAIL PROTECTED]
To: Struts
included with the Artimus example app in Struts
1.1 contrib.
I wouldn't advise using those chapters as anything more than
a general introduction to the framework.
and AFAIK ted considers the framework finished.
c
On Saturday 15 November 2003 09:20, ZYD wrote:
I downloaded a file
I downloaded a file called scaffold-lib_1_1_b1.zip, there are two jar files inside:
commons-scaffold.jar and struts-scaffold.jar
In Struts in Action, page 434, org.apache.scaffold.text.MessageUtils is metioned.
Does anybody knows where is it?
It's not in the two jar files above. I cannot
Dear all
I have a design question:
there are three columns in a database table:
category_id,
category_description,
is_main_category
I want to iterate all the records in this table in a jsp page using one check box for
each record. category_id is the checkbox's value,
I tried to use multibox. I copied the code snippet from Struts in Action, but I got:
[ServletException in:/WEB-INF/jsp/form/multiboxTest.jsp] Null attribute name'
---
This is my multiboxTest.jsp:
%@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean
Hi
The following two code snippets are from Struts in Action, I copied them to my JSP
page and ActionForm.
but I cannot get it work.
I got :
[ServletException in:/WEB-INF/jsp/form/multiboxTestSubmit.jsp] Null attribute name'
What's wrong with it? What do I need to pay attention to?
Please
ServletException
store the properties in a bean and recall them in your action.
F.
- Original Message -
From: ZYD [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 3:52 AM
Subject: multibox - Null attribute name ServletException
I change html:iterate tag to:
logic:iterate id=item name=multiboxTest property=items
the =multiboxTest is the ActionForm bean's name in struts-config.xml.
and add getter/setter for items, now it works.
Thanks.
bruce
- Original Message -
From: ZYD [EMAIL PROTECTED]
To: Struts Users
This question puzzled me for a long time, hope can get some help from you.
I downloaded a file called scaffold-lib_1_1_b1.zip, there are two jar files inside:
commons-scaffold.jar and struts-scaffold.jar
In Struts in Action, page 434, org.apache.scaffold.text.MessageUtils is metioned.
Does
that implementation instead.
- Original Message -
From: David Graham [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, November 03, 2003 3:10 AM
Subject: [OT] Re: What's the best choice for connection pooling with Struts and
PostgreSQL
--- ZYD [EMAIL PROTECTED] wrote
tag for example)
J2EE designed real nice and you should leverage it, not fight it.
hth,
ZYD wrote:
Dear all,
I'm writing my Struts application using PostgreSQL as the backend database. Could
you give me some advice on choosing the connection pooling framework/methods?
I
.
- Original Message -
From: Paul Thomas [EMAIL PROTECTED]
To: ZYD [EMAIL PROTECTED]
Cc: struts-user [EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 3:10 AM
Subject: Re: What's the best choice for connection pooling with Struts and PostgreSQL
On 04/11/2003 02:43 ZYD wrote:
I
Did you solved this problem?
what's wrong with it? I didn't get load exceptions
- Original Message -
From: Funicelli Aldo [EMAIL PROTECTED]
To: 'struts user' [EMAIL PROTECTED]
Sent: Monday, October 13, 2003 10:41 PM
Subject: setting DataSource
Using struts 1.1 I'm able to set a
Dear all,
I'm writing my Struts application using PostgreSQL as the backend database. Could you
give me some advice on choosing the connection pooling framework/methods?
I wrote my own connection pooling classes, but if there are some good frameworks from
jakarta, it definitely worth a try.
and PostgreSQL
Hi Bruce,
I personally prefer C3P0 over DBCP. I've had problems with DBCP in the past, and
the support for C3P0 seems to be better. You can find it on Sourceforge.
On Sun, Nov 02, 2003 at 08:56:43AM +0800, ZYD wrote:
Dear all,
I'm writing my Struts application using
Dear all,
Question 1:
How to provide a Back button on a page?
Is there a html tag like the one for Cancel button: html:cancel ?
Question 2:
How to provide two submit buttons on one JSP page,
when click on the 1st button, the page is submitted to 1st action,
when click on the 2nd button, it's
=adjrecordsdispatch.do
type=aaa.ers.struts.forms.RecordsForm
so U can create a dispatch action and call two different action changing
value for methodtocall.If you are not using dispatch action then just set
your forms action to whatever action U want to go to..
ZYD [EMAIL PROTECTED
Hi my friend, you solve my problem, thanks!!
bruce
- Original Message -
From: ishmael riles [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Cc: ZYD [EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 5:11 AM
Subject: Re: Help please -- How to provide a Back button
Dear all,
I have a Reset button on a Jsp page:
html:reset
bean:message key=button.reset/
/html:reset
It works at first load. But when I forward to this page from other pages, this Reset
button does nothing, it does not reset anything.
Does this problem sound familiar to you guys?
and call two different action changing
value for methodtocall.If you are not using dispatch action then just set
your forms action to whatever action U want to go to..
ZYD [EMAIL PROTECTED]
10/29/2003 01:18 AM
Please respond to Struts Users Mailing List
To: Struts
: How to validate html:radio is selected on a JSP page?
Lets hope for someone to reply to this! :D
-Original Message-
From: ZYD [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 25, 2003 10:50 AM
To: Struts Users Mailing List
Subject: Re: How to validate html:radio is selected
Hi friends,
How to make sure a radiobox is selected on a JSP page using validator?
I cannot use:
field property=prjType depends=required
arg0 key=newProject.label.prjType/
/field
Thanks
-bruce
Subject: RE: How to validate html:radio is selected on a JSP page?
I couldn't find a workaround for that so far. I use the validate()
method of the actionform. Pretty lame! Eh!
-Original Message-
From: ZYD [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 25, 2003 10:33 AM
To: Struts
Hi,
I'm wondering how to write a multi-step wizard web app. In Struts in Action, it's
mentioned that ActionForm should be set to scope session when writing a wizard. no
more.
Does any body have some advice on how to achive it?
bruce
have? I believe that complete unicode
support is only present in the latest perhaps even beta versions.
Adam
On 10/18/2003 07:43 PM ZYD wrote:
No, UTF-8 does not work.
- Original Message -
From: Adam Hardy [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED
that complete unicode
support is only present in the latest perhaps even beta versions.
Adam
On 10/18/2003 07:43 PM ZYD wrote:
No, UTF-8 does not work.
- Original Message -
From: Adam Hardy [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday
.
Adam
On 10/18/2003 07:43 PM ZYD wrote:
No, UTF-8 does not work.
- Original Message -
From: Adam Hardy [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 4:49 PM
Subject: Re: i18n - Chinese charactor problem
UTF-8
No, UTF-8 does not work.
- Original Message -
From: Adam Hardy [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 4:49 PM
Subject: Re: i18n - Chinese charactor problem
UTF-8
On 10/16/2003 07:25 PM ZYD wrote:
Now I use UTF-8 everywhere
Hi,
I have a problem in getting the Chinese charactors from html:text,
The following is my jsp file:
%@ page contentType=text/html;charset=UTF-8 language=java %
%@ taglib uri=/WEB-INF/struts-html.tld prefix=html %
html:html
html:form action=/submit focus=email
head/head
body
html:text
: i18n - Chinese charactor problem
I don't remember the exact code, but a looong time ago we had to write a
Filter that created a request wrapper that properly set the character
encoding on request parameters. Maybe googling that would turn up
something.
Greg
ZYD wrote:
Hi,
I have
that would
turn up something.
Greg
ZYD wrote:
Hi,
I have a problem in getting the Chinese charactors from html:text,
The following is my jsp file:
%@ page contentType=text/html;charset=UTF-8 language=java %
%@ taglib uri=/WEB-INF/struts-html.tld prefix=html %
html:html
Are you still using that? or UTF-8?
Everything has to match.
ZYD wrote:
Hi Jason,
Thank you for your response.
I did exactly the same thing as the article said, but still, not working properly.
Chinese can be displayed, but not in the text box.
If I change %@ page contentType=text
Hi Ted,
I'm studying your artimus_1_1 codes.
I'm confused by some scaffold classes, such as
org.apache.struts.scaffold.ExistsAttributeAction.
I cannot find it's source code, compiled class file and it's documentation anywhere.
There are some other classes like this one.
I noticed that
37 matches
Mail list logo