What is the difference between jsp :include and server side include

what is the difference between jsp :include and server side include(request dispatcher include method)????
i understand that both request dispatcher include method and jsp:include take dynamic data,so when would one use request dispatcher include and when jsp:include.
Is the usage interchangeable?i believe jsp include is used only for jsp/html but include directive can be used to include servlets ,jsp and html....correct me if i m wrong and
do suggest if u hav ny other diff in this context...

The difference really is: in what format do you want your inclusions? If your environment has many Java developers and only a few designers that focus mainly on, say, Flash, that might push you more towards the server-side include() directive. Or, if you have a large set of pages that receive dynamic content that is displayed in a consistent fashion (such as a workflow header area on a page).
If, on the other hand, you have more web designers, there may be a greater desire to deal in markup rather than Java code. Java developers themselves might prefer to view markup (JSP) that more resembles the eventual output than something occuring in Java code.
Finally, there are considerations of tiering. While it is totally possible to (and I have previously) implement 'view classes' that render markup or generate layout templates, JSP's offer, IMO, a subtle, psychological advantage. By forcing a developer to work in a different format, markup versus Java source, the separation on view from controller and model becomes a bit easier. It is still possible to make mistakes, but if a developer at some point notices, "Wait, I'm in a JSP, should I be importing a java.sql class?", then the choice to use JSP includes has paid off in spades.
- Saish

Similar Messages

  • What's the difference between client combo and server combo? Also, what would happen if I install both?

    what's the difference between client combo and server combo? Also, what would happen if I install both?

    One is for the base version of the Mac OS, the other is for the Server version. You can only install the one that matches your system.

  • What's the difference between jsp and jsf?

    who can tell me what's the difference between jsp and jsf?
    I'm puzzled when I found some of the technology in jsp is so similar to the ones in jsp( javaserver page)

    Hi,
    Find the difference between JSP and JSF
    1. A developer has more control with JSP, but (should) get easier development with JSF
    2. Event handling is done differently in JSP (HTTP) and JSF (Java)
    3. The UI is designed differently (or should be at least) with JSP (markup) and JSF (components).
    4. The end product should also be defined differently - JSP page versus a JSF application.
    Is this the only thing that is need to make a decision for either or? Probably not. There are other pieces that need to be taken in account when deciding which technology to use - tools support, enough components, type of application etc.... At this point there are not enough JSF components (although there are some interesting projects underway - Ajaxfaces, Myfaces, ADF Faces, and WebChart 3d) and enterprise tools support is still limited to a few tools vendor. Looking at our ADF Faces components they are currently available as early access (not production) and demands for these components are stacking up, literally, outside my office doorstep. Although I would love to make them production - now! - it is not a viable solution since we are still checking features and fixing critical bugs.
    All this combined - not enough enterprise level components in production, lacking tools support etc... - leave customers in a vacuum where the decision is either to continue with JSP, since it is mature and has a wide developer base, or move forward with JSF not sure if the support, or the developers will be there. This is particularly sensitive to customers that need to get started now and be production by summer.
    If you are in this vacuum here are some key points promoting JSF:
    1. Fundamental unit is the Component
    2. Built in event and state management
    3. Component sets can be provided by any vendor
    4. Closer to ASP.Net or Swing development
    5. Choice of UI technology
    6. Scale up (rich clients)
    7. Scale down (mobile devices)
    8. Built into J2EE containers in J2EE 5.0 (tentative)

  • What's the difference between Java SDK and the Enterprise Edition?

    What's the difference between Java SDK and the Enterprise Edition? Are they both free?

    both r free but they are used in diffrent applications. sdk are used for simple apps that run on your computer while j2e (enterprise edition) are ment for large distributed computer systems that include servers and such. if you don't know the diffrence you probably wont need the the j2e, only the sdk.

  • What's the difference between "My Contacts" and "All Contacts"?

    What's the difference between "My Contacts" and "All Contacts"?
    I have no other account other then my iCloud account (from what I can tell), but "My Contacts" has a significantly smaller number of contacts then "All Contacts".
    What's the difference?

    Thanks for posting the screenshots, that's helpful.  I didn't realize that you were looking at your groups.
    "All Contacts" include (as the name implies) all of your contacts.  Below that are any contact groups that you may have defined.  These would normally be such things as "Work", "Personal", "Doctors", etc.; any groups that you find useful to define.  These contain subsets of the "All Contacts" group.
    At some point, perhaps inadvertently, you must have created a group called "My Contacts", or imported it to iCloud from your computer.  At the time this may have contained all of your contacts and would have had the same number of contacts as the "All Contacts" group.  Then over time you probably added 433 additional contacts that were never part of the original "My Contacts" group, resulting in an "All Contacts" group that contained 1465 contacts.
    If you don't have any use for the "My Contacts" group, you can delete it by clicking on it on the left sidebar, click the gear icon on the lower left and choose Delete.  If you're concerned about doing this, you can make a backup of this group first by selecting it on the left sidebar, clicking on a single contact within the group, pressing Control-A to select them all (they should all be highlighted), then clicking the gear icon and choosing Export vCard.  This will create a .vcf file that can later be imported back to iCloud if you ever need to (by clicking the gear icon again and choosing Import vCard).

  • What's the difference between deleted messages and trash?

    what's the difference between deleted messages and trash?

    A Time Capsule is hardware. It's basically an Apple AirPort Extreme wireless router with a built-in hard drive. For more info on this product:
    http://www.apple.com/timecapsule/
    Time Machine is a software application that allows your Mac to backup its data automatically to the hard drive on the Time Capsule. For more info on this software, which is included with the Leopard, Snow Leopard and Lion operating systems:
    http://www.apple.com/findouthow/mac/#timemachinebasics

  • What is the difference between Category Mgmt and Spend Analysis?

    Hi Friends
    What is the difference between Category Mgmt and Spend Analysis?
    Regards
    Chinna Krishna

    Hi Chinna
    Here are my two cents on this questions
    1. Catagory Management : It pertains to all sourcing activities that a purchasing group does for a specific catagory of items ( say tyres, bearings, etc. in automobile industry scenario OR steel sheets, electric motor, etc. in consumer durables industry scenario) in order to meet companies strategic goals like cost, quality, delivery and new product introduction. It also involves the strategic sourcing piece for that category. Typically it can include following activities for a category which is being managed
    - Identifying current and future business & technical requirements
    - Constant vigilence and analysis of supply market for that category ( and also identifying new sources)
    - Lauching various projects within category focussed on cost reduction, quality improvement, delivery improvement. This may include some of activities like supplier analysis. RFx, Reverse auctions, contract negotiation, etc.
    - Monitoring the category specific supplier performance
    Category Management team typically consists of cross functional team and it is iterative process (continuous improvement).
    Category Management in covered to some extent in E-Sourcing application and its analysis is covered in Spend Analytics application. Fully blown category management is on road map of SAP but none of the current functionalities addresses it fully.
    2. Spend Analysis: This involves analysis of the spend at highest level of organization. To improve the data quality, it typically involves spend data standardization & enrichment, supplier normalization and spend categorization. Once you have clean data, one can slice and dice the data to gain insight into the spend and identify opportunities for launching the various initiatives focussed on cost, quality and delivery.
    SAP Spend Analytics application covers this spend analysis capability.
    Its a long answer and hope it helps you.
    Bhushan

  • What are the differences between iphoto ios5 and iphoto ios6?

    what are the differences between iphoto ios5 and iphoto ios6?

    There is no difference unless you update iPhoto.
    The iPhoto.app was updated and now version 1.1 is available. This version includes the ability to create Shared Photo Streams if you have iOS 6.
    -Doug

  • What is the difference between smart forms and scripts.?

    what is the difference between smart forms and scripts.?

    Differences between Smartforms and SAPscript
    a) Multiple page formats are possible in smartforms which is not the case in SAPScripts
    b) It is possible to have a smartform without a main window .
    c) Routines can be written in smartforms tool.
    d) Smartforms generates a function module when activated.
    e) Smartforms can create web enable forms like XML
    f) smartforms itself contine subroutine pools need not to main separetly like in case of scripts
    Request you to refer the following links
    www.sap-img.com/smartforms/smartform-sapscripts.htm
    www.erpgenie.com/abap/smartforms_sapscript.htm
    Sapscript vs Smartforms
    Difference with SMARTFORMS vs. SapScript(SE71)
    The Following are the differences :-
    a) Multiple page formats are possible in smartforms which is not the case in SAPScripts
    b) It is possible to have a smartform without a main window .
    c) Labels cannot be created in smartforms.
    d) Routines can be written in smartforms tool.
    e) Smartforms generates a function module when activated
    Scripts are client dependent whereas smartforms aren't.
    Upto 99 main windows are possible in scripts and only one in smarforms.
    To create multiple main windows in scripts, you just have to give the window type as MAIN whnever you create a window.
    Scripts still exists but smartforms are in use from 4.6c version, now the lastest version of these two is adobe forms
    SAP Smart Forms is introduced in SAP Basis Release 4.6C as the tool for creating and maintaining forms.SAP Smart Forms allow you to execute simple modifications to the form and in the form logic by using simple graphical tools; in 90% of all cases, this won't include any programming effort. Thus, a power user without any programming knowledge can
    configure forms with data from an SAP System for the relevant business processes.
    Advantages of SAP Smart Forms
    SAP Smart Forms have the following advantages:
    1. The adaptation of forms is supported to a large extent by graphic tools for layout and logic, so that no programming knowledge is necessary (at least 90% of all adjustments). Therefore, power user forms can also make configurations for your business processes with data from an SAP system. Consultants are only required in special cases.
    2. Displaying table structures (dynamic framing of texts)
    3. Output of background graphics, for form design in particular the use of templates which were scanned.
    4. Colored output of texts
    5. User-friendly and integrated Form Painter for the graphical design of forms
    6. Graphical Table Painter for drawing tables
    7. Reusing Font and paragraph formats in forms (Smart Styles)
    8. Data interface in XML format (XML for Smart Forms, in short XSF)
    9. Form translation is supported by standard translation tools
    10. Flexible reuse of text modules
    11. HTML output of forms (Basis release 6.10)
    12. Interactive Web forms with input fields, pushbuttons, radio buttons, etc. (Basis-Release 6.10)
    Reward Points if useful.

  • What is the difference between standard,sorted and hash table

    <b>can anyone say what is the difference between standard,sorted and hash tabl</b>

    Hi,
    Standard Tables:
    Standard tables have a linear index. You can access them using either the index or the key. If you use the key, the response time is in linear relationship to the number of table entries. The key of a standard table is always non-unique, and you may not include any specification for the uniqueness in the table definition.
    This table type is particularly appropriate if you want to address individual table entries using the index. This is the quickest way to access table entries. To fill a standard table, append lines using the (APPEND) statement. You should read, modify and delete lines by referring to the index (INDEX option with the relevant ABAP command). The response time for accessing a standard table is in linear relation to the number of table entries. If you need to use key access, standard tables are appropriate if you can fill and process the table in separate steps. For example, you can fill a standard table by appending records and then sort it. If you then use key access with the binary search option (BINARY), the response time is in logarithmic relation to
    the number of table entries.
    Sorted Tables:
    Sorted tables are always saved correctly sorted by key. They also have a linear key, and, like standard tables, you can access them using either the table index or the key. When you use the key, the response time is in logarithmic relationship to the number of table entries, since the system uses a binary search. The key of a sorted table can be either unique, or non-unique, and you must specify either UNIQUE or NON-UNIQUE in the table definition. Standard tables and sorted tables both belong to the generic group index tables.
    This table type is particularly suitable if you want the table to be sorted while you are still adding entries to it. You fill the table using the (INSERT) statement, according to the sort sequence defined in the table key. Table entries that do not fit are recognised before they are inserted. The response time for access using the key is in logarithmic relation to the number of
    table entries, since the system automatically uses a binary search. Sorted tables are appropriate for partially sequential processing in a LOOP, as long as the WHERE condition contains the beginning of the table key.
    Hashed Tables:
    Hashes tables have no internal linear index. You can only access hashed tables by specifying the key. The response time is constant, regardless of the number of table entries, since the search uses a hash algorithm. The key of a hashed table must be unique, and you must specify UNIQUE in the table definition.
    This table type is particularly suitable if you want mainly to use key access for table entries. You cannot access hashed tables using the index. When you use key access, the response time remains constant, regardless of the number of table entries. As with database tables, the key of a hashed table is always unique. Hashed tables are therefore a useful way of constructing and
    using internal tables that are similar to database tables.
    Regards,
    Ferry Lianto

  • What is the difference between handling unit and packaging material

    hi
    what is the difference between handling unit and packaging material

    Hi,
    A handling unit is a physical unit that consists of the packaging materials (load carrier / packaging material) and the goods contained therein. A handling unit is always a combination of materials and packaging materials. All the information contained in the material items, such as batches and serial numbers, is always available by way of the handling units.
    Packaging materials are intended to enclose or hold together the materials that are to be packed. In other words, the material that is to be packed can be packed into or onto the packaging material. The packaging material can be a load carrier. The most important packaging materials include crates, boxes, containers, wire baskets, and pallets.
    Regards,
    Naveen

  • What is the difference between workbench request and customizing request

    hi gurus
    can anyone suggest me
    what is the difference between
    workbench request and
    customizing request
    abaper ll work on which request
    thank you
    regards
    kals.

    A quick  search in the forum would have taken you to this answer
    Workbench Requests
    When you change a Repository object of the ABAP Workbench, a query window appears in which you need to specify a Workbench request. You can only save the changes if you have assigned the object to a change request.
    Workbench requests and the tasks assigned to them are normally used to record changes to Repository objects and Customizing for all clients. However, you can also include client-specific Customizing.
    Whether the changes to Repository objects are transported depends on whether a transport route is defined from the current SAP System for the package of these objects. From the system settings, the system automatically determines whether the change requests are transportable and to which target system they should be transported.
    Customizing requests
    Customizing requests record client-specific Customizing settings made in a single client (the source client of the request).
    Automatic recording of configuration activities in the Customizing work for a client can be activated or deactivated for each client with Client Control. If automatic recording is active, a query window appears when you change Customizing settings, asking you to specify a Customizing request.
    Whether Customizing requests are transported or not, does not depend on the objects entered, as is the case with Workbench change requests. The Customizing requests in an SAP System (or in a client if you use Extended Transport Control) are either all transportable or all local, depending on the system setting. The system uses the standard transport layer to determine automatically whether the change requests are transportable and to which target system they should be transported. However, you can change this manually.

  • What is the difference between live auction and bid invitation

    hi friends
    what is the difference between live auction and bid invitation
    thanks
    regards
    vinaykrishna

    Source SAP.    
    BI including Price and non-price variables but LAC Bidding is based on price only.
    BI - Longer response time for Bidders (from days to week) but Bidding short bidding windows (Hours).
    BI - Bidders sees no information on competitors' bid but in LAC Rank,Best Bid , and next bid can be displayed on real time
    BI-Well suited for large variety of goods and services , including ram waterials, services and projects but LAC More suited for commodities or goods and services with standard attributes that vary only slightly from supplier to supplier.
    BI -Sourcing is based on value propositions (.eg. High Quality ,fast deliveries) rather than price but LAC market dynamics of auctions work best when buyer/seller relationship is loosele- coupled.
    BR
    Raman

  • What are the difference between 4.6c and 4.7 versions?

    what are the difference between 4.6c and 4.7 versions?
    if any please give me answer
    regards
    ramanji

    Hi,
    Upgrade SAP or Installation of SAP R/3 and ECC
    What is ECC?  Where to find the installation steps of  ECC 5/6.0 with SQL as database and on windows platform with the steps including Solution Manager installation?
    http://service.sap.com/instguides
    ECC means Enterprise Central Component.
    There are all the relevant installation guides. You NEED SAPNet access because without a registered and licensed SolMan installation number you will not be able to generate the SolMan key for the ECC installation.
    Upgrade to 4.7
    Have you gone through an upgrade to 4.7? 
    What are the difference or changes associated with 4.7. 
    If you are currently on 4.6C and are inching forward to upgrading to 4.7 then this information might be useful to you.
    There is very little difference between 4.6 and 4.7, the only "steps" you should need are steps in SU25 ( skip step 1) Then go through all your role and perform a merge old new to bring in the new authorization objects 
    Just to forewarn you of a potential problem which have been encounter at the point of writing.
    After updating/ modifying roles in step 2C, when going back into 2C to make sure all roles are now green, 70% have gone back to red! 
    The maintenance done is ok, but there seems to be a problem while trying to go back into the roles again to re-generate. 
    SAP recognizes them as needing "adjustment", so you cannot pick them up in mass generate in PFCG as they do not come in, even though the authorizations tab is red. 
    This problem is currently with SAP and it is confirmed that nothing have been done wrongly. 
    Generally, the work is quite manageable in the upgrade, but don't be surprised at how big the upgrade is when compared to upgrading from 46b to 46c.
    If we have full software of 46c and 47E is it possible to upgrade 46c to 47E or there is a seperate 47E upgrade software need to be requested from SAP?
    Where I can get the document with upgrade steps on the service market place?
    It is of course possible and supported:
    http://service.sap.com/inguides
    --> SAP Components
    --> SAP R/3 Enterprise
    --> (choose your version)
    at the bottom there is an "Upgrade guide" for Windows and Unix.
    For Upgrades it is recommended to read ALL the notes mentioned in the 
    upgrade guide and to make sure one is using
    - the correct version of the "tp" program
    - the correct version of the "R3trans" program
    - the correct version of the "R3up" program
    All that is explained in the upgrade guide and in the corresponding notes.
    If this is your first upgrade you should take a person, that has some experience on doing that for the first time.
    Installation of SAP R/3
    Currently we are going to install SAP on a new IBM server from the existing COMPAQ server. Where can I get the steps for that. 
    Configuration is :
       OS - windows 2003 server
       DB - Oracle 9i
       SAP 4.7
    http://service.sap.com/instguides
    --> SAP Components
    --> SAP R/3 Enterprise
    --> SAP R/3 Enterprise Core 4.70 / Ext. Set 2.00 (SR1)
    --> Inst. Guide - R/3 Enterprise 4.7 x 2.00 SR1 on Win: Oracle
    The above url is the SAP Service Marketplace with all the information you need to install, configure and run system. You need to be a valid licensed customer with a user ID and PASSWORD to use that.
    Without access you won't be able to successfully run any SAP systems because it has notes, patches etc.

  • What is the difference between v$archived_log and v$log_history.

    what is the difference between v$archived_log and v$log_history.
    thanks

    v$archived_log tracks all archival details for all destinations (including dataguard etc)
    v$log_history only tracks redo log details.

Maybe you are looking for

  • Problem after migrating to new Mac

    Hi, I changed my Mac from an iBook to a new Mac Mini running 10.8.2 I had Dreamweaver installed from the Adobe Creative Suite 3 Design Premium. Version 9.0 Build 3481 Dreamweaver was working fine before I migrated all my files on old Mac to the new o

  • Return goods to Subcontractor via delivery

    Hi We would like to return goods (final products) to subcontractor via delivery, Is this process SAP supports? what are the process steps to follow? Thanks Raju

  • How to export lv application

    Hi, it is very simple q, i think we have labview 7 and 2 DAQ cards from NI. we are developing an labview application that communicate over DAQmx drivers with our daq cards. what's the best way to export our labview application so that it can runs on

  • (OT) CRITICA CONSTRUCTIVA DISEÑO

    DEMO DE LOS DISEÑO. ANUACK.COM Hola foreros. Esto es con el fin de que me ayuden a escoger el mejor diseño. El site es www.anuack.com Por favor observar los 3 diseños y comenten cual es el mejor de todos. Gracias. SEA PARTICIPE Y AYUDENOS A ESCOJER N

  • Final Cut Express Crashes during rendering.

    I am trying to render a series of mp4 video files. I have 86.5 GB free space, and when I try to render, after a few seconds, the Final Cut Express 3.5.2 Crashes. I have checked the update site, and I have installed the latest updates. This also occur