This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Grokking Bitcoin and have Kalle Rosenbaum on-line!
See this thread for details.
Win a copy of Grokking Bitcoin this week in the Cloud/Virtualization 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:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

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: 67256
170
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
 
This tiny ad is wafer thin:
ScroogeXHTML - the small and fast RTF to HTML converter library
https://coderanch.com/t/707504/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!