Struts PlugIn Interface Mystery: Where does the second class come from?

2003-03-28 Thread Micael
I have created a daemon which I want to startup when Tomcat is started 
up.  If I configure the daemon to be started with a servlet in web.xml or 
by using a PlugIn interface and struts-config.xml, I get two daemons 
running.  How I don't know.  If I don't start the daemon at startup but by 
tweaking a servlet after startup, where the servlet calls the daemon, then 
I don't get two daemons.  Does anyone have any idea how this is 
happening?  I am getting two classloaders of the same type, i.e. same type 
but different hashcodes.  Anyone know what is going on.  I am running 
Struts 1.1 and Tomcat 1.1.18.  I have asked this question in a few ways 
with no responses.  I can find nothing relevant in the archives.  They are 
both coming from the WebappClassLoader which has as a parent 
[EMAIL PROTECTED]

Hopefully someone has some assistance, because I am somewhat at a 
loss.  This must have something to do with the launcher, but I don't know 
what.  I have tried to get some information for a week out of this 
list.  Not sure if no one is doing PlugIns, or why there is so little 
interest in this.

The hashcodes I get for the classloaders are as follows:

LOOP: ClassLoader.hashCode(): 728272 Class.hashCode(): 15612583   Check 
No.: 657) Fri Mar 28 22:47:17 PST 2003 END

LOOP: ClassLoader.hashCode(): 20632381 Class.hashCode(): 10973446  Check 
No.: 659) Fri Mar 28 22:47:19 PST 2003 END

The details on the classloaders are:

LOOP: ClassLoader.toString(): WebappClassLoader
  available:
Extension[org.apache.commons.beanutils, implementationVendor=Apache 
Software Foundation, implementationVersion=1.4-dev, 
specificationVendor=Apache Software Foundation, specificationVersion=1.0]
Extension[org.apache.commons.collections, implementationVendor=Apache 
Software Foundation, implementationVersion=2.0, specificationVendor=Apache 
Software Foundation, specificationVersion=1.0]
Extension[org.apache.commons.dbcp, implementationVendor=Apache 
Software Foundation, implementationVersion=1.0-dev, 
specificationVendor=Apache Software Foundation, specificationVersion=1.0]
Extension[org.apache.commons.digester, implementationVendor=Apache 
Software Foundation, implementationVersion=1.3-dev, 
specificationVendor=Apache Software Foundation, specificationVersion=1.0]
Extension[commons-lang, implementationVendor=Apache Software 
Foundation, implementationVersion=1.0-dev, specificationVendor=Apache 
Software Foundation, specificationVersion=1.0]
Extension[org.apache.commons.logging, implementationVendor=Apache 
Software Foundation, implementationVersion=1.0.1-dev, 
specificationVendor=Apache Software Foundation, specificationVersion=1.0]
Extension[org.apache.commons.pool, implementationVendor=Apache 
Software Foundation, implementationVersion=1.0, specificationVendor=Apache 
Software Foundation, specificationVersion=1.0]
Extension[org.apache.commons.resources, implementationVendor=Apache 
Software Foundation, implementationVersion=0.1-dev, 
specificationVendor=Apache Software Foundation, specificationVersion=1.0]
Extension[org.apache.commons.services, implementationVendor=Apache 
Software Foundation, implementationVersion=1.0-dev, 
specificationVendor=Apache Software Foundation, specificationVersion=1.0]
Extension[Struts Framework, implementationVendor=Apache Software 
Foundation, implementationVendorId=org.apache, implementationVersion=1.0, 
specificationVendor=Apache Software Foundation, specificationVersion=1.0]
Extension[Components Framework, implementationVendor=Apache Software 
Foundation, implementationVendorId=org.apache, implementationVersion=0.7, 
specificationVendor=Apache Software Foundation, specificationVersion=1.0]
  delegate: false
  repositories:
/WEB-INF/classes/
  required:
--> Parent Classloader:
StandardClassLoader
  available:
  delegate: true
  repositories:
  required:
--> Parent Classloader:
StandardClassLoader
  available:
Extension[org.apache.tools.ant, implementationVendor=Apache Software 
Foundation, implementationVersion=1.5.1, specificationVendor=Apache 
Software Foundation, specificationVersion=1.5.1]
Extension[org.apache.commons.collections, implementationVendor=Apache 
Software Foundation, implementationVersion=1.1-dev, 
specificationVendor=Apache Software Foundation, specificationVersion=1.0]
Extension[org.apache.commons.logging, implementationVendor=Apache 
Software Foundation, implementationVersion=1.0.2, 
specificationVendor=Apache Software Foundation, specificationVersion=1.0]
  delegate: true
  repositories:
file:C:\michaelmcgrady\tomcat\common\lib\ant.jar
file:C:\michaelmcgrady\tomcat\common\lib\commons-collections.jar
file:C:\michaelmcgrady\tomcat\common\lib\commons-logging-api.jar
file:C:\michaelmcgrady\tomcat\common\lib\jasper-compiler.jar
file:C:\michaelmcgrady\tomcat\common\lib\jasper-runtime.jar
file:C:\michaelmcgrady\tomcat\common\lib\jdbc2_0-stdext.jar
file:C:\michaelmcgrady\tomcat\comm

cvs commit: jakarta-struts build.properties.sample build.xml

2003-03-28 Thread jmitchell
jmitchell2003/03/28 21:58:14

  Modified:.build.properties.sample build.xml
  Log:
  -Changes to support new taglib html report generator.
  -I also added the correct references for running the cactus tests on various 
