hi, thanks for reading..
i have a problem about output a html symbol from
taglib
if i in a jsp page, use the code below:
%
String abc=gt;;
out.println(abc);
%
it can show the symbol ;
if in my taglib class, i use code below:
pageContext.setAttribute(symbal, gt;);
and in the jsp page, i
) %/a
into html:link, since there is no paramId that I can specify, and using
paramId always automatically add a ? to the created link.
Thanks in advance on any pointers,
Ricky Purnomo
-
To unsubscribe, e-mail: [EMAIL PROTECTED
.jar
mysql-connector-java-3.0.9-stable-bin.jar
but it doesn't seem to solve the problem. Please advise what else I can try
to identify and resolve the problem.
Thanks in advance,
Ricky Purnomo
-
To unsubscribe, e-mail: [EMAIL
hi, there,
has anybody tried to use SQL Maps framework with struts? i am now using
the struts with SQL Maps framework, all is convenient. i have tried to use
ActionForm instead of create a new javaBean passed to SQL Map parameter.
just like this:
AuthorForm authorForm = (AuthorForm)
hi, there,
with my project i had several queries about get datasource in struts. i know how
to get datasource in struts, just as in myAction, use getDataSource method and return
DataSource object, and go on to get connection
i also know the logic beans between the Controller and
hi, i'am sorry to trouble you if you receive this mail list about struts, i
hope you can give me a suggetion.
first, i found a question about struts validation . when you submit a form ,
and the validate method will valiate the form field. if the form element is
a text filed, you un-inpute the
hello,
sorry to trouble you of my problem. i hope for the best solution of my
problem.
i am using DynaValidatorForm to validate my form, and i have form-name, a
form property configurate like this:
form-property name=author_id type=java.lang.Integer /
and in my jsp is :
html:select
PROTECTED]
Sent: Saturday, November 29, 2003 12:15 AM
Subject: re: validatation : the select field and checkbox field origin value
lost...
Hi Ricky,
After validation, struts will display whatever you specified in the input
parameter of your action mapping. If you specify an action (like
hi, if the value must be greater than 0. do you have any other better way?
now i am using range , if i don't set the max value, it can't work
,otherwise , set a limited value, i don't know the value that inputed. i
can use validwhen, but it's not available in Struts 1.1 now :(
-
you don't need to put the value again..after you define your definiton in
tile-config.xml,.change your code below :
%@ taglib uri=/WEB-INF/struts-tiles.tld prefix=tiles%
%@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean%
%@ include file=/Layout/stdDefinition.jspf%
tiles:insert
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, November 29, 2003 3:29 AM
Subject: Re: Tiles Help! Help with Tiles...
Ricky,
Thanks Alot I re-read your email over and over (before I get some
sleep)
and did not understand it.
Just re-read it again today
... except
for range depends , any other depends for me to validate this case?
- Original Message -
From: Robert Lamping [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, November 29, 2003 3:01 AM
Subject: RE: Range validation by validation.xml
Dear Ricky,
Why
it to %=an_author.toString()% , now ,it's work...
- Original Message -
From: Claire Wall [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, November 29, 2003 12:56 AM
Subject: Re: validation : the select field and checkbox field origin value
lost...
Ricky
hi, thanks for helping me! i have a problem by using DynaActionForm..
some fragment of my struts-config.xml about form bean is:
!-- article bean --
form-bean name=articleBean type=com.struts.bean.DynaArticleForm
form-property name=article_id type=java.lang.Long /
form-property
a moment later, i have found the reasons :)
- Original Message -
From: Ricky Yahoo [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 10:44 PM
Subject: DynaActionForm basic problem.
hi, thanks for helping me! i have a problem
you have to build a action-mapping in struts-config.xml, take a look at
http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd to validate the
struts-config.xml form to insert action-mapping
just like:
action type=com.struts.action.tiles.xxxAction validate=false
scope=request
why not use JSTL c:forEach.? :)
- Original Message -
From: Ryan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 27, 2003 12:31 AM
Subject: Checkbox and Map ActionForm
I have checkboxes on my form that have multiple options/group.
The name for each group of
i suggest you use taglib ,especially JSTL, i think we should use less java
script in jsp page, do more action in actio servlet, it can make you more
convinient.
i was glad that i use taglib into my project, more use it, more convinient
you be.
- Original Message -
From: Shakti [EMAIL
hi, struts exper! i have a problem about struts taglib, like these code
below:
html:form action=tiles:getAsString name=form_action /
it show me the exception:
rg.apache.jasper.JasperException: /layouts/admin/addDataLayout.jsp(15,48)
equal symbol expected
and when i change to the follow codes ,
hi, so glad that i met the same question as you
html:form action=/addArticleAction
module id:
html:select property=module_id
logic:iterate name=modules id=module
option value=bean:write name=module property=module_id
/abc/option
/logic:iterate
/html:select
article title:html:text
PM
Subject: Re: Basic question about html:
if that's how you want to do it you need to change your quotes from:
option value=bean:write name=module
property=module_id/abc/option
to:
option value='bean:write name=module
property=module_id/'abc/option
From: Ricky Lee [EMAIL PROTECTED]
Reply
hi,i get a problem in my program. when i copy the struts-excercise-taglib
example file (bean-write.jsp, just some fragment below) to a new web
application(with strut1.1 under tomcat 4.1.29) and test it, it can't work
and showed me the errors below, but i test the bean-write.jsp under
hi,i get a problem in struts taglib. i test the bean-write.jsp under
struts-excercise-taglib folder, it can work smoothly , if i create a new
application, and test bean-write.jsp, it can't work, after that, i found a
problem, if i add the code below into web.xml of my new web application ,the
is display - it is. That means
there is something going on in the FileUpload process. Any ideas??
Thanks!
Ricky Frank
Yes, under the webapps directory of wherever you installed Struts, there is
a struts-upload.war file that contains everything you should need.
Ricky
At 10:41 AM 9/13/2001 -0400, you wrote:
Is there a Struts example of how to upload files using the built-in
org.apache.struts.upload package
control
to the error page. I'm not sure but I think it might be because the
response was already committed by the time the forward is taking
place. I tried reconfiguring Struts to use a redirect instead of a forward
but that didn't seem to help. Anyone have any ideas?
Ricky
At 12:04 PM 9/13
Ricky,
The maximum upload size is represented as an init-param for ActionServlet:
To set it as an init-param in web.xml:
servlet
servlet-nameaction/servlet-name
servlet-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
param-namemaxFileSize/param-name
Can you also provide an example of the tag for limiting the size of the
file uploaded? Or is this not supported? I've dug through some of the
underlying code and it looks like it is but I don't see anything in the tag
definition on how to invoke this limitation. Thanks. Ricky Frank
At 12
28 matches
Mail list logo