View Source ... Save As works generally, but browsers sometimes mess with
the HTML in subtle ways (netscape used to add an HTML <base> tag, for
instance), so I would be very wary of using that technique (diff users
w/diff browser, changes after browser upgrade, etc.). The command-line tools
curl or wget should be more trustworthy to deliver the HTML as delivered by
the server with no molestation.

If you want to automate the process (which I highly recommend if you are
really going to do this), you could use Ant to deploy your app and its JSPs
on a server and then make requests for all of the pages, saving the
responses as build output.

Before doing any of this, I would take a detailed look at why you want to
render your JSPs and convert them to HTML. It seems likely that there is a
better (easier) way to achieve the intended goal. Ant and its various
filtering, token-replacing and other abilities may offer a more manageable
solution.

-Max

----- Original Message ----- 
From: "Ron Day" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, January 23, 2004 2:28 PM
Subject: RE: JSP to static html...


> View source in browser and save it to xxx.html


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

Reply via email to