You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Arjuna Bandara <ar...@gmail.com> on 2018/06/13 14:34:21 UTC

Ajax post url

I want to send a post request with few attributes as a subsidiary to form submission. 
Js

<iframe src="https://pastebin.com/embed_iframe/UEvTiBFz" style="border:none;width:100%"></iframe>

Action class method

<iframe src="https://pastebin.com/embed_iframe/CPPWRTSr" style="border:none;width:100%"></iframe>


Struts XML

<iframe src="https://pastebin.com/embed_iframe/HG71mjbr" style="border:none;width:100%"></iframe>


But struts url does not work as expected. Guys please help me to sort this out, since I am new to struts 2.

Regards

Arjuna


Re: Ajax post url

Posted by Dave Newton <da...@gmail.com>.
How do you expect it to work? What happens differently?

On Wed, Jun 13, 2018 at 10:34 AM Arjuna Bandara <ar...@gmail.com>
wrote:

> I want to send a post request with few attributes as a subsidiary to form
> submission.
> Js
>
> <iframe src="https://pastebin.com/embed_iframe/UEvTiBFz"
> style="border:none;width:100%"></iframe>
>
> Action class method
>
> <iframe src="https://pastebin.com/embed_iframe/CPPWRTSr"
> style="border:none;width:100%"></iframe>
>
>
> Struts XML
>
> <iframe src="https://pastebin.com/embed_iframe/HG71mjbr"
> style="border:none;width:100%"></iframe>
>
>
> But struts url does not work as expected. Guys please help me to sort this
> out, since I am new to struts 2.
>
> Regards
>
> Arjuna
>
>

-- 
e: davelnewton@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton <https://twitter.com/dave_newton>
b: Bucky Bits <http://buckybits.blogspot.com/>
g: davelnewton <https://github.com/davelnewton>
so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>