Hi,
Your action form is nothing more than ur HTML form at client. just
checkout which part of ur HTML elements is populating that property. U
can access that element using form.element in ur javascript..
Are you looking into something else?
Thanks,
Jitender.
:
was Jitender K Chukkavenkata/India/IBM
received
by
Hi Priya,
Check your struts-config.xml whether you have given an appropriate value
for input attribute in the action tag.
This becomes mandatory when you set the validation to true.
Jitender Kumar C.V.
IBM Global Services India (Pvt.) Ltd.,
O2 Companion UK,
Desk No.SA2-*1-215,
No.12, Phase II, S
:
was Jitender K Chukkavenkata/India/IBM
received
by
:
was Jitender K Chukkavenkata/India/IBM
received
by
Hi Sailesh,
Can I have one?
Jitender Kumar C.V.
:
was Jitender K Chukkavenkata/India/IBM
received
by
Sorry,
My assumption about your problem is different I guess...
Jitender Kumar C.V.
hi,
Action classes must be delegates to the actual business logic. Make
business logic available in a different layer (say helper classes) and let
the action class to invoke the actual business logic.
Jitender Kumar C.V.
org.apache.struts.config.DataSourceConfig holds a getKey() method that
returns you the DataSource key underwhich the Datasource object is stored
in the servlet Context...just find it out and try making use of it...
Thanks,
Jitender Kumar C.V.
yeah...It might be the problem because... also expects any one
of the properties. Anyways...nice to c ur problem solved...
Cheers... :-)
Jitender Kumar C.V.
Be passionate at what ever you do.
I was just wondering that I couldnt find any mapping in JSP for the method
nextController(). Iam sorry I was actually expecting the value of action
attribute of but not URL.
Jitender Kumar C.V.
Hi,
I need the url that you are giving for and also the mapping of
the same in struts-config.xml...The error might be like you are using some
conflicting properties because, "forward", "href", "page" or "action" are
exclusive properties. Any combination of these properties for a tag
generate
Which part of your code generated this? Can I have a look over it?
Thanks,
Jitender Kumar C.V.
Hi Sebastian,
I would suggest you to manually call validate method and let your data
still remains in the request scope incase of validation being failed. I
feel this to be a better solution for your scenario.
Jitender Kumar C.V.
I dont think this is right solution..
Jitender Kumar C.V.
Could you be little bit clear at your JSP?
Thanks.
Jitender Kumar C.V.
Use javascript to load a function on window event close. Let that
javascript pass a request to an action (like InvalidateSessionAction that
holds the logic to manage the same). thats it.
Jitender Kumar C.V.
Let us respect group values...No personals pleasesend a personal mail
if curious of knowing...
Jitender Kumar C.V.
Waaarm welcome Kranti...Have funn...
Jitender Kumar C.V.
I would agree with him. I can suggest you the same.
Jitender Kumar C.V.
hei
just check this :+
Are you setting attribute message="true" ?
Thanks.
Jitender Kumar C.V.
Please tell me Y are you using the shaded code when the classes being used
are depricated.
If i use this:
i get no message in my jsp file.
Once Again my Actionclass says:
ActionMessages messages = new ActionMessages();
errors.a
U can use
First method:
Or, you can place specific messages at different locations
use tag or tag for accessing messages in the
same way as you use tag.
Jitender Kumar C.V.
Hi Priya,
I dont think that the action (not being actually a struts action)
should have a corresponding mapping in struts-config.xml in your case. Use
html:link tag instead of tag. I think this will solve your problem.
Jitender Kumar C.V.
:
was Jitender K Chukkavenkata/India/IBM
received
by
:
was Jitender K Chukkavenkata/India/IBM
received
by
Divya,
if your problem is just to display an error message box instead of the
message. use the tag inside validator-rules.xml for your
validation and map it with appropriate message key that you want to
display. :)
Jitender Kumar C.V.
Hi Divya,
I think you need to extend your form class with
org.apache.struts.validator.action.ValidatorForm or ValidatorActionFrom
instead of org.apache.struts.action.ActionForm.
have u done it?
Regards,
Jitender.
A practical example of this is like:
there exists a home page link or any link common to all in every pages
that you navigate. Use the global forward instead of using a local
forward in such scenario.
Jitender Kumar C.V.
U can use struts validations framework as well go thru struts
validation framework..
Jitender Kumar C.V.
IBM Global Services India (Pvt.) Ltd.,
Embassy Golf Links Business Park, Block C,
Bangalore - 560 071.
Phone : + 91 (80) 51056320
Mobile: + 91 9886219429
Location : EGC-3*-058.
:
was Jitender K Chukkavenkata/India/IBM
received
by
Hi Hari,
Thanks for sending me the gmail invitation.
Jitender Kumar C.V.
:
was Jitender K Chukkavenkata/India/IBM
received
by
:
was Jitender K Chukkavenkata/India/IBM
received
by
Hei Keith,
Could you be little detail regarding struts-config.xml...what is
errors.do??
Jitender Kumar C.V.
:
was Jitender K Chukkavenkata/India/IBM
received
by
:
was Jitender K Chukkavenkata/India/IBM
received
by
:
was Jitender K Chukkavenkata/India/IBM
received
by
:
was Jitender K Chukkavenkata/India/IBM
received
by
Hi Veera,
You have used an identifier called employees for logic:iterate name
attribute. The name should be a valid bean name defined in any scope. I
guess you are giving a wrong reference. Try giving a valid bean reference
that exist in any scope.
Regards,
Jitender Kumar C.V.
:
was Jitender K Chukkavenkata/India/IBM
received
by
Where did you terminate tag. Close the
Jitender Kumar C.V.
Hi,
I have a struts application and a couple of JUnit testclasses for the
same developed in WSAD Environment(Windows). The same need to be deployed
in Unix box. I need an option of executing the remote JUnit Testcase
class(deployed in Unix box) from WSAD and trace the results thru the JUni
45 matches
Mail list logo