Forums Register Login

why

+Pie Number of slices to send: Send
<jsp eclaration>
LinkedList contents = null;
Message msg = null;
</jsp eclaration>
<html>
<body>
<jsp:scriptlet>

if ( !session.isNew() ) {

contents = ( LinkedList )session.getAttribute( "gb.contents" );

if ( contents != null ) {

for ( int i = 0; i < contents.size(); i++ ) {

msg = ( Message ) contents.get( i );

</jsp:scriptlet>

above code can be run in resin2.02,but i use deploy the web component in j2ee application server,the code can't not be explained and output as origin..why?
i can't use xml format to write jsp file?
+Pie Number of slices to send: Send
Read the Specs a little closer on using the xml format. You need a root element
+Pie Number of slices to send: Send
Post your codes in between [code] tags or check disable smiles in this post option below the smilies.
Make yourself as serene as a flower, as a tree. And on wednesdays, as serene as this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 862 times.
Similar Threads
scripting-invalid tag
jsp:text question
Two questions on " JSP SYNTAX 1.2 " issued by SUN
Jsp Document vs Jsp Page - clarification
body-content
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 18:11:13.