Hi,
I have a bean StoreRoomForm which I have saved in the session in application
scope via:
StoreRoomForm storerooms=new StoreRoomForm();
ServletContext context=this.getServlet().getServletContext();
context.setAttribute("storeroom",storerooms );
StoreRoomForm has the
Hi,
caching my lists is going pretty well.
In the init of my ActionServlet I compile all my lists and place them into
the ServletContext. Then throughout my web pages I pull the lists out and
populate select boxes. I have noticed a large speed improvement.
My next challenge is going to be to
Hi,
I have almost moved my app over to struts. Fantastic framework. I am being
held up at that dual select control where the user selects a storeroom in
the first box and the second box is populated with locations using criteria
from the first.
I have a class pwStoreroomList in the session
You were right, the class was not public.
What exception does it throw? This should be in the log file for your
servlet container. I would bet, however, that your class is not "public",
or does not have a public no-args constructor.
Thanks
Alex
Hi,
I have two combo boxes. The first is a list of storerooms. When the user
picks a storeroom, the second combo is filled using the value in the first.
I have a session bean 'requisition' that is used over a number of forms.
My first combo is as follows:
TR
TDbean:message
Hi,
should you be overriding ActionServlet?
Since ActionServlet is the main servlet I need ActionServlet to during its
init method to read the servlet config settings and place the values into my
general purpose config object. Should I be overriding the init method of
ActionServlet?
Thanks for
can get the value via JavaScript but then what do I
do?
Any help is appreciated.
Regards
Alex Colic
Hi,
I amusing the example struts app to modify my present web app. I am using
one bean across a number of forms. Each form populates this bean.
In my loginaction servlet I create an instance of a bean and place it into
the session.
I then intend to have that bean used across all forms. In the
Hi,
simple questions.
On web page 1 the user enters something. The page 1 action servlet hits the
database and creates a record. Lets say the servlet gets a record number
back.
On page 2 you want to notify the user of the record number. How can you pass
the number created by the 1 action
Hi, I have a text box mapped to a bean via:
html:text property="requisitionLines.requiredOnDate" size="10" /
My form is called requisition.
If I try to set the value of the text box via JavaScript I have to access
the box via
form.object or requisition.requsitionLine.requiredOnDate.
Hi, I am porting one of my web apps to the struts infrastructure. I have a
few questions that should get me on the right track. I hope someone out
there can help.
1: I understand that you have a bean associated with a form and the form
populates the bean and is populated by the bean. Lets say
to change that so I want
to make that text box read-only.
Regards
Alex Colic, HBA, B. Ed
PopWare Inc. "Driving down the cost of conversions!"
E-Mail: [EMAIL PROTECTED]
Tel: 1-905-777-8171 ext. 104
Fax: 1-905-777-0132
er that I need to call methods on. How do you
do that in the below tag?
html:text name="user" property="employee.getDepartment()" size="16"
maxlength="20" /
Any help is this case is highly appreciated.
Regards
Alex Colic, HBA, B. Ed
PopWare Inc. "Driv
Last question. Could someone explain this part of struts.xml
Am I correct that:
path=form action path that is submitting this request
type=class to handle this request
name=name of form bean to handle this request
scope=scope of from bean
input=path of page submitting this request
forward=local
ot;
Sorry.
Regards
Alex Colic, HBA, B. Ed
PopWare Inc. "Driving down the cost of conversions!"
E-Mail: [EMAIL PROTECTED]
Tel: 1-905-777-8171 ext. 104
Fax: 1-905-777-0132
, actionInstance);
As I step through I can see that clazz is properly created but the next line
when actionInstance is set to clazz.newInstance throws an exception.
Throughout the method actionInstance =null.
I obviously have set something up incorrectly in struts-config.xml.
Can anyone he
101 - 116 of 116 matches
Mail list logo