On 4/3/06, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
> hi
> I am trying to learn AJAX and struts together (will
> use some standard solution later)
> This is what i am doing,
> In my jsp i have 2 text fields FirstName and LastName
> when the user enters FirstName and hits enter i call a
> javascript which creates XMLHttpRequest objects, and
> calls a Action class using GET , it send parameter as
> name  some thing like this
> GetNameAction.do?first=name
>
> this Action class then populates last name,
> In servlet i would just do
> PrintWriter out = response.getWriter();
> out.println(last); and works fine, but i dont want to
> do it that way,
> In Struts, i want to populate ActionForm, and then
> refresh jsp page
>
> How do i do it
>
> Ashish

Search for: "partial submit", "Google suggests", "in place update", "AHAH".

Plugging my product in: JSP Controls Tag Library provides in-place
update and Struts integration. Th partial submit feature is exected in
the next version, which should be released in about a week. But if you
are looking for something to use right now, google the keywords I
listed above.

Michael.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to