• Post Reply Bookmark Topic Watch Topic
  • New Topic

Please Help!!!!!  RSS feed

Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have few doubts .
On page 207 of SCWCD Manning Guide
the example does not work as expected .
The code is as follows
<%@ page info="A sample use of ' , \" , \\ , <\% , and %\> characters " %>
It gives the error " ; expected " at the page directive line.
2.On page 178 which specifies that there should not be any space between equals sign and value in directives .
Does this mean
<%@ page import = "java.util.*" %> will not work coz of space between import and = sign.
But it works???
3. I have one doubt regarding flush attribute in include action . I have two files source.jsp and target.jsp
source.jsp contains
<%@ page buffer="8kb" %>
Before calling target.jsp
<jsp:include page="target.jsp" flush="true" />
After calling target.jsp
target.jsp contains this text

I am in target .
I got the following output--
Before calling target.jsp
I am in target
After calling target.jsp
but I was execting that bcoz I have set flush to true so it will not print the line
"Before calling target.jsp ."
Thanks in advance for any explanation /suggestion.
Buggi .
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!