You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by James Mitchell <jm...@apache.org> on 2003/08/08 06:20:54 UTC

RE: DigestingPlugIn [potential bug]

Ok, I haven't dug in my heals to figure this out myself.  I downloaded
jgs-struts-0.2-dev.jar, then configured my plugin:

  <plug-in className="com.jgsullivan.struts.plugins.DigestingPlugIn">
    <set-property property="configPath" value="/WEB-INF/config.xml"/>
    <set-property property="configSource" value="servlet"/>
    <set-property property="digesterPath" value="digester-menu.xml"/>
    <set-property property="digesterSource" value="classpath"/>
    <set-property property="key" value="MENUS_KEY"/>
  </plug-in>


....works fine.

I'm using the 1.1 final jar, so I simply added your new file to my own
project.

Now when I change the className from....

"com.jgsullivan.struts.plugins.DigestingPlugIn" to
"org.apache.struts.plugins.DigestingPlugIn"

....it fails and causes my app to be unavailable.


I'm not looking for a fix just yet.  I just thought you should know.


--
James Mitchell
Software Engineer / Struts Evangelist
http://www.struts-atlanta.org
770-822-3359
AIM:jmitchtx




> -----Original Message-----
> From: James Mitchell [mailto:jmitchell@apache.org]
> Sent: Thursday, August 07, 2003 9:35 PM
> To: Struts Users Mailing List
> Subject: RE: DigestingPlugIn
>
>
>
> I plan to use this extensively, thanks again!!!
>
>
> --
> James Mitchell
> Software Engineer / Struts Evangelist
> http://www.struts-atlanta.org
> 770-822-3359
> AIM:jmitchtx
>
>
>
>
> > -----Original Message-----
> > From: Joe Germuska [mailto:Joe@Germuska.com]
> > Sent: Thursday, August 07, 2003 5:23 PM
> > To: Struts Users Mailing List
> > Subject: Re: DigestingPlugIn
> >
> >
> > At 14:12 -0700 8/7/03, James Mitchell wrote:
> > >
> > >I noticed the check in of DigestingPlugIn and I want to try it out.
> > >
> > >Unless I missed it somewhere, it's not clear to me how to use it.
> > >If it actually does what I'm
> > >hoping/guessing (based on the name and comments),  I'll be one happy
> > >camper!!!!
> > >
> > >Can you give us a brief 'how to'?
> >
> > I wrote up an example last weekend based on the version in
> > jgs-struts -- see
> > http://demo.jgsullivan.com/struts/DigestingPlugIn.html
> > and
> > http://demo.jgsullivan.com/struts/DigestingPlugIn_Example.html
> >
> > Some of this may not apply directly to the version which was
> > committed, but it should get you rolling.    If there *are*
> > discrepancies, we can discuss whether to adjust the version in CVS or
> > adjust the docs.
> >
> > The xdocs for those two documentation pages are in the source
> > distributions downloadable from
> > http://demo.jgsullivan.com/struts/download.html
> >
> > Let me know if I can clarify anything...
> >
> > Joe
> >
> > --
> > --
> > Joe Germuska
> > Joe@Germuska.com
> > http://blog.germuska.com
> > "If nature worked that way, the universe would crash all the time."
> > 	--Jaron Lanier
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


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


RE: DigestingPlugIn [potential bug]

Posted by Joe Germuska <Jo...@Germuska.com>.
At 3:21 -0400 8/9/03, James Mitchell wrote:
>Did my response ever make it?  I was using Yahoo web-mail and couldn't
>remember if I flipped the "from" selector to use the address I'm
>subscribed with.
>
>If not, then here's basically what I said:
>
>In my existing project, I added the complete source (per the cvs commit
>message).  I figured that it should work fine with the existing 1.1
>final jars that I already use.....but I could be wrong.

To what did you add the source?  If you have some Struts classes in 
/WEB-INF/classes and others in /WEB-INF/lib, I'm pretty sure the ones 
in classes won't be seen.  I'm not sure of the formal rules, but I 
seem to have experienced an inability to load classes in the same 
package from two different sources.

Joe
-- 
--
Joe Germuska            
Joe@Germuska.com  
http://blog.germuska.com    
"If nature worked that way, the universe would crash all the time." 
	--Jaron Lanier

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


RE: DigestingPlugIn [potential bug]

Posted by James Mitchell <jm...@apache.org>.
Did my response ever make it?  I was using Yahoo web-mail and couldn't
remember if I flipped the "from" selector to use the address I'm
subscribed with.

If not, then here's basically what I said:

In my existing project, I added the complete source (per the cvs commit
message).  I figured that it should work fine with the existing 1.1
final jars that I already use.....but I could be wrong.


--
James Mitchell
Software Engineer / Struts Evangelist
http://www.struts-atlanta.org
678.910.8017
AIM:jmitchtx




> -----Original Message-----
> From: Joe Germuska [mailto:Joe@Germuska.com] 
> Sent: Friday, August 08, 2003 10:19 AM
> To: Struts Users Mailing List
> Subject: RE: DigestingPlugIn [potential bug]
> 
> 
> At 0:20 -0400 8/8/03, James Mitchell wrote:
> >Ok, I haven't dug in my heals to figure this out myself.  I 
> downloaded
> >jgs-struts-0.2-dev.jar, then configured my plugin:
> >
> >   <plug-in 
> className="com.jgsullivan.struts.plugins.DigestingPlugIn">
> >     <set-property property="configPath" 
> value="/WEB-INF/config.xml"/>
> >     <set-property property="configSource" value="servlet"/>
> >     <set-property property="digesterPath" 
> value="digester-menu.xml"/>
> >     <set-property property="digesterSource" value="classpath"/>
> >     <set-property property="key" value="MENUS_KEY"/>
> >   </plug-in>
> >
> >
> >....works fine.
> >
> >I'm using the 1.1 final jar, so I simply added your new file 
> to my own
> >project.
> >
> >Now when I change the className from....
> >
> >"com.jgsullivan.struts.plugins.DigestingPlugIn" to
> >"org.apache.struts.plugins.DigestingPlugIn"
> >
> >....it fails and causes my app to be unavailable.
> >
> >
> >I'm not looking for a fix just yet.  I just thought you should know.
> 
> Check me if I'm missing something -- but if you're using 1.1 final, 
> where will it find "org.apache.struts.plugins.DigestingPlugIn"?
> 
> Joe
> 
> -- 
> --
> Joe Germuska            
> Joe@Germuska.com  
> http://blog.germuska.com    
> "If nature worked that way, the universe would crash all the time." 
> 	--Jaron Lanier
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


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


RE: DigestingPlugIn [potential bug]

Posted by Joe Germuska <Jo...@Germuska.com>.
At 0:20 -0400 8/8/03, James Mitchell wrote:
>Ok, I haven't dug in my heals to figure this out myself.  I downloaded
>jgs-struts-0.2-dev.jar, then configured my plugin:
>
>   <plug-in className="com.jgsullivan.struts.plugins.DigestingPlugIn">
>     <set-property property="configPath" value="/WEB-INF/config.xml"/>
>     <set-property property="configSource" value="servlet"/>
>     <set-property property="digesterPath" value="digester-menu.xml"/>
>     <set-property property="digesterSource" value="classpath"/>
>     <set-property property="key" value="MENUS_KEY"/>
>   </plug-in>
>
>
>....works fine.
>
>I'm using the 1.1 final jar, so I simply added your new file to my own
>project.
>
>Now when I change the className from....
>
>"com.jgsullivan.struts.plugins.DigestingPlugIn" to
>"org.apache.struts.plugins.DigestingPlugIn"
>
>....it fails and causes my app to be unavailable.
>
>
>I'm not looking for a fix just yet.  I just thought you should know.

Check me if I'm missing something -- but if you're using 1.1 final, 
where will it find "org.apache.struts.plugins.DigestingPlugIn"?

Joe

-- 
--
Joe Germuska            
Joe@Germuska.com  
http://blog.germuska.com    
"If nature worked that way, the universe would crash all the time." 
	--Jaron Lanier

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