You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Hubert Rabago <ja...@yahoo.com> on 2004/03/16 19:07:50 UTC

RE: WSAD problems with Struts (was: Should I be able to put a path of a Action Class in a global forward?)

Just as I suspected.  I'm forced to use WSAD where I work, and I've turned
off a whole bunch of validations by it, including Struts.  It complains of a
lot of things that either it doesn't know about or it's just plain wrong
about.  Fortunately, I only have to run the app there, and not have to do any
serious coding with it.  My teammates aren't as fortunate, though.

Hubert

--- Gerald_Beattie@fmo.com wrote:
> WSSD 5.0.1
> (WebSphere Studio Site Developer)
> 
> 
> 
> 
> 
> Hubert Rabago <ja...@yahoo.com>
> 03/16/2004 12:58 PM
> Please respond to "Struts Users Mailing List"
> 
>  
>         To:     Struts Users Mailing List <st...@jakarta.apache.org>
>         cc: 
>         Subject:        RE: Should I be able to put a path of a Action
> Class in a global forward?
> 
> 
> Are you getting this from Struts or the container, or from your IDE?  What
> IDE are you using?  Some IDEs that try to support Struts aren't really 
> *that*
> in touch with what a developer can do with Struts.  If you have a doubt, 
> try
> running the app and see if it behaves the way you (and not your IDE) 
> expects
> it to behave.
> 
> Hubert
> 
> --- Gerald_Beattie@fmo.com wrote:
> > Everytime I put the global forward in the config-struts.xml document I 
> get 
> > the following error
> > 
> > Warning Target /contentView.do does not exist in the following modules: 
> /
> > 
> > It is like the contentView.do can not be resolved.
> > 
> > 
> > 
> > 
> > 
> > 
> > <an...@wipro.com>
> > 03/16/2004 12:32 PM
> > Please respond to "Struts Users Mailing List"
> > 
> > 
> >         To:     <st...@jakarta.apache.org>
> >         cc: 
> >         Subject:        RE: Should I be able to put a path of a Action
> > Class in a global forward?
> > 
> > 
> > 
> > Yes you can
> > 
> > 
> > -----Original Message-----
> > From: Gerald_Beattie@fmo.com [mailto:Gerald_Beattie@fmo.com]
> > 
> > Sent: Tuesday, March 16, 2004 11:02 PM
> > To: Struts Users Mailing List
> > Subject: Should I be able to put a path of a Action Class in a global
> > forward?
> > 
> > 
> > Should I be able to put a path of a Action Class in a global forward?
> > 
> > <global-forwards>
> > 
> > 
> >                 <forward name="startHere" path="/contentView.do" />
> > 
> > </global-forwards>
> > 
> > Confidentiality Notice
> > 
> > 
> > The information contained in this electronic message and any attachments 
> 
> > to this message are intended
> > for the exclusive use of the addressee(s) and may contain confidential 
> or 
> > privileged information. If
> > you are not the intended recipient, please notify the sender at Wipro or 
> 
> > Mailadmin@wipro.com immediately
> > and destroy all copies of this message and any attachments.
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > 
> > 
> > 
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - More reliable, more storage, less spam
> http://mail.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 
> 
> 


__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com

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


RE: WSAD problems with Struts (was: Should I be able to put a path of a Action Class in a global forward?)

Posted by Hubert Rabago <ja...@yahoo.com>.
My suggestion is to familiarize yourself with how Struts works, and apply
that knowledge when editing your config file.  From my experience, WSAD gets
a lot of things wrong.  If it complains about something you believe should
work, try it out yourself.  If you're pretty confident that you're correct,
and your tests prove it, and yet WSAD still complains, ignore it.  [You can
also do what I do -- filter out WSAD's Struts complaints :) ]

Hubert

--- Hubert Rabago <ja...@yahoo.com> wrote:
> Just as I suspected.  I'm forced to use WSAD where I work, and I've turned
> off a whole bunch of validations by it, including Struts.  It complains of
> a
> lot of things that either it doesn't know about or it's just plain wrong
> about.  Fortunately, I only have to run the app there, and not have to do
> any
> serious coding with it.  My teammates aren't as fortunate, though.
> 
> Hubert
> 
> --- Gerald_Beattie@fmo.com wrote:
> > WSSD 5.0.1
> > (WebSphere Studio Site Developer)
> > 
> > 
> > 
> > 
> > 
> > Hubert Rabago <ja...@yahoo.com>
> > 03/16/2004 12:58 PM
> > Please respond to "Struts Users Mailing List"
> > 
> >  
> >         To:     Struts Users Mailing List
> <st...@jakarta.apache.org>
> >         cc: 
> >         Subject:        RE: Should I be able to put a path of a Action
> > Class in a global forward?
> > 
> > 
> > Are you getting this from Struts or the container, or from your IDE? 
> What
> > IDE are you using?  Some IDEs that try to support Struts aren't really 
> > *that*
> > in touch with what a developer can do with Struts.  If you have a doubt, 
> > try
> > running the app and see if it behaves the way you (and not your IDE) 
> > expects
> > it to behave.
> > 
> > Hubert
> > 
> > --- Gerald_Beattie@fmo.com wrote:
> > > Everytime I put the global forward in the config-struts.xml document I 
> > get 
> > > the following error
> > > 
> > > Warning Target /contentView.do does not exist in the following modules:
> 
> > /
> > > 
> > > It is like the contentView.do can not be resolved.
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > <an...@wipro.com>
> > > 03/16/2004 12:32 PM
> > > Please respond to "Struts Users Mailing List"
> > > 
> > > 
> > >         To:     <st...@jakarta.apache.org>
> > >         cc: 
> > >         Subject:        RE: Should I be able to put a path of a Action
> > > Class in a global forward?
> > > 
> > > 
> > > 
> > > Yes you can
> > > 
> > > 
> > > -----Original Message-----
> > > From: Gerald_Beattie@fmo.com [mailto:Gerald_Beattie@fmo.com]
> > > 
> > > Sent: Tuesday, March 16, 2004 11:02 PM
> > > To: Struts Users Mailing List
> > > Subject: Should I be able to put a path of a Action Class in a global
> > > forward?
> > > 
> > > 
> > > Should I be able to put a path of a Action Class in a global forward?
> > > 
> > > <global-forwards>
> > > 
> > > 
> > >                 <forward name="startHere" path="/contentView.do" />
> > > 
> > > </global-forwards>
> > > 
> > > Confidentiality Notice
> > > 
> > > 
> > > The information contained in this electronic message and any
> attachments 
> > 
> > > to this message are intended
> > > for the exclusive use of the addressee(s) and may contain confidential 
> > or 
> > > privileged information. If
> > > you are not the intended recipient, please notify the sender at Wipro
> or 
> > 
> > > Mailadmin@wipro.com immediately
> > > and destroy all copies of this message and any attachments.
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > > 
> > > 
> > > 
> > > 
> > 
> > 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail - More reliable, more storage, less spam
> > http://mail.yahoo.com
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > 
> > 
> > 
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - More reliable, more storage, less spam
> http://mail.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com

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