• Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp standard action question

 
Marco Fung
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Assume the name, attribute of a bean is correctly set.

So that
<jsp:getProperty name="id" property="firstName"/>
is valid.

Is

<jsp:getProperty name="id" property="firstName"></jsp:getProperty>

also valid? Does </jsp:getProperty> tag exists?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What happened when you tried it?
 
Marco Fung
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried it, it works.

But I had a mock question in j2eecertificate, it said it's not work.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!