I got this jsp page:
sample.jsp:
it is saved in
/contextPath/rv/sample.jsp
this is part of my web.xml
web.xml:
config/rv
/WEB-INF/struts-rv-config.xml
this is part of my struts-rv-config.xml
struts-rv-config.xml:
when I try t
nk you all
From: "Mu Mike" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: help ,action path
Date: Wed, 10 Mar 2004 03:18:51 +
I got this jsp page:
sample.jsp:
it is saved in
t;%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
???
Khalid
modified the jsp file to the below still doesnt work
or
You can also do a "view source" and look the html generated by tag
and ,I think I need an explaination of this, and what should
guiding programming with struts 1.1
thank you all
From: "Mu Mike" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: RE: help ,action path
Date: Wed, 10 Mar 2004 05:46:16 +
of course, I m using an ide to
I have files like the below,I m trying to submit a bean object to my
action class, yet when I pressed the "submit" on the jsp file,it threw an
exception:java.lang.IllegalArgumentException: No bean specified
what is the correct way?
Thanks&Regards
myjsp.jsp
html:form action="/selectFont
l, per "If you do not supply an initial attribute,
numbers
will be initialized to 0 and objects to null" from the document:
http://jakarta.apache.org/struts/userGuide/building_controller.html#dyna_act
ion_form_classes
Regards,
David
-Original Message-
From: Mu Mike [mailto:[EMAIL PRO
n' is ever NULL!
>if ( bean == null )
>bean = new FontBean();
> return bean;
> }
Regards,
David
-Original Message-
From: Mu Mike [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 9:16 PM
To: [EMAIL PROTECTED]
Subject: RE: help me with using bean
Davi
David:
by the way, the setBean method in FontBean seems never been called, I think
it should be called sometime during the running process
From: "Mu Mike" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subj
en't used DynaActionForms in a while but I think that your use of
"Form-Property" without extending from the class "DynaActionForm" is
giving
you the trouble.
Regards,
David
-Original Message-
From: Mu Mike [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 9:36
I m using javascript "doing" dhtml, now I have a table, every time a user
changes the width of a specific column(by draging the border line), I will
save the column index and the new width to variables in javascript.Now
,after doing many such changes, I need to submit those values saved in the
ok, I have solved the problem,seems I should use instead but
not
by the way,thank you all ,especially David
Thanks&Regards
From: "Mu Mike" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: RE: h
I now need to submit an array object to an action, how can I achieve this
using struts?
you know, for a primary type value
you just do like this
or maybe you can submit values to a bean likethis
but how to do when I want to submit an array?
Thanks&Regards
_
I really need to get some idea about this issue, any suggestions?
Thanks&Regards
From: "Mu Mike" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: can anyone help me address this issue
Date: Thu,
eugh, javascript is the pits.
Chris
-Original Message-
From: Mu Mike [mailto:[EMAIL PROTECTED]
Sent: 11 March 2004 12:16
To: [EMAIL PROTECTED]
Subject: RE: can anyone help me address this issue
I really need to get some idea about this issue, any suggestions?
Thanks&Regards
>F
I have the below jsp file needs help
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
indexId="ctr">
property='<%= "labelValue[" + ctr + "].label" %>' />
Submit Changes
sorry, the last mail doesnt display correctly, but when I tried to write a
new one, I saw it displays correctly as the below
Thanks&Regards
From: "Mu Mike" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTEC
well,sorry again, my qeustion is the below
I have the below jsp file needs help
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
indexId="ctr">
(QUESTION: what do name property ,id ,indexID mean here?
I have the follow in a jsp file
indexId="ctr">
(QUESTION: WHAT DO name,property,id,indexId MEAN HERE? WHAT VALUES CAN
I SET TO THEM?)
property='<%= "labelValue[" + ctr + "].label" %>' />
(QUESTION: WHAT DO name,property MEAN HERE? WHAT VALUES CAN
t variable named by the value of the
idIndex attribute (value is
in [0..list.length])
For html:text
===
The attributes are pretty well explained in
http://jakarta.apache.org/struts/userGuide/struts-html.html#text
Hope that's enough to get you started.
Craig
On Fri, 12 Mar 2004 02:53:11 +00
I have a form as the below
TestBeanForm.java
public class TestBeanForm extends ActionForm {
public ArrayList getTestBean() {
if(testBean==null)
testBean=new ArrayList();
return testBean;
}
public void setTestBean(ArrayList testBean) {
this.testBean = testB
I write this in jsp file,but it failed
Submit Changes
is my jsp code right?
From: "Mu Mike" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: submit an arraylist
Date: Fri, 12 Mar 2004 07:
n in struts-config
...
On 12 Mar 2004, at 09:23, Mu Mike wrote:
I write this in jsp file,but it failed
Submit Changes
is my jsp code right?
From: "Mu Mike" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
<[EMAI
a getString1() method?
There's load of examples in the archives. Have a look.
On 12 Mar 2004, at 09:48, Mu Mike wrote:
Mark
I did as you wrote
in jsp file:
Submit Changes
it says "no collection found"
I then changed the jsp file to this
Submit Chan
I just cant use logic:iterate correctly!
this is my form bean class:
public class TestBeanForm extends ActionForm {
public String[] getTestBean() {
return testBean;
}
public void setTestBean(String[] testBean) {
this.testBean = testBean;
}
String[] testBean;
and this
Hi, all, last week, I spent a whole day trying to figure the below problem
out, and you warmhearted guys just came and helped me,but to greatly
disappiont you, I m still at a loss to know where the problem is ,so I
decided to explain detailedly and completely of what I did and hope you
nice bud
I now have a javascript array var, and I need to submit it by a form to an
action class, how can I achieve this?
Thanks&Regards
_
免费下载 MSN Explorer: http://explorer.msn.com/lccn/
Hi,
I need to know if javascript is able to write a from 'on' an html file
while certain events are activated and then submit the form to a server
action?
if it can ,can anyone give me a simple example?
Thanks&Regards
_
与联机的朋友进行交
does the servlet container has only one servletcontext instance for all the
servlets it manages? and the same to servletconfig instance?
Thanks&Regards
_
享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com
--
sample1.jsp:
..
this is my action definition
but when I finished the action in sample1, it opens sample2.jsp in the
current window(not refresing the sample1.jsp window) and the sample2.jsp
page remains the old(I modified some source files in the action in sample1
still trying to figure out how
any one can be of help?
Thanks
From: "Mu Mike" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: How can I refresh my jsp
Date: Tue, 23 Mar 2004 02:38:26 +
sam
30 matches
Mail list logo