Concept needed to clarify

I would like to ask some concept in JSP
Is that the variable declare in the <% %> is global variable or instance variable?
If two client access the same JSP at the same time, and there is a variable x=0;
And then this JSP perform x++ and display x. The expected result will be output x=1. Will there be a chance that is will appear x=2 if many client access the same page?

Variable in <% %> has scope only for that instance.. If you need global variable or valrible across multiple instances declare variable <%! %> block.

Similar Messages

  • I need to clarify how I can use adobe as a host for my site for free. I see where business catalyst is supposed to be temporary as well as it is recommended to use as the better alternative to launch my muse site. But then I have to use the long

    I need to clarify how I can use adobe as a host for my site for free. I see where business catalyst is supposed to be temporary as well as it is recommended to use as the better alternative to launch my muse site. But then I have to use the long extension of "businesscatalyst" in addition to the domain name I'd prefer. How exactly can I take it live? do I have to use a third party hosting?

    Hi,
    Once you are done with your sitet, Click on Publish in Muse, select New Site from the drop down, It will ask you a name for your site, which will be used for  site url, you will get a url like mysite.businesscatalyst.com, then go to the browser and login to the admin panel, mysite.businesscatalyst.com/admin and on Dashboard, click Launch site. This will push your site live, and you can then add your custom domain.
    Also make sure that you have completed all these actions mentioned here
    User manual
    Do let me know if you have any question.

  • Fault Message  concept needed

    Hi
      I'm doing one file to Proxy scenario.. if  the source file contain some mandatory fields then only my file should  be processed.. otherwise i need to raise an exception.. for this.. how fault messages concepts can we apply.. because i does't know any thing abt falut messages.. how can we use..  and where can we define  and  where can we add these ..
    plz give me the  clear idea abt this..with basic steps
    thanks
    babu

    Fault messages generally used for used for synchronous interfaces assume when a proxy is generated from a message interface an exception class is generated for a fault message type. You use this exception class to handle application errors at runtime.
    The fault message of the application for an asynchronous ABAP server proxy is persisted for monitoring. In the case asynchronous of Java server proxies, the fault message is part of a negative application acknowledgement (see Acknowledgments).
    Application-specific means that the application on the inbound side triggers the error itself because, for example, the request message did not contain sufficient information.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/dd/b7623c6369f454e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/5d/a45c3cff8ca92be10000000a114084/frameset.htm
    Please see the below links
    Asynchronus RFC  exception handling
    XI Alerts are not getting triggered from proxy servers
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ee5bc490-0201-0010-e9b5-a258cf083bca
    /people/sap.user72/blog/2006/01/16/xi-propagation-of-meaningful-error-information-to-soap-client
    Fault Message
    /people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1

  • I need to clarify before Purchase of High Def Cam

    Probably a stupid question, hope its the right thread, but hey! so here goes:
    I'm new to high def and about to purchase an HD cam. As Apple and BluRay arent the best of friends at the moment (maybe a bit strong?!), i.e don't have the full array of output options as you do with SD, Im assuming I can just edit away in either AVCHD or HDV without the use of any other third party s/ware and just using my Finalcut Studio 2 I am able to produce a standard definition DVD in DVD Studio Pro?

    Unless you are using a hardware assist like the AJA HDIO or one the the blackmagic devices, which will connect to an HDV camera and do the transcode on capture, capturing HDV over firewire and transcoding to ProRes 422 causes a significant lag: that is, when you stop the camera the process continues for some time. I don't even know if you can do a full one hour tape, for example. That said (which I read on this board), in my limited tests to a single, internal SATA drive (the second one, not the system drive) on my G5 Quad, at least two minutes were captured using the ProRes422 for HDV "easy setup" without any lag (two clips, starts a new clip at camera start/stop), and the display showing "real time capture" the entire two minutes.
    But, while capturing HDV to a ProRes sequence, you can only do "capture now" and not capture and log. So if you need to recapture for whatever reason, you don't just get to use the log. You basically position the tape where you want it, start up "log and capture" and a screen appears, starts up your tape and begins capturing until you hit escape. There is an annotation in the window indicating how much behind things might be. Mine said "capture in real time" for my two minute test. A new clip is created on each camera start/stop, however.
    So, if you are willing live without log and capture, it's a faster way to to as you note.
    Oh, and AVCHD is a more consumer format with lower quality (so far) than HDV. HDV is 25mb/s; AVCHD is around 17mb/s, and with claims of true HD (1920x1080 rather than HDV's 1440x1080), there is significantly more compression. Check out camcorderinfo.com for some camera reviews of both types where compression and its artifacts are discussed.
    Ed
    Message was edited by: Edward A. Oates
    Message was edited by: Edward A. Oates
    Message was edited by: Edward A. Oates

  • I received an email that i need to clarify from whom claims to be Mozillfirefox but i fear it's a virus. this is something i need to chat about now please

    this is the email
    Mozilla Firefox Lottery Program...11/09/2011Sunday, September 11, 2011 5:51 PM
    From: "MOZILLA FIREFOX LOTTERY" <[email protected]>Add sender to ContactsTo: undisclosed-recipientsDear Winner,
    Dear Winner,
    We the Mozilla Firefox have to congratulate you for been our 20011 lucky winner of the year. You have won 900,000 BGP after we did our open ballot. To claim your prize please call our claim agent Rev. Dewey Scribner +447024063845 or email him on ( [email protected] ) congratulation once again.
    Mrs. Vivian Haris
    I need to know if you sent it to me

    That isn't from Mozilla, it's a scam.

  • Write Up Depreciation Concept needed to be Clear !

    Hi,
    All Experts ,
    Can anyone clear me the Write Up Depreciation Concept with example and scenario ?
    I am confused between normal depreciation & Write Up depreciation.
    Your help is highly appreciated.
    Thanks in advance !
    Regards,
    Pankaj.

    Hi,
    Paul.
    As you said that Write up depreciation is use to make correction in posted depreciation for earlier
    periods, then Write Up depreciation is use to make an increase or decrease in depreciation ? 
    I knew that write ups can not be posted for current period allowed to post for earlier period.
    ( Mite be wrong ! correct me. )
    Please throw a focus on it.
    Thnaks Paul.
    Regards,
    Pankaj.
    P.S :- Does posting write up generate FI Documents ?
    Edited by: pankaj_ab on Jun 16, 2009 2:22 PM

  • Object Calling need to clarify

    Dear Experts,I need a little help.Please read the following code to give me some answers:
    <pre>
    package weight;
    public class Weight {
         public static final int SMALLER = -1, EQUAL = 0, LARGER = +1;
         int a;
         public Weight (int a){
              setGram(a);
         private void setGram(int a) {
              this.a = a;
         public int compareTo(Weight wgt) {          
              int status;
              double thisGram = this.getGram();
              double otherGram = wgt.getGram();     
              if (thisGram < otherGram){
                   status = SMALLER;          
              }     else if (thisGram == otherGram){
                   status = EQUAL;
              }     else {
                   status = LARGER;
              return status;          
         private double getGram() {
              return a;
    </pre>
    Now I created main class:
    <pre>
    package weight;
    public class WeightMain {
         public static void main (String args [] ){     
              Weight wgt1, wgt2;     
              wgt1 = new Weight (2);
              wgt2 = new Weight (3);     
              int result = wgt1.compareTo(wgt2);     
              if (result == Weight.SMALLER){
                   System.out.println("wgt1 is smaller than wgt2");
              }     else if (result == Weight.EQUAL){
                   System.out.println("wgt1 is Equal to wgt2");
              }     else {
                   System.out.println("wgt1 is larger than wgt2");
    </pre>
    My question is how the compareTo () method is working.It is taking a object of the Weight class as it's parameter but what this.getGram() means and what wgt.getGram() means.How they are getting value.Please give me a little explanation too.
    Thanks to spend you valuable time and effort.

    public int compareTo(Weight wgt) {          
    int status;
    double thisGram = this.getGram();
    double otherGram = wgt.getGram();     
    if (thisGram < otherGram){
    status = SMALLER;          
    }else if (thisGram == otherGram){
    status = EQUAL;
    }else {
    status = LARGER;
    return status;          
    private double getGram() {
    return a;
    }This is obviously not your code, have you taken the time to step through it and to change the arguments to the constructors to Weight in the main method?
    The compareTo method takes a reference to a Weight object, it then does a simple comparison on the values returned from the getGram method and returns the appropriate "status" according to the values stored by the setGram method called in the constructor of the object.
    "this" refers to the instance of an object inwhich the execution is happening and the wgt is a reference to the other object--in this case the second object that was created in the example code.
    This should become clear if you learn how to use your debugger--set a breakpoint, and trace the code execution. Take the time: learn how to use the debugger and play with the code until you understand what is happening.

  • I need to Clarify "JEST " table

    Hi All,
    I need to know the meaning of data stored in the column "STAT" of table JEST.
    Example:-
    I0001 - ?
    I0002 - ?
    I0010 - ?
    I0016 - ?
    I0028 - ?
    I0045 - ?
    I0056 - ?
    I0074 - ?
    I0118 - ?
    I0215 - ?
    I0321 - ?
    I0361 - ?
    I0369 - ?
    I0420 - ?
    These are some of the information stored how could I get the meaning of the rest stored in "STAT" column? AND what do they mean by "CHGNR" column?
    Thanks,
    Kishan

    Hi,
    These are not the texts but the status indicators what you have specified in the earlier post. These are customizing settings and can vary.
    TJ30T stores the long texts for these status indicators. for ex. 'I001',etc .
    To use the table TJ30T you need to know the Status Profile which is again a customzing done by Functional Consultant.
    Have a look at following sample code.
    Get the User Status of the Equipment.
        select single objnr from equi into z_objnr
                            where equnr = t_equnr-equnr.
        if sy-subrc = 0.
          select single stat from jest into z_stat where
                           objnr = z_objnr and inact <> 'X'.
          if sy-subrc = 0.
            select single txt30 from tj30t into z_txt04
                                where estat = z_stat
                                and stsma = 'ZEQUIP'.
            if sy-subrc = 0.
              t_pnwtyh_alv-stat = z_txt04.
            endif.
          endif.
        endif.
    Hope it helps.
    Regards,
    Shashank

  • Need to Clarify: Reset Windows Login Password can hack to CSS data?

    Dear ThinkPad fans
    Until now, we both know that we can find many ways to pass over and reset Windows Login Screen. So my question is if they can use tools to reset my Windows Login Passwords, can they use reseted pass phrases to discover my CSS data?
    Any can clarify to me? Thank a lot.
    Using: ThinkPad W500 - Windows 7 Ultimate 64 bit.

    Welcome to the community.
    I don't think you'll get much discussion on this topic as any techinical info might be used for nefarious purposes. Anything posted remotely useful for those purposes might also be at risk of moderation per the Community guidelines here:
    http://forums.lenovo.com/t5/Welcome-FAQs/Lenovo-Co​mmunity-Participation-Rules/m-p/1
    Specifically:
     No posts shall include instructions or directions intended to subvert security measures, including passwords, locking mechanisms, fingerprint scans, etc, or to subvert safety measures. Nor shall any posts provide descriptions to the location of, nor direct links to content related to these topics.
    Regards.
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество
    Community Resources: Participation Rules • Images in posts • Search (Advanced) • Private Messaging
    PM requests for individual support are not answered. If a post solves your issue, please mark it so.
    X1C3 Helix X220 X301 X200T T61p T60p Y3P • T520 T420 T510 T400 R400 T61 Y2P Y13
    I am not a Lenovo employee.

  • Need some clarifyication on the header variable login module

    Hi ,
    I need some clarification on this Header login Module.
    It checks for the Header variable sent by IIS a server, when we implement the single sign on from windows system .
    1. Is HEADER variable differnet from HTTP header
    2. can we use this login module if we have to check the user id in HTTPheader?
    3.In my case the header variable(rEmote_user) will not be set by the IIS as i am not doing the windows authentication. can i set the the header variable(rEMOTE_USER)from asp pages and configure the Header variable login module on the portal to enable single sign on from asp application to the portal?
    please write to me if you know anything on this.
    Thanks,
    Lakshmi

    Hi Lakshmi,
    Header Login Module checks the HTTP headers for the header varible specified in the Header Login Module. In your case it is "remote_user".
    > 1. Is HEADER variable differnet from HTTP header
    No. Header variable is nothing but HTTP header variable.
    > 2. can we use this login module if we have to check
    > the user id in HTTPheader?
    >
    Yes. Portal looks for the user_id in the remote_user header varible.
    > 3.In my case the header variable(rEmote_user) will
    > not be set by the IIS as i am not doing the windows
    > authentication. can i set the the header
    > variable(rEMOTE_USER)from asp pages and configure the
    > Header variable login module on the portal to enable
    > single sign on from asp application to the portal?
    >
    Here is the hack. Before you set the http header varible through the asp page, what kind of mechanism you are using to ensure this is the authenticated user. Technically you can make it work. Without properly prtotecting the portal, if you simply configure the portal to accept the header variable then it could be a security risk. Anybody can simply set a HTTP header varible with the userid and access as that user.
    I am just mentioning the security risk but I assume that you may have other mechanisms in place to ensure proper authentication before setting the header varibles..
    > please write to me if you know anything on this.
    >
    > Thanks,
    > Lakshmi
    Hope this helps.
    Regards
    -Venkat Malempati

  • Need to clarify why some clearing accounting documents without no line item

    Hi All,
    there are few clearing accounting documents created. In that for very few documents are generated without line item.
    could you anyone tell me what might me the reason?
    waiting for your reply,
    Regards

    Hi Chintan,
    Thanks for your reply. there are some other clearing documents where i can execute it through FB03. but there are only 3 documents which are not appering in fb03. it says list contains no data. can you please tel me what might me the reason.
    Regards

  • Need help clarifying client/server TNS communication

    Im trying to get a clearer understanding of service/listener registration in the Oracle client/server architechure. Feel free to point out errors in my understanding.
    When an Oracle client connects to the server, it forms its connect descriptor based on the clients tnsnames.ora file. The client then checks the specified port on the host in the connect descriptor for a listener that is registered with the service defined in the
    (CONNECT_DATA =
    (SERVICE_NAME = TESTSERVICE)
    portion of the client's tnsnames file. Correct?
    Does the listener gets its list of SIDs its registered with from the SID_LIST section of the listener.ora file or the tnsnames file?
    If the listener gets its list of SIDs to register with from the tnsnames file, is that the tnsnames file on the server?
    If so, then what is the SID_LIST used for in the listener.ora file?
    Im trying to connect the dots and any help would be much appreciated.
    Thanks,

    Reading below documents would help you understand how client/server TNS communication works:-
    Listener Architecture
    http://download-east.oracle.com/docs/cd/B14117_01/network.101/b10775/architecture.htm#sthref445
    Configuring Naming Methods
    http://download-east.oracle.com/docs/cd/B14117_01/network.101/b10775/naming.htm
    Configuring and Administering the Listener
    http://download-east.oracle.com/docs/cd/B14117_01/network.101/b10775/listenercfg.htm

  • To clarify batch input / call trans

    hi all,
    1) if submit rsbdcsub and return in report xyz it means batch input session is created and is processed from the report xyz instead of manually process in sm35. rite?
    2) may i know if i use call transaction to update instead of via sm35. for example, instead of perform insert_group using 'MB1B' i use
    call transaction 'MB1B' using bdcdata
                                     mode
                                     update ......
    if use call transaction, bdc_insert should be performed within a loop, rite?
    3)no batch input session created if use call transaction, rite? as every bdcdata line will update using MB1B, correct?
    thanks

    Hi again,
    1. what i need to clarify is that i only can use either 1 of the asterisk line, right? if session i use bdc_insert else use call transaction. correct?
    Yes, u are partly correct.
    2. To put it transparently
      *---- call transaction concept. (session syntax not at all required)
      LOOP.
        append bdcdata  
       call transaction 'tcode' using bdcdata
      ENDLOOP.
    *---- session
    bdc_open_group
      LOOP.
         bdc_insert using t-code
        ENDLOOP.
    bdc_close_group
    regards,
    amit m.

  • Need to Open Two Windows at the same time

    Hi All ,
    I have a requirement wherein I am opening a new page when the user presses a link . The information displayed to the user in the new page is Read-Only.To display the reqd info on the new page I pass some parameters encoded in the page call URL.
    Besides , displaying the info in the new page , it is imperative that i allow the user to continue performing some transactions in the current page (calling page).
    However , i am not able to achieve the same . If I use 'retainAM=Y' in the URL then i pass the Session Control from the calling page to the called page . So that option is out.
    Can u suggest something wherein i am able to pop-up a new page to the user , but still not loose the session control from the current page.
    It is necessary that the user has both windows open to perform the transactions.
    Thanks
    Chirag

    Senthil
    I need to clarify some things . I cannot create an OA Function as you have earlier advised . Lets say its a constraint i have. My scenario is that i have to prepare a HyperLink Declaratively . In that i am currently giving _Blank as the target .
    Now i want to open the new page and still allow the user to perform some transactions in the original page while the new page is still open . How should i go abt maintaining my AM from original page.
    Following are the scenarios i have already tried out.
    1) I have opened the the new page and released my application module in that page . This didnt work .
    2) I have tried doing retainAM=N . This also does not work.
    3) Using PopUp is not an option since i cant create OAFunction .
    Are their any other way . When i open a new window thru a current window , my AM gets transferred to the new window . Hence i am not able to perform any transactions on that the original page . How can u release the AM On click of a link ?
    Pls Suggest
    Thanks
    Chirag

  • Need help with iphoto and dragging to external hard drive

    Hello,
    I have my iphoto very organized into Events and I recently just moved them to be in folders.  I would like to have only certain Events (or folders/albums) on the external hard drive.  The apple store rep said to go to Finder, Pictures, Iphoto, then right click to "Show Package Contents."  Then go to either "original" or "modified." From there I can drag into the hard drive.  However, I'm very confused because the "modified" or "original" are not organized at all by folders or events.  There are dates only.  What can I do to find, drag the events (each are named)?  Please help!
    Katie

    1. Ignore the Apple store rep.
    2. You need to clarify:
    I have my iphoto very organized into Events and I recently just moved them to be in folders
    Moved them to be where in folder? In iPhoto? In the FInder?
    I would like to have only certain Events (or folders/albums) on the external hard drive.
    In an iPhoto Library? Or in the Finder?
    Do not access the Library via the Finder or any other app. You risk damaging your Library and you will lose data.
    If you want to have some Events/Albums on an External Disk within iPhoto:
    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    Now you have two full versions of the Library.
    3. On the Internal library, trash the Events you don't want there
    Now you have a full copy of the Library on the External and a smaller subset on the Internal
    Some Notes:
    As a general rule: when deleting photos do them in batches of about 100 at a time. iPhoto can baulk at trashing large numbers at one go.
    You can choose which Library to open: Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Choose Library'
    You can keep the Library on the external updated with new imports using iPhoto Library Manager
    If you want to have them in Folders in the Finder
    Use the FIle > Export command to get photos out of iPhoto.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.

Maybe you are looking for