File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes mapping value in html page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "mapping value in html page" Watch "mapping value in html page" New topic

mapping value in html page

jenny wang

Joined: Feb 23, 2001
Posts: 27
I am trying to change a perl script file to java servlet file.
I got data from quote.html file and I want to put these data in the out.html file. Since the out.html is designed already and I can't change anything inside this file.
in Perl you can map the values using:
open(FILE, "out.html");
while(<FILE> ){
But in JAVA servlet, do we have some efficient way to map my data to out.html file instead of putting html tag by using a lot of
Thanks so much!


Joined: Feb 13, 2001
Posts: 23
dear Bhidu(i mean Friend) ,
u gotta use jsp if u wanna avert out.println("<html>");
Jsp is much simpler also .Refer to Caroline Jen's q in the same forum
I agree. Here's the link:
subject: mapping value in html page
It's not a secret anymore!