html - jsp page downloading instead of opening in browser -
i new jsp programming. able open jsp page in browser view html layouts, when try open jsp page, file download window pops , asks me either save or open file in ie9 , displays whole code in firefox.
i have tomcat installed hassle run every time see minor modifications. there way have jsp page open in eithe rie9 or firefox can view html aspect? thank you
first of all, should start tomcatserver , throw webpages (jsp) inside webapps folder. try it, example:
<% out.println("test"); %>
save file called index.jsp. when call web address, try put this: http:\localhost:8080\yourfolder\index.jsp
remember, can put html code togheter jsp code.
the answer appears stupid, but, that's it.
regards.
Comments
Post a Comment