About Question com.enthuware.ets.scwcd.v5.2.125 :
Moderator: admin
About Question com.enthuware.ets.scwcd.v5.2.125 :
there is now import for java.util.Date!!
-
- Site Admin
- Posts: 10095
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scwcd.v5.2.125 :
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.
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.
Re: About Question com.enthuware.ets.scwcd.v5.2.125 :
What is the difference between option 4 & 5 ? If option 4 is correct why Is`nt option 5 ? Could anyone please explain?
Thanks.
Thanks.
-
- Site Admin
- Posts: 10095
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scwcd.v5.2.125 :
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.
-
- Posts: 1
- Joined: Wed Dec 04, 2013 4:59 pm
- Contact:
Re: About Question com.enthuware.ets.scwcd.v5.2.125 :
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
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
-
- Site Admin
- Posts: 10095
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scwcd.v5.2.125 :
import tag can be used multiple times but option 1 has two autoFlush tags that is why it is invalid.
-Paul.
-Paul.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 2 guests