|Java JSP ORACLE Hibernate Servlet Struts Spring MySQL Java Script Post New Topic|
|Asked By :||lok Asked Date : Jun 25 2008|
|Brief Desc:||what is difference between out.println("message"); and <%=message%> in JSP'S ?|
|Details:||what will happen when you are trying to print something in both the cases
|Replied By:||satya Replied Date : Jun 26 2008|
your question is not clear ? can you elaborate more ?
|Replied By:||lok Replied Date : Jun 26 2008|
i=1 , j=2;
In JSP's , is here any difference b/w these two statements ????
|Replied By:||b Replied Date : Jun 30 2008|
|Answer:||The question was clear.
There is no difference in what will be output on the page, though println puts a newline at the end and the <%= %> doesn't. If you use out.print then you wont get the newline.