Issue
I am new to jsp programming. I was previously able to open a jsp page in the browser to view the html layouts, however now when i try to open the a jsp page, the file download window pops up and asks me to either save or open the file in IE9 and just displays the whole code in Firefox.
I have tomcat installed but it is a hassle to run it every time just to see minor modifications. Is there a way to have the jsp page open in eithe rIE9 or firefox so I can view the html aspect? Thank you
Solution
First of all, you should start TomcatServer and throw your webpages (jsp) inside the webapps folder. Try to do it, for example:
<%
out.println("test");
%>
Save your file called index.jsp. When you call the web address, try to put this: http:\localhost:8080\yourfolder\index.jsp
Remember, you can put html code togheter jsp code.
The answer appears stupid, but, that's it.
Regards.
Answered By - Vinicius Lima
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.