[OCP 21 book] | [OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Love all, trust a few, do wrong to none.
yuvaraj yuvan wrote:priya!
html page does not know about "\n" character of java.
"\n" in java = <br> of html. try <br> tag. you will get what you need!
or
out.print("abcd <br> defg <br> hijk");
will return,
abcd
defg
hijk.
Love all, trust a few, do wrong to none.
yuvaraj yuvan wrote:<html>
<body>
<textarea> abcd <br> defg <br> </textarea>
</body>
</html>
abcd
defg
Love all, trust a few, do wrong to none.
yuvaraj yuvan wrote:i am sorry! you are correct.
you may try this.
this should work.
<textarea> Test& #13; Newline gadsg</textarea>
thanks
Love all, trust a few, do wrong to none.
Love all, trust a few, do wrong to none.
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |