This week's book giveaway is in the General Computing forum.
We're giving away four copies of Learning Regular Expressions and have Ben Forta on-line!
See this thread for details.
Win a copy of Learning Regular Expressions this week in the General Computing forum!
  • 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:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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?
 
Author and ninkuma
Marshal
Posts: 66809
168
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!