versions (with dependencies) of cactus.  I hope this will clear up any confusion of 
which versions work.  I'm currently using 13-1.4.1 and it works fine.
  
  Revision  ChangesPath
  1.33  +89 -12jakarta-struts/build.properties.sample
  
  Index: build.properties.sample
  ===
  RCS file: /home/cvs/jakarta-struts/build.properties.sample,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- build.properties.sample   6 Mar 2003 04:20:49 -   1.32
  +++ build.properties.sample   29 Mar 2003 05:58:14 -  1.33
  @@ -115,22 +115,102 @@
   # contrib library (although it doesn't prevent you from building it directly in
   # "contrib/struts-el".
   
  -jstl.jar = ${apache.home}/jakarta-taglibs/jstl-1.0/lib/jstl.jar
  -jstl-standard.jar= ${apache.home}/jakarta-taglibs/jstl-1.0/lib/standard.jar
  +jstl.home=${apache.home}/jakarta-taglibs/standard-1.0
  +jstl.jar =${jstl.home}/lib/jstl.jar
  +jstl-standard.jar=${jstl.home}/lib/standard.jar
   
   # Properties related to Struts unit testing
  +# Choose your Cactus!
   # -
  +# Cactus 12-1.3 home
  +#cactus.home=${apache.home}/jakarta-cactus-12-1.3
  +#cactus.lib=${cactus.home}/lib
   
  -# Cactus home
  -cactus.home=${apache.home}/jakarta-cactus-12-1.3
  +# Cactus jar for the Servlet API corresponding to the servlet.jar file
  +# selected above (either 2.2 or 2.3)
  +#cactus.jar = ${cactus.lib}/cactus.jar
  +
  +# Cactus Ant custom tasks jar
  +#cactus.ant.jar = ${cactus.lib}/cactus-ant.jar
  +
  +# AspectJ from Cactus distribution
  +#aspectjrt.jar = ${cactus.lib}/aspectjrt.jar
  +
  +# The httpunit runtime jar
  +httpunit.jar = ${cactus.lib}/httpunit.jar
  +
  +# -
  +# Cactus 12-1.4 home
  +#cactus.home=${apache.home}/jakarta-cactus-12-1.4
  +#cactus.lib=${cactus.home}/lib
  +
  +# Cactus jar for the Servlet API corresponding to the servlet.jar file
  +# selected above (either 2.2 or 2.3)
  +#cactus.jar = ${cactus.lib}/cactus-1.4.jar
  +
  +# Cactus Ant custom tasks jar
  +#cactus.ant.jar = ${cactus.lib}/cactus-ant-1.4.jar
  +
  +# AspectJ from Cactus distribution
  +#aspectjrt.jar = ${cactus.lib}/aspectjrt-1.0.5.jar
  +
  +# The httpunit runtime jar
  +httpunit.jar = ${cactus.lib}/httpunit-1.4.1.jar
  +
  +# -
  +# Cactus 12-1.4.1 home
  +#cactus.home=${apache.home}/jakarta-cactus-12-1.4.1
  +#cactus.lib=${cactus.home}/lib
  +
  +# Cactus jar for the Servlet API corresponding to the servlet.jar file
  +# selected above (either 2.2 or 2.3)
  +#cactus.jar = ${cactus.lib}/cactus-1.4.1.jar
  +
  +# Cactus Ant custom tasks jar
  +#cactus.ant.jar = ${cactus.lib}/cactus-ant-1.4.1.jar
  +
  +# AspectJ from Cactus distribution
  +#aspectjrt.jar = ${cactus.lib}/aspectjrt-1.0.5.jar
  +
  +# The httpunit runtime jar
  +httpunit.jar = ${cactus.lib}/httpunit-1.4.1.jar
  +
  +# -
  +# Cactus 13-1.3 home
  +#cactus.home=${apache.home}/jakarta-cactus-13-1.3
  +#cactus.lib=${cactus.home}/lib
  +
  +# Cactus jar for the Servlet API corresponding to the servlet.jar file
  +# selected above (either 2.2 or 2.3)
  +#cactus.jar = ${cactus.lib}/cactus.jar
  +
  +# Cactus Ant custom tasks jar
  +#cactus.ant.jar = ${cactus.lib}/cactus-ant.jar
  +
  +# AspectJ from Cactus distribution
  +#aspectjrt.jar = ${cactus.lib}/aspectjrt.jar
  +
  +# The httpunit runtime jar
  +httpunit.jar = ${cactus.lib}/httpunit.jar
  +
  +# -
  +# Cactus 13-1.4.1 home
  +cactus.home=${apache.home}/jakarta-cactus-13-1.4.1
   cactus.lib=${cactus.home}/lib
   
   # Cactus jar for the Servlet API corresponding to the servlet.jar file
   # selected above (either 2.2 or 2.3)
  -cactus.jar = ${cactus.lib}/cactus.jar
  +cactus.jar = ${cactus.lib}/cactus-1.4.1.jar
   
   # Cactus Ant custom tasks jar
  -cactus.ant.jar = ${cactus.lib}/cactus-ant.jar
  +cactus.ant.jar = ${cactus.lib}/cactus-ant-1.4.1.jar
  +
  +# AspectJ from Cactus distribution
  +aspectjrt.jar = ${cactus.lib}/aspectjrt-1.0.5.jar
  +
  +# The httpunit runtime jar
  +httpunit.jar = ${cactus.lib}/httpunit-1.4.1.jar
  +
   
   # URL used to run tests for cactus, change to non standard port
   # if container is already running on that port.
  @@ -141,11 +221,8 @@
   # Ant Optional Jars for Junit task
   ant.optional.jar = ${apache.home}/jakarta-ant-1.5.1/lib/optional.jar
   
  -# AspectJ from Cactus distribution
  -aspectjrt.jar = ${cactus.lib}/aspectjrt.jar
  -
  -# The httpunit runtime jar
  -httpunit.jar = ${cactus.lib}/httpunit.jar
  +# Ant Jar for optional taglib docu

cvs commit: jakarta-struts/contrib/tag-doc/src/java/org/apache/struts/taskdefs EnhMatchingTask.java TaglibDoc.java TaglibReport.java Util.java

2003-03-28 Thread jmitchell
jmitchell2003/03/28 21:51:41

  Added:   contrib/tag-doc build.xml
   contrib/tag-doc/src/resources/taglibreport index.xsl
overview-frame.xsl stylesheet.css taglib-report.xsl
   contrib/tag-doc/src/resources/taglibdoc all-tags.xsl
index.xsl overview-frame.xsl stylesheet.css
tag-frame.xsl taglib-frame.xsl taglib-summary.xsl
   contrib/tag-doc/src/java/org/apache/struts/taskdefs
