Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: R: Reading generated html

Nagraj Rao

2007-01-24

Replies:

Hi Marcello

i'm bit confused on whether you wanna submit the content or set it into an
object. Please guide me on that.
i guess if you're capturing an HTML content in your jsp, which you need to
submit, a simple form submit should work. In case you wanna set i to myObj
object then u can make it thru a scriptlet that Abhishek suggested.

you can also go for an Ajax submit as well.

N

----- Original Message -----
From: "Marcello Savino" <Marcello.Savino@(protected)>
To: "Struts Users Mailing List" <user@(protected)>
Sent: Wednesday, January 24, 2007 6:59 PM
Subject: R: R: Reading generated html


Cause i need to submit the html content to a servlet to analyze the html
code


Marcello Savino
ALDEBRA S.p.A.
tel. 0461302441

-----Messaggio originale-----
Da: Dave Newton [mailto:newton.dave@(protected)]
Inviato: mercoled? 24 gennaio 2007 14.24
A: Struts Users Mailing List
Oggetto: Re: R: Reading generated html

--- Marcello Savino wrote:
> As you can see (value="<%=request%>") the data setted is jsp is not of
> type string.
> I'm pretty sure cause i use to pass the request object to an other
> similar bean (with other purpose) and it works fine !

I didn't know you could do that (or I forgot; don't know which). I thought I
thought <%= ... %> basically called toString on everything.

Now... *why* would you want to do this?! It strikes me as being a pretty Bad
Idea.

Dave




____________________________________________________________________________________
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.