Hi,

I have the following link in my JSP page:

<td width="130"><a href="/servlets/blotter/Contact?page=viewcontactlist" 
target="rightframe" class="linkbold">Contact 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 instead of the servlet and I would like to 
set the value of the param 'page' to 'viewcontactlist' for my ActionForm class so that 
my Action class can use it.

Is it possible to do this?


Here is my ActionForm implementation:

import javax.servlet.http.HttpServletRequest;
import org.apache.strus.action.*;

public final class ContactForm extends ActionForm {

      // page parameter from the CDS menu

      private String pageName =null;
      public String getPageName(){
            return (this.pageName);
      }

      public void setPageName(String pageName){
            this.pageName = pageName;
      }
}




--

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 the material in this e-mail is strictly forbidden.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to