aspose file tools*
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


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Getting JSP given HTML(Urgent)" Watch "Getting JSP given HTML(Urgent)" New topic
Author

Getting JSP given HTML(Urgent)

Rajitha Ereddy
Greenhorn

Joined: Nov 26, 2000
Posts: 20
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

Joined: Sep 11, 2001
Posts: 2
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

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: http://aspose.com/file-tools
 
subject: Getting JSP given HTML(Urgent)