Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What are the various packages that are ...?

 
Vanchi Nathan
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there!

What are the various packages that are available by default in a JSP page? :roll:

What is the class that is related to the "application" implicit object?

thanks
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try <%=application.getClass().getName()%>
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64623
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like homework to me. What are your answers?
 
Vanchi Nathan
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I understand that the following packages are imported by default:
java.io.*
java.lang.*
javax.servlet.*
javax.servlet.http.*
javax.servlet.jsp.*

Are there any more package that default and not listed above...

thanks ...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic