• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

JSP container?  RSS feed

 
Ranch Hand
Posts: 243
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

What do you mean by an internal JSP container?And what is implicit mapping,how does it override url-pattern elements?
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A JSP container provides the working to support JSPs. Typically a JSP container is built using the existing Servlet container, that is it can be considered an extension of it.

Theoretically it is possible to support a JSP container without requiring Servlets 'as such', but would probably result in more rather than less work to implement.

IN tomcat, JSPs get configured in the conf/web.xml file. I could post the mappings but you might find the journey interesting yourself.

Dave
 
Srikkanth Mohanasundaram
Ranch Hand
Posts: 243
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I found this in conf/web.xml.. Does this mean all files of *.jsp will be processed by the JspServlet? Will this Servlet start the lifecycle of the JSP?

Regards,
Srikkanth.M
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.
 
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I found this in conf/web.xml.. Does this mean all files of *.jsp will be processed by the JspServlet? Will this Servlet start the lifecycle of the JSP?



Yep. This means you could map other extensions as well to behave like they are JSPs.
 
Srikkanth Mohanasundaram
Ranch Hand
Posts: 243
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay thanks guys,
I have a jsp-config element

Does this mean this will call the JspServlet? Is this called implicit mapping?
 
Marshal
Posts: 67162
169
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Srikkanth Mohanasundaram:
Does this mean this will call the JspServlet? Is this called implicit mapping?



No, that just sets up config information for JspServlet to use.
 
Srikkanth Mohanasundaram
Ranch Hand
Posts: 243
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks all,
I went through the spec SRV.11.2.1 now i'm clear
Regards
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!