On Thu, Jun 19, 2008 at 9:35 PM, StrutsUser <[EMAIL PROTECTED]>
wrote:

>
> Thanks Matt,
> Did that and it works.
> I also tried using the default extension (.html) itself as mentioned in
> http://appfuse.org/display/APF/Ajax.
> I copied the dojo related stuff to my /scripts directory and tested with
> default extension. I am getting weired behaviour. Sometimes it works and
> other times the same error is thrown. I would like to use
> the default extension itself. Is there a complete workaround to use the
> default .html extension as well as
> DoJo.
>

I don't know. One thing you could try is no extension at all.

http://raibledesigns.com/rd/entry/extensionless_urls_in_java_web

Matt


>
> Thanks
>
> mraible wrote:
> >
> > You should be able to change the default extension by modifying
> > struts.xml:
> >
> > <constant name="struts.action.extension" value="html"/
> >
> > You'll also need to change any references to .html in .xml and .jsp
> files.
> >
> > Matt
> >
> > On Mon, Jun 16, 2008 at 10:09 PM, StrutsUser <[EMAIL PROTECTED]
> >
> > wrote:
> >
> >>
> >> Hi,
> >> I am new to Affuse and need to use Dojo tags with Struts2. I am getting
> >> the
> >> following error when I launch the JSP page
> >> There is no Action mapped for namespace
> /struts/dojo/src/widget/templates
> >> and action name DatePicker
> >> I searched in this forum and tried using the StaticFilter to solve this
> >> issue. But still it persists. Then I found a solution which specifies
> >> that
> >> the default .html mapping should be changed for Dojo tags to be used.
> >> I am not sure how to change the default .html extension. Could you any
> >> please explain how to change the extension and the configuration that
> >> needs
> >> to be done for it?
> >> Any other solution to use Dojo tags with the same .html extension would
> >> also
> >> be welcomed.
> >>
> >> Thanks
> >> Ajay
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Changing-Affuse-default-.html-Extension-tp17877755s2369p17877755.html
> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Changing-Affuse-default-.html-Extension-tp17877755s2369p18022363.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to