EnhMatchingTask.java TaglibDoc.java
TaglibReport.java Util.java
  Log:
  Initial checkin.
  New contribution from Mohan Kishore.  See [ANN] on struts-users list for details.
  
  Revision  ChangesPath
  1.1  jakarta-struts/contrib/tag-doc/build.xml
  
  Index: build.xml
  ===
  
  




  









  



  


  
  



  
  

  

  

  

  

  

  
  

  

  

  
  
  

  

  



  

  
  
  

  

  

  

  
  
  
  

  

  
  
  
  
  
  1.1  
jakarta-struts/contrib/tag-doc/src/resources/taglibreport/index.xsl
  
  Index: index.xsl
  ===
  http://www.w3.org/1999/XSL/Transform";>
  
  
  
  
  
Taglib Documentation
  
  


  
  
  
  
Frame Alert

This document is designed to be viewed using the frames feature. 
If you see this message, you are using a non-frame-capable web client.

Link to Non-frame version.
  
  
  
  
  
  
  
  
  
  1.1  
jakarta-struts/contrib/tag-doc/src/resources/taglibreport/overview-frame.xsl
  
  Index: overview-frame.xsl
  ===
  http://www.w3.org/1999/XSL/Transform";>
  
  
  
  
  
Taglib Reports

  
  
  
  
  
  

  TagLibs


  
  
  

  taglibFrame
  -report.html
  FrameItem



  
  
  
  
  
  
  
  
  
  
  
  
  
  1.1  
