You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Kunal H. Parikh" <ku...@carsales.com.au> on 2004/06/02 04:11:05 UTC

RE: [SOLVED] Default methodName for DispatchAction

Hi All!

Just went through the source code.

This problem can be attacked by overriding the method unspecified(...)

===========
public ActionForward unspecified(
            ActionMapping mapping,
            ActionForm form,
            HttpServletRequest request,
            HttpServletResponse response)
            throws Exception {
===========

Thanks,

Kunal
-----Original Message-----
From: Kunal H. Parikh [mailto:kunalp@carsales.com.au] 
Sent: Wednesday, 2 June 2004 11:53
To: 'Struts Users Mailing List'
Subject: Default methodName for DispatchAction

Hi All!

I was wondering if it were possible to have a "default" method called when
there is no parameter matched or the parameter is null.


TIA,

Kunal



---------------------------------------------------------------------
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


the difference between struts with JSTL tags and struts-el tags

Posted by va...@bellsouth.net.
All,

I am confused after using struts-el tags. I was previously using standard
struts tags with jstl tags as needed. After I switched to use struts-el,
some of tags are no more working. for example, readonly="true" attribute in
html:text tag is not working in struts-el tags. It is saying that Error: No
match was found for method "setReadonly(java.lang.String)".  It seems "true"
becomes a string instead of boolean type in html:text tag (el).

Now my question is "What are the special features in el-tags which improve
struts standard tags and jstl tag?"  I tried to find the answer from online
docs. But there are not too much info provided on the Internet. Does anybody
have the answer to my question? Thanks,

Kathy




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