On 4/3/06, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
> Frank
> I dont want to update all the jsp page, only the last
> name text field,
> I am able to do so if i do
> PrintWriter out = response.getWriter();
> out.println(last);
> return null;
>
> but suppose, i have 10-15 fields that need to be
> updated, how will i pass data ack to jsp
> Is there a way to pass java object to jsp, and then
> some how refresh these 10-15 fields.
> I dont want to write html generating code in
> ActionClass, but just send data and jsp handle it. and
> refresh those 10-15 fields

JSP already works with Java objects. I guess what you meant is "to
pass java object to client-side HTML/DOM". You cannot send Java to
HTML page, but you can send Javascript object, search for "JSON". You
can also sent XML structure and parse it on the client.

Michael.

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

Reply via email to