Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

getResource() ...............  RSS feed

 
faiza haris
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
getResource ("/loginpage.jsp")
should not be used to get dynamic content....and if i give the jsp file in its path, it should return me the jsp source code. Thats wht i get frm the api..But i get the net.URL ....as jndi:/localhost/faiza/loginpage.jsp
Isnt jsp taken as a dynamic content?
faiza
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!