jakarta-struts/contrib/tag-doc/src/resources/taglibreport/stylesheet.css
  
  Index: stylesheet.css
  ===
  /* Javadoc style sheet */
  
  /* Page background color */
  body { background-color: #FF }
  
  .FrameHeading { 
font-weight: bold;
font-size: large;
text-decoration: none;
  }
  .FrameItem { 
text-decoration: none;
  }
  .FrameHeading:link, .FrameHeading:visited, .FrameItem:link, .FrameItem:visited {
color: blue;
  }
  .FrameHeading:hover, .FrameHeading:active, .FrameItem:hover, .FrameItem:active {
color: #CC;
  }
  
  .FrameTitle { 
font-weight: bold;
font-size: large;
text-decoration: none;
  }
  
  .TableHeadingColor { background: #FF } /* Dark mauve */
  .TableRowColor { background: #FF } /* White */
  
  .TableRowTT{ background: #FFCC99 } /*  Reqd.  RTExprValue */
  .TableRowTF{ background: #FFCC99 } /*  Reqd. !RTExprValue */
  .TableRowFT{ background: #FF } /* !Reqd.  RTExprValue */
  .TableRowFF{ background: #FF } /* !Reqd. !RTExprValue */
  
  
  
  
  
  1.1  
jakarta-struts/contrib/tag-doc/src/resources/taglibreport/taglib-report.xsl
  
  Index: taglib-report.xsl
  ===
  http://www.w3.org/1999/XSL/Transform";>
  
  
  
  
  

  
  
  
  
  
  
   
   body-content 
  
  

    

  
  
  
  
  
  
  
  

  
  


  
  
true


  

  
#FF9933
 
  
  
#66
 
  


  
RT
  

  

 
  

  
  
  
  
  
  
  
  
  
  
  
  
  
  1.1  
jakarta-struts/contrib/tag-doc/src/resources/taglibdoc/all-tags.xsl
  
  Index: all-tags.xsl
  ===
  http://www.w3.org/1999/XSL/Transform";>
  
  
  
  
  

  
  
  
  
  
  

  All Tags


  
  
  

  tagFrame
  /.html
  FrameItem



  
  
  
  
  
  
  
  
  
  
  
  
  
  
  1.1  jakarta-struts/contrib/tag-doc/src/resources/taglibdoc/index.xsl
  
  Index: index.xsl
  ===
  http://www.w3.org/1999/XSL/Transform";>
  
  
  
  
  
Taglib D

cvs commit: jakarta-struts/contrib/tag-doc/src/resources/taglibreport - New directory

2003-03-28 Thread jmitchell
jmitchell2003/03/28 21:41:18

  jakarta-struts/contrib/tag-doc/src/resources/taglibreport - New directory

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



cvs commit: jakarta-struts/contrib/tag-doc/src/resources/taglibdoc - New directory

2003-03-28 Thread jmitchell
jmitchell2003/03/28 21:41:18

  jakarta-struts/contrib/tag-doc/src/resources/taglibdoc - New directory

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



cvs commit: jakarta-struts/contrib/tag-doc/src/java/org/apache/struts - New directory

2003-03-28 Thread jmitchell
jmitchell2003/03/28 21:41:01

  jakarta-struts/contrib/tag-doc/src/java/org/apache/struts - New directory

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



cvs commit: jakarta-struts/contrib/tag-doc/src/java/org/apache/struts/taskdefs - New directory

2003-03-28 Thread jmitchell
jmitchell2003/03/28 21:41:01

  jakarta-struts/contrib/tag-doc/src/java/org/apache/struts/taskdefs - New directory

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



cvs commit: jakarta-struts/contrib/tag-doc/src/java/org/apache - New directory

2003-03-28 Thread jmitchell
jmitchell2003/03/28 21:41:01

  jakarta-struts/contrib/tag-doc/src/java/org/apache - New directory

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



cvs commit: jakarta-struts/contrib/tag-doc/src/java/org - New directory

2003-03-28 Thread jmitchell
jmitchell2003/03/28 21:41:01

  jakarta-struts/contrib/tag-doc/src/java/org - New directory

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



cvs commit: jakarta-struts/contrib/tag-doc/src/resources - New directory

2003-03-28 Thread jmitchell
jmitchell2003/03/28 21:38:42

  jakarta-struts/contrib/tag-doc/src/resources - New directory

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



cvs commit: jakarta-struts/contrib/tag-doc/src/java - New directory

2003-03-28 Thread jmitchell
jmitchell2003/03/28 21:38:42

  jakarta-struts/contrib/tag-doc/src/java - New directory

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



cvs commit: jakarta-struts/contrib/tag-doc/src - New directory

2003-03-28 Thread jmitchell
jmitchell2003/03/28 21:37:18

  jakarta-struts/contrib/tag-doc/src - New directory

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



cvs commit: jakarta-struts/contrib/tag-doc - New directory

2003-03-28 Thread jmitchell
jmitchell2003/03/28 21:35:35

  jakarta-struts/contrib/tag-doc - New directory

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



DO NOT REPLY [Bug 18469] - Unable to forward from a template.

2003-03-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18469

Unable to forward from a template.





--- Additional Comments From [EMAIL PROTECTED]  2003-03-29 03:01 ---
The exception was thrown by o.a.s.taglib.template.InsertTag, not
o.a.s.taglib.tiles.InsertTag.

Have you tried to use struts-tiles instead of struts-template?

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



DO NOT REPLY [Bug 18460] - First select option is selected causes IE form problems

2003-03-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18460

First select option is selected causes IE form problems

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2003-03-28 17:07 ---
Do not file bug reports when your custom javascript breaks in a particular 
browser.  Struts is not built specifically for IE; it's built to adhere to 
various W3C specs.  Please post questions to struts-user.

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



DO NOT REPLY [Bug 18460] - First select option is selected causes IE form problems

2003-03-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18460

First select option is selected causes IE form problems





--- Additional Comments From [EMAIL PROTECTED]  2003-03-28 16:50 ---
Custom JavaScript.

Its just an onLoad function call that passes the document forms to the function 
proper. But it fails while examining the forms...

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



DO NOT REPLY [Bug 18460] - First select option is selected causes IE form problems

2003-03-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18460

First select option is selected causes IE form problems





--- Additional Comments From [EMAIL PROTECTED]  2003-03-28 16:41 ---
Is the embedded javascript you're referring to generated by Struts or is it your 
own custom javascript?

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



DO NOT REPLY [Bug 18460] - First select option is selected causes IE form problems

2003-03-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18460

First select option is selected causes IE form problems





--- Additional Comments From [EMAIL PROTECTED]  2003-03-28 15:33 ---
You would get a lot better help posting your questions to the Struts Users
Mailing list.

It would also be helpful to send in your jsp tags and the html output (view
source) that is on the page.

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



DO NOT REPLY [Bug 18460] - First select option is selected causes IE form problems

2003-03-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18460

First select option is selected causes IE form problems





--- Additional Comments From [EMAIL PROTECTED]  2003-03-28 15:25 ---
The page I submit from goes back to itself, the struts framework automatically 
places a selected attribute for the selected item...in this case the first 
option element of the select box.

There is embedded JavaScript within the page that use the pages' forms. This IE 
gives a JavaScript error due to JavaScript failing to execute because it thinks 
the form isn't properly formed, due to the 'selected' attribute in the first 
option.

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



Re: ActionServlet won't load with custom PlugIn

2003-03-28 Thread David Graham
This is a struts-user question.



From: Micael <[EMAIL PROTECTED]>
Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: ActionServlet won't load with custom PlugIn
Date: Fri, 28 Mar 2003 00:25:59 -0800
I am getting the following difficulty loading a class that implements the 
PlugIn interface.  I have property implemented the interface (it compiles) 
and I have added the equivalent of the following to the struts-config.xml:

Anyone know what I am doing wrong?  The ActionServlet won't load and the 
entire app won't run once this happens.

2003-03-27 13:34:29 StandardWrapper[/mySite:action]: Marking servlet action 
as unavailable
2003-03-27 13:34:29 StandardContext[/michaelmcgrady]: Servlet /mySite threw 
load() exception
javax.servlet.UnavailableException
	at 
org.apache.struts.action.ActionServlet.initApplicationPlugIns(ActionServlet.java:997)
	at org.apache.struts.action.ActionServlet.init(ActionServlet.java:458)
	at javax.servlet.GenericServlet.init(GenericServlet.java:256)
	at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:934)
	...
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)



LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 
you



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


_
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


DO NOT REPLY [Bug 18460] - First select option is selected causes IE form problems

2003-03-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18460

First select option is selected causes IE form problems

[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|First select option is  |First select option is
   |selected causes Internet|selected causes IE form
   |Explorer form problems  |problems

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



DO NOT REPLY [Bug 18470] - Finalizing this controller servlet

2003-03-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18470

Finalizing this controller servlet

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2003-03-28 15:04 ---
Please post your question to the struts-user mailing list.

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



DO NOT REPLY [Bug 18460] - First select option is selected causes Internet Explorer form problems

2003-03-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18460

First select option is selected causes Internet Explorer form problems





--- Additional Comments From [EMAIL PROTECTED]  2003-03-28 15:03 ---
What do you mean by "on the next page"?  Why is the same select box on your next 
form?  If you mean that it's selected when there are validation errors and 
you're forwarded back to the input form, that's the intended behavior.  How does 
IE behave *exactly*; is there a javascript error thrown?

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



DO NOT REPLY [Bug 18469] - Unable to forward from a template.

2003-03-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18469

Unable to forward from a template.

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2003-03-28 15:00 ---
This is probably caused by the *.do reference in the put tag.  Please post 
questions to the struts-user mailing list.

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



DO NOT REPLY [Bug 18470] New: - Finalizing this controller servlet

2003-03-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18470

Finalizing this controller servlet

   Summary: Finalizing this controller servlet
   Product: Struts
   Version: 1.0 Final
  Platform: Sun
OS/Version: Solaris
Status: NEW
  Severity: Blocker
  Priority: Other
 Component: Controller
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I am using struts 1.0 on Websphere Solaris 2.8. I find that i get this message 
in the log files 
"action: Finalizing this controller servlet"
and after that struts is getting reloaded. Because of this the user session is 
suddenly killed even when he is working (the application shows him the login 
page ). Can someone tell me why this happens (when does struts reload itself?)
I am giving the log file here.
==
 SRVE0091I: [Servlet LOG]: action: Finalizing this controller servlet
[3/28/03 12:46:45:347 GMT]   21da00 WebGroup  I SRVE0091I: [Servlet LOG]: 
EastServlet: destroy
[3/28/03 12:46:45:785 GMT]   21da00 WebGroup  I SRVE0091I: [Servlet LOG]: 
JSP 1.1 Processor: init
[3/28/03 12:46:45:807 GMT]   21da00 WebGroup  I SRVE0091I: [Servlet LOG]: 
FormLoginServlet: init
[3/28/03 12:46:45:828 GMT]   21da00 WebGroup  I SRVE0091I: [Servlet LOG]: 
FormLogoutServlet: init
[3/28/03 12:46:45:850 GMT]   21da00 WebGroup  I SRVE0091I: [Servlet LOG]: 
SimpleFileServlet: init
[3/28/03 12:46:45:946 GMT]   21da00 WebGroup  I SRVE0091I: [Servlet LOG]: 
EastServlet: init
[3/28/03 12:46:49:067 GMT]   21da00 WebGroup  I SRVE0091I: [Servlet LOG]: 
action: init
[3/28/03 12:46:49:092 GMT]   21da00 WebGroup  I SRVE0091I: [Servlet LOG]: 
action: Loading application resources from resource /WEB-
INF/ApplicationResources
[3/28/03 12:46:49:095 GMT]   21da00 WebGroup  I SRVE0091I: [Servlet LOG]: 
action: Initializing configuration from resource path /WEB-INF/struts-config.xml
[3/28/03 12:46:49:135 GMT]   21da00 SystemOut U register('-//Apache 
Software Foundation//DTD Struts Configuration 
1.0//EN', 'jar:file:/apps/glacms/expanded/glacms.war/WEB-
INF/lib/struts.jar!/org/apache/struts/resources/struts-config_1_0.dtd'
[3/28/03 12:46:49:136 GMT]   21da00 SystemOut U register('-//Sun 
Microsystems, Inc.//DTD Web Application 
2.2//EN', 'jar:file:/apps/glacms/expanded/glacms.war/WEB-
INF/lib/struts.jar!/org/apache/struts/resources/web-app_2_2.dtd'
[3/28/03 12:46:49:138 GMT]   21da00 SystemOut U register('-//Sun 
Microsystems, Inc.//DTD Web Application 
2.3//EN', 'jar:file:/apps/glacms/expanded/glacms.war/WEB-
INF/lib/struts.jar!/org/apache/struts/resources/web-app_2_3.dtd'
[3/28/03 12:46:49:154 GMT]   21da00 SystemOut U resolveEntity('-//Apache 
Software Foundation//DTD Struts Configuration 
1.0//EN', 'http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd')
[3/28/03 12:46:49:155 GMT]   21da00 SystemOut U  Resolving to alternate 
DTD 'jar:file:/apps/glacms/expanded/glacms.war/WEB-
INF/lib/struts.jar!/org/apache/struts/resources/struts-config_1_0.dtd'
[3/28/03 12:46:49:227 GMT]   21da00 SystemOut U New 
org.apache.struts.action.ActionFormBean
[3/28/03 12:46:49:229 GMT]   21da00 SystemOut U Set 
org.apache.struts.action.ActionFormBean properties
[3/28/03 12:46:49:288 GMT]   21da00 SystemOut U Call 
org.apache.struts.action.ActionServlet.addFormBean(ActionFormBean
[GLASearchView])
[3/28/03 12:46:49:290 GMT]   21da00 SystemOut U Pop 
org.apache.struts.action.ActionFormBean
[3/28/03 12:46:49:291 GMT]   21da00 SystemOut U New 
org.apache.struts.action.ActionFormBean
[3/28/03 12:46:49:292 GMT]   21da00 SystemOut U Set 
org.apache.struts.action.ActionFormBean properties
[3/28/03 12:46:49:293 GMT]   21da00 SystemOut U Call 
org.apache.struts.action.ActionServlet.addFormBean(ActionFormBean
[GLAClientSummaryView])
[3/28/03 12:46:49:293 GMT]   21da00 SystemOut U Pop 
org.apache.struts.action.ActionFormBean
[3/28/03 12:46:49:294 GMT]   21da00 SystemOut U New 
org.apache.struts.action.ActionFormBean
[3/28/03 12:46:49:295 GMT]   21da00 SystemOut U Set 
org.apache.struts.action.ActionFormBean properties
[3/28/03 12:46:49:296 GMT]   21da00 SystemOut U Call 
org.apache.struts.action.ActionServlet.addFormBean(ActionFormBean
[GLASumReportView])
[3/28/03 12:46:49:297 GMT]   21da00 SystemOut U Pop 
org.apache.struts.action.ActionFormBean
[3/28/03 12:46:49:298 GMT]   21da00 SystemOut U New 
org.apache.struts.action.ActionFormBean
[3/28/03 12:46:49:299 GMT]   21da00 SystemOut U Set 
org.apache.struts.action.ActionFormBean properties
[3/28/03 12:46:49:300 GMT]   21da00 SystemOut U Call 
org.apache.struts.action.Actio

DO NOT REPLY [Bug 18469] New: - Unable to forward from a template.

2003-03-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18469

Unable to forward from a template.

   Summary: Unable to forward from a template.
   Product: Struts
   Version: 1.1 RC1
  Platform: Sun
OS/Version: Solaris
Status: NEW
  Severity: Blocker
  Priority: Other
 Component: Custom Tags
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Called JSP (requestCreateMain99.jsp)  ...
<%@ taglib uri="/WEB-INF/tld/struts-template.tld" prefix="template" %>




Throws exception.
javax.servlet.jsp.JspException: Cannot forward because the response has already 
been committed
at org.apache.struts.taglib.template.InsertTag.doEndTag
(InsertTag.java:164)
at requestCreateMain99_8._jspService(requestCreateMain99_8.java:156)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService
(ServletHandler.java:484)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
at org.apache.tomcat.core.Handler.service(Handler.java:235)
at org.apache.tomcat.facade.ServletHandler.service
(ServletHandler.java:432)
at org.apache.tomcat.core.ContextManager.internalService
(ContextManager.java:917)
at org.apache.tomcat.core.ContextManager.service
(ContextManager.java:833)
at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection
(Ajp13Interceptor.java:213)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt
(PoolTcpEndpoint.java:477)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:519)
at java.lang.Thread.run(Thread.java:484)


one-pane-template.jsp ...
<%@ taglib uri="urn:org.apache.struts:struts-template.tld" prefix="template" %>







struts-config.xml ..




ProductListAction.java...
public class ProductListAction extends Action {
public ActionForward execute(
ActionMapping mapping, 
ActionForm form, 
HttpServletRequest request, 
HttpServletResponse response) 
throws Exception {

System.err.println("ProductListAction - start");
System.err.println("ProductListAction - end");
return mapping.findForward("success");
}
}

(requestCreate1.do) ProductListAction is called successfully. execute() 
completes ok, requestCreate1.jsp is never reached.

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



DO NOT REPLY [Bug 18460] - First select option is selected causes Internet Explorer form problems

2003-03-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18460

First select option is selected causes Internet Explorer form problems





--- Additional Comments From [EMAIL PROTECTED]  2003-03-28 11:39 ---
IE Version: 6.0.2800.1106 but I doubt this will make much difference.

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



DO NOT REPLY [Bug 18460] New: - First select option is selected causes Internet Explorer form problems

2003-03-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18460

First select option is selected causes Internet Explorer form problems

   Summary: First select option is selected causes Internet Explorer
form problems
   Product: Struts
   Version: 1.1 RC1
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Blocker
  Priority: Other
 Component: Unknown
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Struts  ensures that if the first select option is selected, after 
the page has been submitted, on the next page the first option element of the 
select has a  'selected' attribute in the HTML - this causes Internet Explorer 
to assume the form has an error - this does not occur when any of the other 
options elements have the 'selected' attribute - thus meaning I cannot use any 
javascript because the form appears malformed.

I belive that if the first option is selected then struts is best off not 
putting a selected tag in at all, IE will default to the top element.

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



ActionServlet won't load with custom PlugIn

2003-03-28 Thread Micael
I am getting the following difficulty loading a class that implements the 
PlugIn interface.  I have property implemented the interface (it compiles) 
and I have added the equivalent of the following to the struts-config.xml:

Anyone know what I am doing wrong?  The ActionServlet won't load and the 
entire app won't run once this happens.

2003-03-27 13:34:29 StandardWrapper[/mySite:action]: Marking servlet action 
as unavailable
2003-03-27 13:34:29 StandardContext[/michaelmcgrady]: Servlet /mySite threw 
load() exception
javax.servlet.UnavailableException
	at 
org.apache.struts.action.ActionServlet.initApplicationPlugIns(ActionServlet.java:997)
	at org.apache.struts.action.ActionServlet.init(ActionServlet.java:458)
	at javax.servlet.GenericServlet.init(GenericServlet.java:256)
	at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:934)
	...
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)



LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank you 



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