Hi,
I have the following mock test code. When I run it I get the below error message.
Any ideas?
java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
for contactId be called?
// This is my ActionForm class
package com.db.gcp.lemweb.blotter.contacts;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.*;
//---
// Author: Mehran Zonouzi
Hi,
I can not understand why the below does not function..
html:link
action=editcontact.do?page=editcontactcontactid=%=contact.getID()%%=contact.getLastName()%,
%=contact.getFirstName()%
/html:link
When the mouse is hovering over the link I get the below:
Thanks Rob.
It worked!
--
This e-mail may contain confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error) please notify the sender
immediately and destroy this e-mail. Any unauthorized copying, disclosure or
distribution of
Hi,
I have a web page with 2 vertical frames.
I have the following link in my left hand frame and I want the users to view the
results
in the right hand frame when they click on the link.
td width=130
html:link action=Contacts.do?page=viewcontactlistbContact
List/b/html:link
/td
What exactly does this mean?
Where targetAction exists in some scope and has a value of
viewcontactlist.
--
This e-mail may contain confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error) please notify the sender
immediately
I am getting this error message when my JSP page first loads up.
Cannot find bean viewcontactlist in scope request
I am using a link to call my ActionForm class( as below):
html:link action=contact.do paramId=page paramName=viewcontactlist
paramScope=request/html:link
My ActinForm is called
Hi,
I have the following link in my JSP page:
td width=130a href=/servlets/blotter/Contact?page=viewcontactlist
target=rightframe class=linkboldContact List/a/td
I want to mimic the above using Struts JSP tags(I don't want to use a SUBMIT button).
However, I want to call my ActionForm class
to a
parameter-specific method inside the action.
Hope this helps.
Joe
At 14:23 +0100 9/9/03, Mehran Zonouzi wrote:
Hi,
I have the following link in my JSP page:
td width=130a
href=/servlets/blotter/Contact?page=viewcontactlist
target=rightframe class=linkboldContact List/a/td
I want
Hi,
Does anyone know how to use the html:link taglibs to call an ActionForm bean from a
link?
I also want to pass a param called 'page' to the link and set it's value to be
'viewcontactlist'.
This is my ActionForm bean:
import javax.servlet.http.HttpServletRequest;
import
At 15:03 +0100 9/9/03, Mehran Zonouzi wrote:
Yes I am going to pass the same param to the link every time.
This is what
I solved the problem...
In my struts-config file inside the form-beans tag I was refering to the Action
class instead of the
ActionForm class and that was causing problem.
I kep getting a
javax.servlet.ServletException: No getter method for property lastName of bean
org.apache.struts.taglib.html.BEAN
error message when I try to call the below .jsp page.
I am sure I am using the gettter and setter methods with the correct names.
I have also tried calling the jsp
I have the below in my jsp page
Last Name: html:text property=lastname/br
and this in my ActionForm subclass
private String lastName = null;
public String getlastname(){
return this.lastName;
}
public void setlastname( String lastName){
this.lastName =
Hi,
I am very new to the validator framework. I would like to use it outside of Struts
framework. Is it possible to do this?
If so can someone point me in the right direction plz...
Thank you
--
This e-mail may contain confidential and/or privileged information. If you are not the
intended
http://javaboutique.internet.com/tutorials/Struts
is a good place to start
Arindam
Hi,
Can someone tell me where to download the commons validator example app from?
I am interested in the example of how to use the struts validator outside of
Strus framework.
Thanks
--
This e-mail may contain confidential and/or privileged information. If you are not the
intended
--- Mehran
--- Mehran Zonouzi [EMAIL PROTECTED] wrote:
Are there any complete examples anywhere on the subject?
I'm not sure
--- Mehran Zonouzi [EMAIL PROTECTED] wrote:
Thanks David.
You may or may have noticed this but I am very new to this mailing list
so please excuse me for asking
elementary
20 matches
Mail list logo