Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Init param problem  RSS feed

 
sam liya
Ranch Hand
Posts: 1246
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is the question i got from Head First book for jsp and Servlet book in 430 page.


Given that a web application stores the webmaster email address in the
servlet context initialization parameter called master-email.
Which retrieves that value? (Choose all that apply.)








it says the asnwer ois C.but itried.answer C is not even compile.

here is my web.xml


here is my jsp file.it don't even compile



 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here is my jsp file.it don't even compile

Please read this.
 
sam liya
Ranch Hand
Posts: 1246
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i don't know what happen at the fist question but here are the four answers
"

A.
email me

B.
email me

C.
email me

D.
email me


"
 
Balu Sadhasivam
Ranch Hand
Posts: 874
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


i don't know what happen at the fist question but here are the four answers


check the " Disable HTML in this message" , this makes ahref works.

What error did you get ? and BTW is the error due to ${initParam['master-email']} ?
 
sam liya
Ranch Hand
Posts: 1246
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
sam liya
Ranch Hand
Posts: 1246
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Balu Sadhasivam
Ranch Hand
Posts: 874
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

here is my jsp file.it don't even compile


What compilation error ? Dint post the error ?
 
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!