struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "draegoon Z" <>
Subject Re: Struts and AJAX
Date Mon, 03 Jul 2006 23:23:24 GMT
I think we were just on two different brainwaves.

If APT still goes through the ActionForm.validate() and returns
to input page upon ActionErrors, as it should,

then APT serves all my purposes with a lot less javascript!

PS: just downloaded beta5, installed and got:

org.apache.jasper.JasperException: /packages_jsp/ajaxparts/index.jsp(15,0) 
File "/packages_jsp/ajaxparts/javawebparts/ajaxparts/taglib" not found

Think the problem is first line of packages_jsp/ajaxparts/content.jsp




Joseph "DraegoonZ" McGranaghan


>From: "Frank W. Zammetti" <>
>Reply-To: "Struts Users Mailing List" <>
>To: Struts Users Mailing List <>
>Subject: Re: Struts and AJAX
>Date: Mon, 03 Jul 2006 18:51:43 -0400
>draegoon Z wrote:
>>Why doesn't APT get this same response?
>What response does it get?  As far as I can see, it *SHOULD* get the same 
>response, the only difference would be what happens on the client-side with 
>>Why doesn't it get forwarded to the "input" page automatically, returning 
>>it in the response?
>That's exactly what should happen.  If your seeing something different, 
>definitely let me know! :)
>>Does it go through the ActionForm.validate() method in the first place?
>Yes, it will... assuming you were to use std:QueryString or std:Poster, the 
>request to the server would look no different to Struts than a normal form 
>submission, or GET request.  It will be processed in exactly the same way.  
>If you used, say, std:SimpleXML, then Struts would not automatically parse 
>that XML or anything, you would have to do that on your own.
>>I could be missing something, so feel free to yell at me, but if dojo does 
>>I can't see why this shouldn't work for APT also.
>Actually, I suspect it's *ME* that's missing something :)  I'm not an 
>expert in Dojo, but I have worked with it a bit... from what you've 
>described here, you should be able to do the exact same thing with APT 
>without touching anything server-side... Well, hang on... I'm assuming that 
>Dojo makes a request that either has a query string attached with the 
>parameters, or a POST body with them... I'm pretty sure that's the case 
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message