I am trying to modify the behavior of the ParameterAction.java in the org.apache.struts.scaffold to tailor it to my specific need.
I put the struts.jar and struts-scaffold.jar in my classpath while compiling the sub-class. Nonetheless, I got cannot resolve symbol symbol: class ParameterAction Here is my AuthorParameterAction that extends ParameterAction: package org.apache.artimus.article; import java.io.IOException; import java.util.Map; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.scaffold.lang.Tokens; import org.apache.struts.action.Action; import org.apache.struts.action.ActionError; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import org.apache.struts.action.ActionServlet; public class AuthorParameterAction extends ParameterAction { protected ActionForward findSuccess( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { // Get "dispatch" parameter String parameter = request.getParameter(Tokens.DISPATCH); // Get stub URI from mapping (/do/whatever?paramName=) StringBuffer path = new StringBuffer(64); path.append(mapping.findForward(parameter).getPath()); // Append the value passed (/do/whatever?paramName=paramProperty) path.append(request.getRemoteUser()); // Return a new forward based on stub+value return new ActionForward(path.toString()); } } // end AuthorParameterAction __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]