• Post Reply Bookmark Topic Watch Topic
  • New Topic

ServletActionContext.getServletContext().getContextPath()  RSS feed

 
Meenatchi Sundar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
im new to servlets,jsp and struts framework.my Doubt is that in our project they are using the line ServletActionContext.getServletContext().getContextPath().What does it mean?Can anyone clear my doubts?
 
lokesh pattajoshi
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
ServletActionContext.getServletContext() returns ServletContext object so using the return object getContextPath() method has been called which will return the context path of your application.

Regards,
Lokesh
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!