Ronayne
asked on
basic jsp error
Hi, the following code throws this error, how do i combine convert these statement to valid jsp?
outfile.write("<?xml version="1.0" encoding="ISO-8859-1"?>");
outfile.write("<?xml-style sheet type="text/xsl" href="localhost:8080\seanp roj\cdcata log.xsl"?> ");
C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localh ost\seanpr oj\makexml _jsp.java: 146: ')' expected
outfile.write("<?xml version="1.0" encoding="ISO-8859-1"?>");
outfile.write("<?xml-style
C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localh
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Cheers, objects code worked fine, thx again
if u r getting ther error
" ; expected instead of this token "
or
" ) Statement inserted to complete Statement"
then u have forgot to put the escape character for u r string
put a \ before every occurrence of " character in u r string
hope this will solve u r problem