Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 461487
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T22:58:46+00:00 2026-05-12T22:58:46+00:00

Please help clarifying : In web.xml I have the following <jsp-config> <jsp-property-group> <url-pattern>*.jsp</url-pattern> <el-ignored>false</el-ignored>

  • 0

Please help clarifying :

In web.xml I have the following

<jsp-config>
    <jsp-property-group>
      <url-pattern>*.jsp</url-pattern>
      <el-ignored>false</el-ignored>
      <page-encoding>utf-8</page-encoding>
      <include-prelude>/jstlTaglibs.jspf</include-prelude>
    </jsp-property-group>
</jsp-config>

Also in decorators.xml I have

<decorator name="footer" page="footer.jsp">
    <pattern>*.action</pattern>
</decorator>

which is used via sitemesh.xml. The footer.jsp which says

...
<decorator:body />
<@include .. "footer.jsp"/> 

So what I gather is, both of the codes above in a sense inject some jspf. Please help highlighting the differences and benefits of both the approaches. Also which one is more used across industry ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T22:58:47+00:00Added an answer on May 12, 2026 at 10:58 pm

    The JSP include-prelude is used to inject a snippet of jsp at the beginning of each jsp page. This could be used in a pure jsp environment to avoid writing the same code on each page. The code that is injected is executed as jsp.

    Sitemesh on the other hand does not depend on a jsp environment and does a more static formatting of the html response. That is sitemesh has no idea where the html code is coming from, it could be a static html page, PHP or JSP or otherwise. It simply takes the HTML code and formats it according to your template and sends it on its way.

    So both techniques may be used together because they handle different aspects of the response process.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Please help me out on this. I have Javascript like the following: function calc()
please help clarifying the doubt : While doing serialization, if we have defined the
Please help! I'm on PHP. I have an url: ' http://example.com/articles/123a/view ', how do
Please help me out with the following code. I don't understand it. I have
Please help in structuring following type of data (example)- > i have 1 table
Please help. I have the following - ListView and its two handlers AdminUsersListView_ItemEditing, AdminUsersListView_Load.
Please help me to improve the following script: http://jsfiddle.net/n9BkM/8/ I need the following fucntionality:
please help me to identify which of these following is more optimized code? for(int
Please help me understand the following code snippet :- def any(l): whether any number
Please help to implement ssl rails version - 3.2.8 I edtited following files: #

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.