• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting JSP given HTML(Urgent)

 
Rajitha Ereddy
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can anyone tell me is there any easy method to write the JSP with the HTML already existing.Thanks in advance.
Regards,
Rajitha.
 
Talisman
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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 ...
Div
 
PC RE
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

check out the JSP include directive. U can include html files using this one in the JSP that ur writing
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic