You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Sebastian Ho <se...@bii.a-star.edu.sg> on 2004/09/01 03:27:10 UTC

RE: Possible to change input path in actionForm validate?

Oh..got it.

Thanks Paul.


On Tue, 2004-08-31 at 16:56, Paul McCulloch wrote:
> What I meant is that you can use the same action class multiple times, each
> with a different path & input:
> 
> 	<action
>      		path="/Handler1"
>      		type="com.foo.some.Action"
>      		input="/file.jsp">
> 	    </action>
> 
> 	<action
>      		path="/Handler2"
>      		type="com.foo.some.Action"
>      		input="/otherfile.jsp">
> 	    </action>
> 
> Paul
> 
> > -----Original Message-----
> > From: Sebastian Ho [mailto:sebastianh@bii.a-star.edu.sg]
> > Sent: Monday, August 30, 2004 2:18 AM
> > To: Struts Users Mailing List
> > Subject: RE: Possible to change input path in actionForm validate?
> > 
> > 
> > I tried that but it is complainin about more than one identical action
> > definition in struts-config.
> > 
> > sebastian ho
> > 
> > 
> > 
> > On Fri, 2004-08-27 at 20:21, Paul McCulloch wrote:
> > > One way to do this is to have multiple actions defined in 
> > struts-config.xml,
> > > each using the same Action class. Each action can have a 
> > different input
> > > JSP.
> > > 
> > > Paul
> > > 
> > > > -----Original Message-----
> > > > From: Sebastian Ho [mailto:sebastianh@bii.a-star.edu.sg]
> > > > Sent: Friday, August 27, 2004 1:05 PM
> > > > To: Struts Users Mailing List
> > > > Subject: Possible to change input path in actionForm validate?
> > > > 
> > > > 
> > > > Hi
> > > > 
> > > > Is it possible to change the input path that validate() 
> > displays if
> > > > there are errors in the validation?
> > > > 
> > > > I try using mapping.setInput() but it returns
> > > > "java.lang.IllegalStateException: Configuration is froze".
> > > > 
> > > > Reason for this is I am using the same Action for different JSP,
> > > > therefore the validation errors need to be displayed in 
> > the respective
> > > > JSP, and not the input path specified in actino-mappings.
> > > > 
> > > > Thanks
> > > > 
> > > > Sebastian Ho
> > > > 
> > > > 
> > > > 
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > > For additional commands, e-mail: user-help@struts.apache.org
> > > > 
> > > 
> > > 
> > > 
> > **********************************************************************
> > > Axios Email Confidentiality Footer
> > > Privileged/Confidential Information may be contained in 
> > this message. If you are not the addressee indicated in this 
> > message (or responsible for delivery of the message to such 
> > person), you may not copy or deliver this message to anyone. 
> > In such case, you should destroy this message, and notify us 
> > immediately. If you or your employer does not consent to 
> > Internet email messages of this kind, please advise us 
> > immediately. Opinions, conclusions and other information 
> > expressed in this message are not given or endorsed by my 
> > Company or employer unless otherwise indicated by an 
> > authorised representative independent of this message.
> > > WARNING:
> > > While Axios Systems Ltd takes steps to prevent computer 
> > viruses from being transmitted via electronic mail 
> > attachments we cannot guarantee that attachments do not 
> > contain computer virus code.  You are therefore strongly 
> > advised to undertake anti virus checks prior to accessing the 
> > attachment to this electronic mail.  Axios Systems Ltd grants 
> > no warranties regarding performance use or quality of any 
> > attachment and undertakes no liability for loss or damage 
> > howsoever caused.
> > > 
> > **********************************************************************
> > > 
> > > 
> > > 
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > > 
> > > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 


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


Page refresh

Posted by meena r <me...@yahoo.com>.
Hi,

I am currently working on a Struts based project where
we have a requirement to fetch details/images from the
server(Webshere 5.0) and display to it to the user
without allowing the page to re-fresh. We are in the
process of seeing whether we can use Iframes or
Xml-Rpc for remote scripting. Would be great to have
any input along this direction.

Thanks
Meena


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

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