Re: I am seeing double executions of my actions on a single form submit

2002-11-08 Thread Sridhara S.N.
I think you have the submit statement in onClick event(javascript) of the
button, remove the submit statement.


- Original Message -
From: [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, November 08, 2002 9:38 AM
Subject: I am seeing double executions of my actions on a single form submit


 When I submit my forms I am seeing my debug code in my Actions execute
 twice.  I'm only clicking the button 1 time.  I'm trying to determine why
 this might be hapening.  Has anyone experienced this double post problem
 and did you find a solution?

 I am using IE 5.5 SP2, TOMCAT 4.0.3, JBuilder 7




--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: Error while using struts taglibs

2002-07-24 Thread Sridhara S.N.

Hi rakesh,

In web.xml (under WEB-INF folder) you have to specify the taglibrary path,
for eg.

If you have a folder tags inside WEB-INF and you have all the .tld files
inside that, than the web.xml should have the
taglib description as below

taglib
  taglib-uristruts-bean/taglib-uri
  taglib-location/WEB-INF/tags/struts-bean.tld/taglib-location
 /taglib

In JSP files use the taglib as below

%@ page language=java%
%@ taglib uri=struts-bean prefix=bean %

bean:message key=helloworld/


Regards,
Sridhara S.N.
- Original Message -
From: Rakesh N R [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, July 20, 2002 6:28 AM
Subject: Error while using struts taglibs


 Hi All,

  I am using struts with weblogic5.1. I am getting a problem in a page
 which was functioning fine earlier. It has to do with initializing the
 taglibraries. This is given for all tag libraries not specifically with
 bean tags. What could be the reason for the same. I am pasting the stack
 trace. I am badly caught up because of this problem.
 Thanks in advance.

 Regards,
 Rakesh

 **
 taglib uri '/WEB-INF/struts-bean.tld' to taglib-location
 /WEB-INF/struts-bean.tl
 d:
 Sat Jul 20 16:52:52 GMT+05:30 2002:E WebAppServletContext-General
 Servlet fa
 iled with Exception
 weblogic.servlet.jsp.JspException: (line -1): Error in tag library at:
 'bean': e
 rror introspecting class: 'org.apache.struts.taglib.bean.CookieTag':
 weblogic.se
 rvlet.jsp.JspException: (line -1): Error in tag library at: 'bean':
 class org.ap
 ache.struts.taglib.bean.CookieTag doesn't implement
 javax.servlet.jsp.tagext.Tag

 at
 weblogic.servlet.jsp.StandardTagLib.jspException(StandardTagLib.java:
 138)
 at
 weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java, C
 ompiled Code)
 at
 weblogic.servlet.jsp.StandardTagLib.processTagElements(StandardTagLib
 .java, Compiled Code)
 at
 weblogic.servlet.jsp.StandardTagLib.init(StandardTagLib.java:125)
 at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:87)
 at
 weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java, C
 ompiled Code)
 at
 weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java, Compil
 ed Code)
 at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java,
 Compiled Code
 )
 at
 weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1694)
 at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1535)
 at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java,
 Compiled Code)

 at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java, Compiled
 Code)
 at weblogic.servlet.jsp.JspParser.doit(JspParser.java, Compiled
 Code)
 at weblogic.servlet.jsp.JspParser.parse(JspParser.java:116)
 at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
 at
 weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java, Co
 mpiled Code)
 at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java,
 Compiled Code)

 at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)

 at
 weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
 java, Compiled Code)
 at
 weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
 pl.java, Compiled Code)
 at
 weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
 pl.java, Compiled Code)
 at
 weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
 cherImpl.java:154)
 at
 org.apache.struts.action.ActionServlet.processActionForward(ActionSer
 vlet.java:1759)
 at
 org.apache.struts.action.ActionServlet.process(ActionServlet.java:159
 6)
 at
 org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
 pl.java, Compiled Code)
 at
 weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
 textImpl.java, Compiled Code)
 at
 weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
 textImpl.java, Compiled Code)
 at
 weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
 ContextManager.java, Compiled Code)
 at
 weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
 a, Compiled Code)
 at
 weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java, Com
 piled Code)
 at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
 Compiled Code)










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


--
To unsubscribe, e-mail