File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Getting JSP given HTML(Urgent) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Getting JSP given HTML(Urgent)" Watch "Getting JSP given HTML(Urgent)" New topic

Getting JSP given HTML(Urgent)

Rajitha Ereddy

Joined: Nov 26, 2000
Posts: 20
Can anyone tell me is there any easy method to write the JSP with the HTML already existing.Thanks in advance.

Joined: Sep 11, 2001
Posts: 2
The basic advantage which the jsp has over the use of servlet is that it helps the user in seperating presentation and logic ... The JSP does away with out.println(as in servlet )instead u can write all the HTML and scripts as such,like the way u do in html file ... What u can do is that u can create ur html page in some html editor and then just embed ur java code(of course between the suitable jsp tags) in it . Also ur question is a bit vague and if I have interpreted it wrong , maybe u can correct me ...

Joined: Aug 28, 2001
Posts: 29

check out the JSP include directive. U can include html files using this one in the JSP that ur writing
I agree. Here's the link:
subject: Getting JSP given HTML(Urgent)
It's not a secret anymore!