About Question com.enthuware.ets.scwcd.v5.2.125 :

Moderator: admin

Post Reply
ETS User

About Question com.enthuware.ets.scwcd.v5.2.125 :

Post by ETS User »

there is now import for java.util.Date!!

admin
Site Admin
Posts: 10095
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question com.enthuware.ets.scwcd.v5.2.125 :

Post by admin »

Hello,
The question contains JSP code "fragments". These are not complete contents of a file. You need to assume that whatever information is not specified does not affect the answer.

HTH,
Paul.
If you like our products and services, please help us by posting your review here.

rakeshy

Re: About Question com.enthuware.ets.scwcd.v5.2.125 :

Post by rakeshy »

What is the difference between option 4 & 5 ? If option 4 is correct why Is`nt option 5 ? Could anyone please explain?

Thanks. :oops:

admin
Site Admin
Posts: 10095
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question com.enthuware.ets.scwcd.v5.2.125 :

Post by admin »

Option 4 has the code in curly braces { and } option 5 does not. When option 4 is translated to servlet code, it becomes an instance initializer and is valid. This is explained in the given explanation.
If you like our products and services, please help us by posting your review here.

leonardo_ndo
Posts: 1
Joined: Wed Dec 04, 2013 4:59 pm
Contact:

Re: About Question com.enthuware.ets.scwcd.v5.2.125 :

Post by leonardo_ndo »

why not option 1 ?

as i know, i can declare as many import tags as i want. And i pasted these loc`s in a jsp page, and no errors has occurred.

Regards,

Leonardo

admin
Site Admin
Posts: 10095
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question com.enthuware.ets.scwcd.v5.2.125 :

Post by admin »

import tag can be used multiple times but option 1 has two autoFlush tags that is why it is invalid.

-Paul.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests