Need information abt ServletContext and ServletConfig

i want to know the information and difference b/w in ServletContext and ServletConfig pls help me.
Thanks&Regards
kishore

ServletConfig serves a very specific purpose, a means to get configuration parameters from the web.xml INTO you servlet. AFAIK, it doesn't serve much purpose beyond that...
ServletContext provides the mechanism for a Servlet to communication with the Container. You can get path information, use it to store application wide attributes and parameters, etc.
The two really have absolutely nothing in common. So to answer your rather vague question:
"The difference b/w ServletContext and ServletConfig: Everything."
Do you have a more specific question? Is there a particular thing (like maybe the fact they both have methods named getInitParameter and getInitParmaterNames....) that is confusing you?

Similar Messages

  • I need information about ESS and Training and Work Experience

    I need information about ESS and Training and Work Experience.
    Anyone know if  there is something inside of the component ESS about Training and Work Experience (infotypes 22 and 23)?
    I appreciate information.
    Thanks.

    Marciano,
    check this documentation
    http://help.sap.com/saphelp_erp2005/helpdata/en/4d/c19ce6ef2842258283afc35a54172a/frameset.htm
    Thanks
    Bala Duvvuri

  • Need information abt ESS/MSS services?

    need information abt ESS/MSS services?

    Hi Ramesh,
    Have a Look at this links.
    these links would be usefull for you since you are exploring EP
    Creating R/3 Backend System https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/24d8faf9-0701-0010-c99c-aabbdb7e95f4
    Creating R/3 Transaction iView *** https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/61bcfff9-0701-0010-608d-f49bca11320c
    User Mapping https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2256fdf9-0701-0010-18b2-e5c83f75b73f
    Creating SQL Backend system with JDBC https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ce8502fa-0701-0010-319a-bdb72d4a1c0f
    Creating SQL iView with JDBC https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c27c04fa-0701-0010-61b1-a7c7375032b8
    Exporting Portal Objects https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ced5f8f9-0701-0010-59aa-8bef7761d9db
    Creating Worksets ans Roles https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9f2df6f9-0701-0010-d08f-a95acdd86453
    Creating Pages https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6077f3f9-0701-0010-cb97-c21d3aa57453
    Create URL iView https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e4bbf0f9-0701-0010-6a8a-e8b2372f76d0
    Create a Folder https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/47eeeef9-0701-0010-37b1-f356bfbbcf23
    Cheers!!
    Regards,
    krishna

  • ServletContext and ServletConfig

    Hi Techies,
    Suppose in a web server 2 Servlet and two jsp files are running.
    My question is how many ServletContext and ServletConfig instance will be created in my server?
    Thanks in advance.

    Hi Dear
    There is only one servletConfig objectper servlet and only one servletContext object per web app.
    All d Best

  • Need information about interfaces and namespaces in actionscript 3.0

    Hi,
    I need information about actionscript interfaces and
    namespaces, I'm preparing for ACE for Flash CS3 and I need to learn
    about this subjects and I can not find resources or simple examples
    that make these subjects understandable.
    Anybody can help me!
    Thanks a lot.

    Interfaces (cont.)
    Perhaps the most useful feature of interfaces is that you not
    only can define the data type but also method signature of the
    class that implements this interface. In other words, interface can
    define and enforce what methods class MUST implement. This is very
    useful when classes are branching in packages and team of
    developers works on a large application among others.
    The general syntax for an Interface with method signatures is
    written the following way:
    package{
    public interface InterfaceName {
    // here we specify the methods that will heave to be
    implemented
    function method1 (var1:dataType,
    var2:datType,…):returnType;
    function method2 (var1:dataType,
    var2:datType,…):returnType;
    To the previous example:
    package{
    public interface IQualified {
    function method1 ():void;
    function method2 ():int;
    Let’s write a class that implements it.
    If I just write:
    package{
    public class ClassOne extends DisplayObject implements
    IQualified {
    public function ClassOne(){}
    I will get a compilation error that states that I did not
    implement required by the interface methods.
    Now let’s implement only one method:
    package{
    public class ClassOne extends DisplayObject implements
    IQualified {
    private function method1():void{
    return;
    public function ClassOne(){}
    I will get the error again because I implemented only one out
    of two required methods.
    Now let’s implement all of them:
    package{
    public class ClassOne extends DisplayObject implements
    IQualified {
    private function method1():void{
    return;
    private function method2():int{
    return 4;
    public function ClassOne(){}
    Now everything works OK.
    Now let’s screw with return datatypes. I attempt to
    return String instead of void in method1 in ClassOne:
    private function method1():String{
    return “blah”;
    I am getting an error again – Interface requires that
    the method1 returns void.
    Now let’s attempt to pass something into the method1:
    private function method1(obj:MovieClip):void{
    return;
    Oops! An error again. Interface specified that the function
    doesn’t accept any parameters.
    Now rewrite the interface:
    package{
    public interface IQualified {
    function method1 (obj:MovieClip):void;
    function method2 ():int;
    Now compiler stops complaining.
    But, if we revert the class back to:
    private function method1():void{
    return;
    compiler starts complaining again because we don’t pass
    any parameters into the function.
    The point is that interface is sort of a set of rules. In a
    simple language, if it is stated:
    public class ClassOne implements IQualified
    it says: “I, class ClassOne, pledge to abide by all the
    rules that IQualified has established and I will not function
    correctly if I fail to do so in any way. (IMPORTANT) I can do more,
    of course, but NOT LESS.”
    Of course the class that implements an interface can have
    more that number of methods the corresponding interface requires
    – but never less.
    MORE means that in addition to any number of functions it can
    implement as many interfaces as it is desired.
    For instance, I have three interfaces:
    package{
    public interface InterfaceOne {
    function method1 ():void;
    function method2 ():int;
    package{
    public interface InterfaceTwo {
    function method3 ():void;
    package{
    public interface InterfaceThree{
    function method4 ():void;
    If our class promises to implement all three interface it
    must have all four classes in it’s signature:
    package{
    public class ClassOne extends DisplayObject implements
    InterfaceOne, InterfaceTwi, InterfaceThree{
    private function method1():void{return;}
    private function method2():int{return 4;}
    private function method3():void{return;}
    private function method4():void{return;}
    public function ClassOne(){}
    Hope it helps.

  • Need Information on Categories and Templates in Collaboration

    Hi,
       I am new to Collaboration. I want to know about the Categories while creating Room.  
       I have seen that there are 4 categories :
    1. default_category
    2. category_1
    3. category_2
    4. category_3
    Please give some description about these categories i.e. <b>what are these, when to use which one</b>.
    Also I have seen that there are 5 templates:
    1. SAP_Information_Site_2
    2. SAP_Meeting_Room_2
    3. SAP_Meeting_Room_Extended_2
    4. SAP_Project_Template_2
    5. SAP_Team_Room_2.
    Also, please give some description about these templates i.e. <b>what are these, when to use which one</b>.
    Regards
    Deep

    Hello Deep,
    The four room categories you see are the default categories provided by SAP.  I recommend you create your own that would actually mean something in your environment (such as Finance, HR, etc. depending on your needs).  To do this, follow the documentation from SAP: <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/44/50167b97c01193e10000000a155369/frameset.htm">Defining Categories and Relationship Types for Rooms</a>.
    Regarding the default room templates, to get an idea of what kind of Pages and iViews are in each one, you can view them in the PCD (Content Administration > Portal Content) in the Portal Content > com.sap.ip.collaboration > TemplateWorksets folder.  Just double-click a workset to view a list of pages that are created when the Room is created.  You can create your own template based on a copy of one of these, if they don't quite fit your requirements.  See <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/85/f58ece033b3349ae5509d2ea29e23b/frameset.htm">Providing Templates for Rooms</a> for more information.
    Cheers,
    Fallon

  • Need information about Garnishments  and  USA Tax     (Very Urgent)

    Hi SAP Experts,
    Please send me some configuration flow (one by one steps) about Garnishments and USA Tax . Please let me know where exacttly i need to configure. Please send me one by one steps.
    Thanks & Regards,
    GKReddy.K

    You might look towards forming a query that accurately restricts the identifying information
    for rows you want to display in your view, and using that as a subquery within the view definition.
    This can be described generally as:
    CREATE OR REPLACE VIEW yourViewHere AS
    SELECT
    usefulData
    FROM
    listOfTables
    WHERE
    properlyJoined
    AND someKeyColumn(s) IN (
    SELECT someKeyColumn(s)
    FROM listOfTables
    WHERE properlyJoined
    AND yourSpecialBusinessCondition(s)
    Note that SELECT UNIQUE/DISTINCT is not needed for
    the SELECT in the subquery ... the IN operator will
    do well enough without the extra work performed by UNIQUE.
    Usually good to look at the query plan used for each part of the query.
    HTH
    Bob Grove

  • Need Information about IP21 and IHistorian

    I'm need to connect IP21 plc and IHistorian db.But I don't have that much knowledg about these two things.Can I have document or link which provides infomation about IP21 and IHistorian or else any depth explanation about these two. Please provide me the necessary information.
    Thanq,
    Rakesh

    Hi,
    Pls chk this link;
    xMII - IP21 interface
    xMII - IP21 interface
    Regards
    CSM Reddy

  • I need information abt APO

    hi friends,
    i am in bw, actually i need some information in APO, i heared APO is PP advanced module, is it related with SCM also. can i get general theory for APO, bec i need to make some reports in bw.
    please give me some basic material in APO.
    Thanking u
    suneel.

    Suneel,
    Have a look at this thread
    Data Flow
    Will try posting some more info
    Regards
    Kumar Ayyagari

  • Need information regarding Approver and approved date of Shopping Carts

    Dear All,
    We have got a requiremrnt to extract a list approvers and approved dates of shopping carts created for a given department and date range.
    Is there any standard way to find that?
    If we need to create a Z report please let us know the tables invovled.
    Thank you.
    Regards
    Arindam

    Hi
    Each approval step in SRM has got a work item guid and its relevant data stored in few Data tables. You may build a custom report to meet your requirements.
    Refer to this post for more details:
    Re: SRM table which stored shopping cart approval start and end time
    Regards
    Virender Singh

  • I need information about ERP and modules

    Hi,
    I am new on SAP so if i can benefit your knowledge that would be great for me. I am not sure about modules. Why are we using so many modules in SAP and what does mean SAP module exactly? As i see whatever you do in SAP you should know something about modules that is why i am asking these questions.
    Regards.

    As it is evident your quiet new to SAP & SDN.
    But still, I would also agree with Nick.
    As there are mainly links flowing around.
    Only thing required from your side is to put afford to search them.
    Thus, kindly put an afford to search for the topics search you want.
    For instance, follow the following link:
    [- Overview on SAP Modules |http://www.thespot4sap.com/articles/sap_modules.asp]
    Or try posting this query on following SDN forum:
    All the very best & Take care.
    Thanks & Regards
    JP

  • Need information about Mail  and JDBC Adapter

    Hi Guys,
    I am just started learning XI. Can any you provide any document how to use Mail and JDBC adapters in step-by-step way.
    Thanks & Regards
    Surendra M

    hi,
    Check these links
    Mail Adapter
    http://help.sap.com/saphelp_nw70/helpdata/en/ad/bf93409c663228e10000000a1550b0/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb1551f05
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816
    JDBC Adapter
    http://help.sap.com/saphelp_nw70/helpdata/en/22/b4d13b633f7748b4d34f3191529946/frameset.htm
    Receiving Mail attachments using additional files of file adapter
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
    FILE to JDBC Adapter using SAP XI 3.0
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    Tips and Tutorial for Sender JDBC Adapter
    /people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter
    Sachin
    Message was edited by:

  • In Contacts version 8, how can I print ALL information in each individual card? When I select the print command the only thing printed is the name and address. I need phone number(s) and all other information in the cards.

    In Contacts version 8, how can I print ALL information in each individual card? When I select the print command the only thing printed is the name and address. I need phone number(s) and all other information in the cards. We enter various pieces of data, other than the standard name address & phone numbers and we print all information on each card so it fits in a 5x7 inch loose binder. We have used InTouch software for many years and it has served us extremely welll, however, the publisher (The Prairie Group) has not, and apparently has no plans to update their software to be compatible with any Mac OSX OS beyond 10.6. Any help will be appreciated!

    You can select what you want included in a list format. In the Print command from Contacts, click the Show Details button. Then in the Style pulldown menu select "Lists" and there you'll be able to select what you want included. You can also select what you wish included if you select the Pocket Address Book style.
    If neither of those options will work for you, then you will need to look to third-party software. Here's one possibility that seems to get good reviews:
    https://www.macupdate.com/app/mac/15485/labels-&-addresses
    I haven't done more than try it to make sure that it works with OS X 10.9's Contacts, which it does, but you can download their demo and try it yourself.
    Regards.

  • I need information about personal experience with DFS-R: shortcomings and limitaions of DFS-R

    Hello,
    We plan to install DFS-R in our organization.
    I need information about personal experience with DFS-R: shortcomings and limitations of DFS-R.
    Thank you for any info. 

    Hi,
    You could refer to the articles below to see some limits about DFSR and some DFSR configuration mistakes which will cause DFSR problems:
    Understanding DFS Replication "limits"
    http://blogs.technet.com/b/filecab/archive/2005/12/12/understanding-dfs-replication-_2200_limits_2200_.aspx
    Common DFSR Configuration Mistakes and Oversights
    http://blogs.technet.com/b/askds/archive/2010/11/01/common-dfsr-configuration-mistakes-and-oversights.aspx
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • I need information regarding the creation of Workbook and WAD.

    Hi,
    I need information regarding the How to create the Workbook and WAD.
    Can any one help me to get the information..
    Regards,
    Suman
    Edited by: Suman Reddy Vuyyuru on May 19, 2009 8:22 AM

    Hi,
    for workbook:
    [Queries in Workbook|http://help.sap.com/saphelp_sem40bw/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm]
    for WAD:
    [WAD for Beginners|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/749a4622-0a01-0010-36bf-b6b30a2a3a22]
    thnks.

Maybe you are looking for

  • Not able to edit event names in iCal

    Since upgrading to Snow Leopard, I am not able to edit event names in iCal once they are created. I am able to edit all other items in the event, but not name. I have tried double clicking, using the inspector, etc. to no avail. Any ideas?

  • IPad sync on iTunes..

    My wife has an iphone and i have an ipad...itunes always fires up with her account displayed. I plugged my ipad in..gave it a name and it auto-synced with her iTunes a/c. I now have all her music, pics etc now on my iPad and she has all my stuff on h

  • Issue with Tomcat 4.0.1 (not recieving proper mime type header)

    I have two environments running xsql servlets. One is a Red Had 7.2 box with jdk13 and Tomcat 4.0.1 running the jars in WEB-INF/lib directory of my test context. The other environment is a Solaris8 Netra box with the same version of the jdk and the s

  • Passing parameter to Lov query

    I want to display a Lov having a runtime parameterised query . like : select * from dept where deptno=? .where deptno will be taken from form field . How to resolve . for further details:[email protected] some help me

  • Activation on a friend's machine, without syncing possible?

    I just got my iPad, but both my Macs are still running 10.4, my 10.6 Box Set is in transit from the Apple Store. Can I activate my iPad on a friend's Mac without syncing, so I can start using it before I upgrade my 10.4 Mac to 10.6? The local Apple S