About Question enthuware.jwpv6.2.873 :

Moderator: admin

Post Reply
ramy6_1
Posts: 124
Joined: Wed Feb 12, 2014 2:44 am
Contact:

About Question enthuware.jwpv6.2.873 :

Post by ramy6_1 »

Hello ,

I think also option 3 is correct

"If a jsp file is retrieved, the jsp code contained will be returned as it is."

Yes getResource() returns URL object , but we can use this object get the content of the file , then the jsp code contained will be returned as it is

Please advice.

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

Re: About Question enthuware.jwpv6.2.873 :

Post by admin »

Yes, but using the URL to retrieve the content is a different thing and is unrelated to the question. If you use that logic, you can say anything such as getResource() can be used to save data to the database because you can use getResource to get a url, and that url to get a jsp page and that jsp page to save data to the database :)

HTH,
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 1 guest