Sathish,
Your method signature seems incorrect. According to the javadocs (v1.0),
perform (which is deprecated) requires the following argument types:
public ActionForward perform(ActionMapping mapping,
ActionForm form,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
-David
-Original Message-
From: Sathish Babu K R [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 12:05 AM
To: [EMAIL PROTECTED]
Subject: from sathish
hi all
while access to the action class,i m getting the error
as
java.lang.NoSuchMethodError at
com.pronto.web.ModifyGWQueuesAction.perform(Unknown
Source) at
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja
va:1787)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle9iAS (9.0.4.0.0) Containers for
J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at
oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:293)
at com.evermind[Oracle9iAS (9.0.4.0.0) Containers for
J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.j
ava:602)
at com.evermind[Oracle9iAS (9.0.4.0.0) Containers for
J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDis
patcher.java:308)
at com.evermind[Oracle9iAS (9.0.4.0.0) Containers for
J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:
779)
at com.evermind[Oracle9iAS (9.0.4.0.0) Containers for
J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:264)
at com.evermind[Oracle9iAS (9.0.4.0.0) Containers for
J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:107)
at com.evermind[Oracle9iAS (9.0.4.0.0) Containers for
J2EE].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourceP
ooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:479)
the action class is
package com.pronto.web ;
import java.io.IOException;
import java.util.Collection;
import java.util.ArrayList;
import javax.ejb.Handle;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionServlet;
import
com.pronto.gateway.IPGConfigurationManagerRemote;
import com.pronto.gateway.PGQueueVO;
import com.pronto.util.Debug;
public final class ModifyGWQueuesAction extends Action
{
public ActionForward perform(ActionMapping
mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException {
HttpSession session = request.getSession();
ModifyGWQueuesForm theForm =
(ModifyGWQueuesForm)form;
long x=1,y=2,z=3;
String b1="N",b2="N",b3="N";
float abw1=1,abw2=1,abw3=1;
boolean msg=true;
String button=request.getParameter("Management");
Debug.print("ModifyGWQueuesAction : perform() --
Button Clicked: " + button);
if("Save".equals(button))
{
String queuename = theForm.getqueuename();
Debug.print("ModifyGWQueuesAction : perform() --
Queue Name1 : " + queuename);
String queuename1 = theForm.getqueuename1();
Debug.print("ModifyGWQueuesAction : perform() --
Queue Name2 : " + queuename1);
String queuename2 = theForm.getqueuename2();
Debug.print("ModifyGWQueuesAction : perform() --
Queue Name3 : " + queuename2);
String queuebandwidth =
theForm.getqueuebandwidth();
Debug.print("ModifyGWQueuesAction : perform() --
Queue Bandwidth1 : " + queuebandwidth);
abw1=(new Float(queuebandwidth)).floatValue();
String queuebandwidth1 =
theForm.getqueuebandwidth1();
Debug.print("ModifyGWQueuesAction : perform() --
Queue Bandwidth2 : " + queuebandwidth1);
abw2=(new Float(queuebandwidth1)).floatValue();
String queuebandwidth2 =
theForm.getqueuebandwidth2();
Debug.print("ModifyGWQueuesAction : perform() --
Queue Band