offline-allowed/ is not interpreted

Hello,
I've tried to deploy an application with JWS, which worked fine so far. I did NOT specify the <offline-allowed/> element within the <information> tag, anyway, JWS starts the application even if I stop the server and pull the network cable out.
But what I actually want is that JWS refuses to start the application when no connection to the originating server is available.
Could anyone give me a hint?
Thanks, Rod.

What version of Java Web Start are you running. ?1.4.2_05
I think, since version 1.4.2, if network is disabled
and app has no <offline-allowed> tag, Web Start will
wait forever at the Download Window checking for
updates.On my box it just starts, no matter online or offline.

Similar Messages

  • HT2105 Continually get a message saying "We are experiencing technical difficulties, please try later" when trying to set up allowances. Not very helpful. Any ideas. I am running the latest itunes with Windows 7 Professional.

    Continually get a message saying "We are experiencing technical difficulties, please try later" when trying to set up allowances. Not very helpful. Any ideas. I am running the latest itunes with Windows 7 Professional.

    Not a solution yet, but received the following from one of the tech people I've been e-mailing back & forth with.
    "I'm sorry that you have been unable to submit your podcast. The podcast submission form is currently offline. When trying to submit the podcast you will receive this message "We are Currently Experienced Technical Difficulties". Once the issue has been resolved, I would be glad to inform you.
    Apple is currently working toward a resolution for the issue you have reported. You will receive an email after the matter has been investigated and further information is available."
    Who knows, maybe the problem isn't with my feed after all.

  • If I include offline-allowed  then creation of shortcuts will be disabled?

    Hi,
    I noticed that if in a JNLP file I included the element <offline-allowed/> element, then in my JWS cache viewer the "install shortcuts" function would be disabled (grayed out).  I had to remove this element to regain that function.  This was true no matter I set the other element attribute online for the shortcut element to be "true" or "false".
    I was using JRE/JDK 1.6.0_03 (build 1.6.0_03-b05)
    Clement
    Here are the snippet of my code that did not work (i.e. no shortcut function)
    <jnlp spec="1.0+"
          codebase="...">
       <information>
          <title>Some GUI Client</title>
          <vendor>Some company</vendor>
          <description>Some product
          </description>
          <homepage href="http://www.company.com"/>
          <description kind="short">Some Client</description>
          <icon kind="splash" href="../images/JWS-splash.jpg"/>
          <icon href="../images/JWS-icon.64x64.gif"/>
          <offline-allowed>
          <shortcut online="false">
            <desktop/>
            <menu submenu="Some Product"/>
          </shortcut>
       </information>
       <resources>... Here is the snippet of my code that worked (i.e. shortcut function allowed). Note that if I set online="true" the test result was the same.
    <jnlp spec="1.0+"
          codebase="...">
       <information>
          <title>Some GUI Client</title>
          <vendor>Some company</vendor>
          <description>Some product
          </description>
          <homepage href="http://www.company.com"/>
          <description kind="short">Some Client</description>
          <icon kind="splash" href="../images/JWS-splash.jpg"/>
          <icon href="../images/JWS-icon.64x64.gif"/>
          <shortcut online="false">
            <desktop/>
            <menu submenu="Some Product"/>
          </shortcut>
       </information>
       <resources>
         ...

    Hi,
    I double checked my typing. I retested and made sure that <offline-allowed/> is ended correctly with the "/>" but still I could not install shortcut. I must take out that line to get back my option of "install shortcuts".
    However, now I've found a workaround. I omit the (trouble-making) line of <offline-allowed/> but turn the online attribute of the shortcut element to "false". That is
          <shortcut online="false">
            <desktop/>
            <menu submenu="Some GUI"/>
          </shortcut>And this would work (i.e. I can install shortcuts)
    If I am not missing something, that I believe there may be a bug introduced very recently. I am using JRE/JDK of 1.6.0 (build 1.6.0_03-b05)
    Thanks!
    Clement

  • Offline allowed - Perplexed

    I am using JWS 1.4.2 and the question pertains to the usage of
    <offline-allowed/> tag.
    The requirements for the project are quite straight forward. First time
    install of the application and download of updates if available.
    Our application will be deployed on about 100 workstations(PC's) and
    under no circumstance can we risk that few of the workstations have
    older application and few have latest updated version when production fixes are implemented. So if an update
    is available either it is downloaded on all workstations or none.
    In light of the above, what is the recommdentation about usage of
    <offline-allowed> tag in the JNLP file.
    I have researched the Sun forums it says that if using
    <offline-allowed> the update is ot guarenteed and further if this tag is ommitted than the JWS may hang forever checking for updates.
    (http://forum.java.sun.com/thread.jspa?forumID=38&threadID=452567)
    Kindly suggest for my requirements should I be using the tag in JNLP or not.
    Looking forward for Andy to come to my rescue.

    The way offline-allowed is supposed to work is that the application will not run if JavaWS can't connect to the server. What happens is a dialog is displayed saying the app won't run.
    This is not hung, it's just waiting for the user to acknowledge it. There was a problem in 1.4.2 with some of the modal dialog. The problem was that dialogs that we modal were not being brought to the front correctly. Sometimes the dialog would get completely hidden by another JavaWS window. The app would then seem to be hung. I can't remember if this dialog was one of them or not. Anyway, that bug is fixed.
    The best way to find out how your app will behave is to run it once, so you have a shortcut, then just unplug your network cable. ;-)
    Mike.

  • Questions on offline-allowed

    Hey guys,
    Our application needs to have the ability to work offline. Hence i put the <offline-allowed/> element in the jnlp file.
    However I was seeing some cases, where I was not getting the latest version of the application even while online.
    The web start developer docs say :
    If offline-allowed is specified, Java Web Start will also check to see if an update is available. However, if the application is already downloaded the check will timeout after a few seconds, in which case the cached application will be launched instead. Given a reasonable fast server connection, the lastest version of the application will usually be run, but it is not guaranteed. The application, however, can be run offline.
    Is there any way to guarantee that the latest version of the application is downloaded if the user is online ? Writing an application that clears the cache possibly ?
    What experiences have y'all had with compatability problems with different versions of the app on the users machine and on the server ?
    Thanks

    The problem is the <offline-allowed> is overloaded.
    w/o it a program will wait infinately for the download host to determine if there is an update. (this can greatly slow down launching, even when online and there is no update available)
    with <offline-allowed>, Java Web Start still dosn't really know if it is being run offline or online (unless launched with arg "-offline" which will not check for update at all). In this case it will check for finite amount of time (in 1.4.2 is 1.5 seconds). If it can't determine in that much time if there is an update, it will launch from cache, and continue to check in background.
    in 1.4.2, you can put in deployment.properties the value:
    deployment.javaws.forceUpdate=true
    this will cause all apps to never timeout checking for updates (assuming not launched with "-offline")
    or you can increese the timeout with:
    deployment.javaws.updateTimeout=5000 (this would change from 1.5 to 5 seconds
    unfortunately you can only do this on the indivual clients.
    /Dietz

  • " Can not interpret the data in file " error while uploading the data in DB

    Dear All ,
    After running the below report I am getting the " Can not interpret the data in file " error.
    Need to upload the data in DB through excel or .txt file.
    Kindly advise to resolve the issue.
    REPORT  ZTEST_4.
    data : it like ZPRINT_LOC occurs 0 with header line,
    FILETABLE type table of FILE_TABLE,
    wa_filetable like line of filetable,
    wa_filename type string,
    rc type i.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
    CHANGING
    FILE_TABLE = filetable
    RC = rc.
    IF SY-SUBRC = 0.
    read table filetable into wa_filetable index 1.
    move wa_filetable-FILENAME to wa_filename.
    Else.
    Write: / 'HI'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    start-of-selection.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    FILENAME = wa_filename
    FILETYPE = 'ASC'
    HAS_FIELD_SEPARATOR = 'X'
    TABLES
    DATA_TAB = it.
    IF SY-SUBRC = 0.
    Write: / 'HI'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    insert ZPRINT_LOC from table it.
    if sy-subrc = 0.
    commit work.
    else.
    rollback work.
    endif.
    Regards
    Machindra Patade
    Edited by: Machindra Patade on Apr 9, 2010 1:34 PM

    Dear dedeepya reddy,
    Not able to upload the excel but have sucess to upload the .csv file to db through the below code. Thanks for your advise.
    REPORT  ZTEST_3.
             internal table declaration
    DATA: itab TYPE STANDARD TABLE OF ZPRINT_LOC,
          wa LIKE LINE OF itab,
          wa1 like line of itab.
                       variable  declaration
    DATA: v_excel_string(2000) TYPE c,
           v_file LIKE v_excel_string VALUE    'C:\Documents and Settings\devadm\Desktop\test.csv',  " name of the file
            delimiter TYPE c VALUE ' '.         " delimiter with default value space
         read the file from the application server
      OPEN DATASET v_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    write:/ 'error opening file'.
      ELSE.
        WHILE ( sy-subrc EQ 0 ).
          READ DATASET v_file INTO wa.
          IF NOT wa IS INITIAL.
            append wa TO itab.
          ENDIF.
          CLEAR wa.
        ENDWHILE.
      ENDIF.
    CLOSE DATASET v_file.
    EXEC SQL.
         TRUNCATE TABLE "ZPRINT_LOC"
    ENDEXEC.
    *------display the data from the internal table
    LOOP AT itab into wa1.
    WRITE:/ wa1-mandt,wa1-zloc_code,wa1-zloc_desc,wa1-zloc,wa1-zstate.
    ENDLOOP.
    insert ZPRINT_LOC from table itab.

  • HT4901 I have HughesNet with a capped amount of Internet capacity. How can I use iCloud but adjust the time it is on to conserve my Internet allowance and not have to backup my information all the time????

    I have HughesNet satellite for an ISP with a capped amount of Internet capacity. How can I use iCloud but adjust the time it is on to conserve my Internet allowance and not have to back up my information all the time?

    Thanks Roger W1,
    Yes, I was using iTunes to sync over cable without problems since orinigal purchase in 2011 and using 10.6 w/o problem. There was an "update" in Nov 2012 that crashed the sync service. I went to the Apple Store and reviewed the problem with the Geniuses there. It was discovered at that time that the update included mandated use of iCloud but enough of the un-updated code remained that he was able to patch functions to allow Microsoft Office to still sync over iTunes.
    This March (+/-) there was another "update" to 10.6 that totally destroyed the patch that was in place so there was no sync service available between Microsoft and iTunes what-so-ever. Then recently, because of some unknown process, all my notes, contacts, and calendars were erased in both my Apple utilities and Microsoft utilities.
    After many hours of frustration I was able to recover most of the information to the Apple utilities only, but those were unstable. At my visit to the Apple store it was suggested that an upgrade to 10.8 might solve the stability problem. That it did but being connected to the iCloud all the time keeps using up all my Internet time and I have nothing left to check emails or do research.
    This, to me, is not my problem but one created by Apple. I have searched the Internet and support groups and there doesn't seem to be a solution.
    The "aircraft mode" turns off all other communication functions and is not acceptable. Neither is disconnecting/turning off Airport on my MBP.
    Thanks,
    Jay

  • Property List error: Unexpected character b at line 1 / JSON error: JSON text did not start with array or object and option to allow fragments not set.

    Hi,
    I have a MBP 13' Late 2011 and Yosemite 10.10.2 (14C1514).
    Until yesterday, I was using Garmin ConnectIQ SDK and all was working fine.
    Yesterday, I've updated my system with latest security updates and Xcode updates too (Version 6.2 (6C131e)).
    Since, I can't launch the ConnectIQ simulator app, I have this message in console :
    8/04/2015 15:19:04,103 mds[38]: There was an error parsing the Info.plist for the bundle at URL Info.plist -- file:///Volumes/Leto/connectiq-sdk-mac-1.1.0_2/ios/ConnectIQ.bundle/
    The data couldn’t be read because it isn’t in the correct format.
    <CFBasicHash 0x7fa64f44e9a0 [0x7fff7dfc7cf0]>{type = immutable dict, count = 2,
    entries =>
      0 : <CFString 0x7fff7df92580 [0x7fff7dfc7cf0]>{contents = "NSDebugDescription"} = <CFString 0x7fa64f44f0a0 [0x7fff7dfc7cf0]>{contents = "Unexpected character b at line 1"}
      1 : <CFString 0x7fff7df9f5e0 [0x7fff7dfc7cf0]>{contents = "kCFPropertyListOldStyleParsingError"} = Error Domain=NSCocoaErrorDomain Code=3840 "The data couldn’t be read because it isn’t in the correct format." (Conversion of string failed.) UserInfo=0x7fa64f44eda0 {NSDebugDescription=Conversion of string failed.}
    I have looked at this file and it looks like a binary plist
    bplist00ß^P^V^A^B^C^D^E^F^G^H
    ^K^L^M^N^O^P^Q^R^S^T^U^V^W^X^Y^Z^[^\^]^^^_ !"$%&'()'+,^[\CFBundleNameWDTXcodeYDTSDKName_^P^XNSHumanReadableCopyrightZDTSDKBuild_^P^YCFBundleDevelopmentRegion_^P^OCFBundleVersi    on_^P^SBuildMachineOSBuild^DTPlatformName_^P^SCFBundlePackageType_^P^ZCFBundleShortVersionString_^P^ZCFBundleSupportedPlatforms_^P^]CFBundleInfoDictionaryVersion_^P^RCFBundleE    xecutableZDTCompiler_^P^PMinimumOSVersion_^P^RCFBundleIdentifier^UIDeviceFamily_^P^QDTPlatformVersion\DTXcodeBuild_^P^QCFBundleSignature_^P^ODTPlatformBuildYConnectIQT0611[iph    oneos8.1o^P-^@C^@o^@p^@y^@r^@i^@g^@h^@t^@ ^@©^@ ^@2^@0^@1^@5^@ ^@G^@a^@r^@m^@i^@n^@.^@ ^@A^@l^@l^@ ^@r^@i^@g^@h^@t^@s^@ ^@r^@e^@s^@e^@r^@v^@e^@d^@.V12B411RenQ1V14C109Xiphoneos    TBNDLS1.0¡#XiPhoneOSS6.0YConnectIQ_^P"com.apple.compilers.llvm.clang.1_0S8.1_^P^Tcom.garmin.ConnectIQ¡*^P^AW6A2008aT????^@^H^@7^@D^@L^@V^@q^@|^@<98>^@ª^@À^@Ï^@å^A^B^A^_^A?^AT^    A_^Ar^A<87>^A<96>^Aª^A·^AË^AÝ^Aç^Aì^Aø^BU^B\^B_^Ba^Bh^Bq^Bv^Bz^B|^B<85>^B<89>^B<93>^B¸^B¼^BÓ^BÕ^B×^Bß^@^@^@^@^@^@^B^A^@^@^@^@^@^@^@-^@^@^@^@^@^@^@^@^@^@^@^@^@^@^Bä
    I guess it is a normal format but my system seems to be unable to read binary plist ?
    I tried some stuff with plutil
    plutil -lint Info.plist
    Info.plist: Unexpected character b at line 1
    Same for convert
    plutil -convert xml1 Info.plist
    Info.plist: Property List error: Unexpected character b at line 1 / JSON error: JSON text did not start with array or object and option to allow fragments not set.
    I also try to download a fresh version of the connectIQ SDK and no changes.
    Any idea ?
    Thanks

    Step by step, how did you arrive at seeing this agreement?

  • Html code i have saved in TextEdit as .html is not interpreted by Safari

    I have entered simple html code in a new TextEdit.app document,
    saved it as web page (.html),
    opened as a file from Safari and the
    exact contents of the file are shown in my browser window
    ... it is not interpreted.
    (I was following a "create your first html..." tutorial)

    use textedit-format-Make Plain Text or set the preferences for New Document accordingly
    then save-as html will be unavailable, but you can name the file something.html & Safari should display as expected.

  • CSS not interpreted correctly

    Safari does not interpret standard CSS correctly, but Firefox 1.5, Netscape 7.2 and Opera 9.01 do. Safari does not understand the CSS width and height declarations.
    Is there a workaround?
    How does my page look on a Windows computer with a popular browser?
    Is there any hope that a later version of Safari will understand CSS?
    See the
    tag in <http://homepage.sunrise.ch/homepage/nicoletf/index.html> and the correcsponding CSS declaration in <http://homepage.sunrise.ch/homepage/nicoletf/Muotathal/stylesheets/index2.css>.
    iMac G3, iBook G4, PowerBook G4   Mac OS X (10.4.7)  

    A little correction to your post:
    The width and height properties only fail on images, to all other attributes the CSS values for width and height will just work.
    This bug or "missing feature" has been added in the latest open-source version of the rendering engine. (For download available via: http://nightly.webkit.org/ ). Also OmniWeb 5.5b will support this feature and it will most likely be standard supported in Leopard.

  • Error "No automatic updation for IT0008. Allowance Grouping not found"

    I am maintaining IT581 of an employee.but system throws an error -->No automatic updation for IT0008. Allowance Grouping not found.I have maintained allowance grouping properly.The thing is my requirement is that i am maintening pay groups and level in table T710 instead of T510.Not touched T510.
    Means i have also created IT1005(Planned compensation) in OM.Every other thing is ok.Except IT581.
    What i beleive is its taking  assignement from table V_T7INA3.where i am not able to store ESG for CAP, groups and levels.Because its taking value from T510.But i want to do everything on basis of pay scale grade ie T710.
    Need your help and inputs....

    Dear Sumo,
    Kindly update feature 40 ECC which will help to automatic open the IT0008 for autmatic updation of such wagetypes ex: HRA
    you can maintain percentage their for the particular wagetype for
    40ECS - HR-IN : Feature to Determine Elgibility for RAPS
    This feature is used to determine the factor which is multiplied with
    the Reimbursement, Allowance or Perk (RAP) amount to calculate the
    amount payable to the employee.
    rocedure
    The factor can be arrived at by making a decision on the following
    details:
    Country Grouping
    Company Code
    Payscale Grouping for Allowances
    Wage Type
    Gender Key
    Number of children for children education allowance
    Number of children for children hostel allowance
    Personnel Number
    ample
    As per company A's policy, all employees belonging to the Payscale
    Grouping for Allowance MN01, receive twice the amount eligible for
    Childrens' Education Allowance (wagetype M260) in case the employee has
    two or more children.
    1           D   MOLGA
    2   **          &ELIAL=1
    3   40      D   LGART
    4   40 ****     &ELIAL=1
    5   40 M260 D   CEANO
    6   40 M260 *   &ELIAL=2
    7   40 M260 1   &ELIAL=1
    kindly update the same and let me know.
    rgds,
    priyanka

  • Sapscript: Do not interpret two commas in text as tab

    Since Sapscript interprets two commas in a row as a tab, this causes a problem for any form which prints out any text containing two commas. Does anyone know a way to get Sapscript to ignore these commas?

    Hello friend,
    Welcome to SDN.
    The interpretation is different.
    Situation 1
    /: Do,,not,,interpret,,two,,commas,,in,,text,,as,,tab
    "the output will look like below text with tabs in between each word.
    Do  not interpret two commas  in  text  as  tab
    Situation 2.
    "Define two variables in script editor like below and display.
    /: DEFINE text1 = 'Do not interpret two,,commas in text as tab'
    /: DEFINE text2 = ',,Text will be displayed like this'
    /: &text1&,,&text2&
    "The output will be like below
    Do not interpret two,,commas in text as tab ,,Text will be displayed like this
    "It does not care what is there inside program symbols &text1& and &text2&
    I think that you will understand.
    Thanks
    Venkat.O

  • I try going to any website and it says Firefox is in offline mode, uncheck offline mode but offline mode is not checked.

    I click on open new tab. When the window opens I type in the address of any web site and hit enter. Firefox says that it is in offline mode please uncheck working in offline mode in the file menu, however working in offline mode is not checked. I click try again but I get the same results. I check other web sites with the same result. I checked to make sure I am online and I am becasue I am sending this message in Internet Explorer. I am using Windows 7 premium home edition. What gives?
    Bill Callihan

    Did you try to toggle the File > Work Offline setting a few times?
    You can try this:
    Create a new Boolean pref with the name network.manage-offline-status and set the value to false.
    Right-click on the about:config page to open the right-click context menu and use "New > Boolean" to create a new Boolean pref.
    Name: network.manage-offline-status
    Value: false

  • Are not interpreted JSTL tags in a JSP page including in a servlet.

    Hi people,
    I have a project where una page (index.jsp) includes a servlet (MyServlet), that consult a persistence class and get a List of objects (Users),      
    then the servlet passes the List to a Request object and includes another JSP page (showUsers.jsp). And this is conceptually correct, but don´t works, the JSTL tags are not interpreted in showUsers.jsp.
    This is my code...
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    <c:out value="Show me some things index.jsp"/>
    <div style="border-color:red; border:solid; padding-left:60px">
          <jsp:include flush="true" page="pepe/MyServlet"/>
    </div>
    </body>
    </html>...and the Servlet...
    public class MyServlet extends HttpServlet
         public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
              UserManager um = new UserManager();
              List users = um.getUsers(); //This use Hibernate to return a Users List
              request.setAttribute("users", (ArrayList) um.getUsers());
              request.getRequestDispatcher("/showUsers.jsp").forward(request, response);
    }...Finally, we have the showUsers.jsp file....
    <c:out value="Show me some thing showUsers.jsp"/>
    <table>
         <tr>
              <th>ID</th>
              <th>Name</th>
              <th>e-Mail</th>
              <th>Type</th>
         </tr>
         <tr>
              <c:foreach items="${requestScope.users}" var="user">
                   <td><c:out value="${user.id}" /></td>
                   <td><c:out value="${user.name}" /></td>
                   <td><c:out value="${user.email}" /></td>
                   <td><c:out value="${user.type}" /></td>
              </c:foreach>
         </tr>
    </table>This i get as result page...
    ID       Name       e-Mail       TypeFinally, this is the code of showUsers.jsp...
    <c:out value="Show me some thing showUsers.jsp"/>
    <table>
         <tr>
              <th>ID</th>
              <th>Name</th>
              <th>e-Mail</th>
              <th>Type</th>
         </tr>
         <tr>
              <c:foreach items="[src.User@18f729c, src.User@ad97f5, src.User@d38976, src.User@1e5c339, src.User@17414c8, src.User@7a17]" var="user">
                   <td><c:out value="" /></td>
                   <td><c:out value="" /></td>
                   <td><c:out value="" /></td>
                   <td><c:out value="" /></td>
              </c:foreach>
         </tr>
    </table>Somebody can help me?
    Many thanks,
    Gonzalo

    Thanks you all guys,
    I appreciate very much your help. In response to everyone ...
    BalusC wrote:
    Is JSTL taglib declared in top of that JSP page? I don't see it back in the posted code snippet. In this example I stuck...
    request.getRequestDispatcher("/showUsers.jsp").forward(request, response);By mistake, but this is just a test, the original line of my servlet is...
    request.getRequestDispatcher("/showUsers.jsp").include(request, response);As you can see, both (the servlet and the showUser.jsp file) are included in the index.jsp file. So the header...
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>...in the index.jsp file should works (I hope so).
    njb7ty wrote:
    I assume in your web.xml, you have ''pepe/MyServlet' defined as a servlet tag and servlet map tag? Without that, I don't think your JSP will find the servlet. I'm >not sure you need it in web.xml since I never call a servlet from a JSP page.
    I suggest putting System.out.println() throughout your servlet code and out.println() in your JSP pages to see exactly what is called and when.
    As a general rule, JSP files are to display data only, and submit back to a servlet. The servlet does all the business logic and dispatches to the appropriate >JSP page. The JSP shouldn't have any business logic. Including the servlet looks kinda like including business logic. Actually, in a MVC design, your >presentation, control, busines, and database layers have their own isolated responsibilities.
    I suggest the servlet put data as one java bean in request scope via request.setAttribute() and dispatch to the JSP page. The JSP page gets the data via ><useBean> tag. The JSTL gets the variables from the useBean tag and uses the data from there to display it. Really, this is my web.xml file...
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
         version="2.4">
         <servlet>
              <servlet-name>MyServlet</servlet-name>
              <servlet-class>src.MyServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>MyServlet</servlet-name>
              <url-pattern>/pepe/MyServlet/*</url-pattern>
         </servlet-mapping>
    </web-app>Regarding putting System.out.println() and out.println(), i did it and thats works.
    Respect of your last comment, I am not a expert in MVC, but I understand that the view layer can make calls to the Controller layer, I am wrong?
    evnafets wrote:
    It's not. However thats not code, but the generated HTML.
    As Balusc pointed out it's the result of running this JSP page without importing the tag library at the top.
    Because the tag library is not declared, it treats the <c:forEach> and other tags as template text, and basically ignores them.
    It then evaluates the ${items} attribute as an expression in template text, calling toString() on it.
    Cheers,
    evnafets      The file showUsers.jsp are included into the index.jsp page, that's have the header taglib. Could this works?
    BalusC wrote:
    njb7ty wrote:
    By the way, I dont think this is the correct format for the foreach tag:
    <c:foreach items="[src.User@18f729c, src.User@ad97f5, src.User@d38976, src.User@1e5c339, src.User@17414c8, src.User@7a17]" var="user">You're right friend.
    And that's my problem. Any ideas?
    Thanks everyone,
    Gonzalo

  • Offline tracks do not show up in "Albums" or "Artists"

    Hi,
    I have an iPhone 5 with iOS 8.02 and latest release of Spotify installed.  Since the upgrade, my available offline music does not show up in OFFLINE MODE under Albums or Artists.  I see everything in Songs but the Albums screen just shows the loading screen and under Artists everything is blank.
    This is obviously extremely annoying as I don't want to cycle through a gigantic list of songs.
    I've tried everything including login/logout, re-installing the app (which also made me have to re-download all the offline songs which took a solid 30 minutes).  Also, these issues are all nullified when I'm connected, but the second I go back to offline Albums and Artists disappear again.
    Very frustrating as this was never an issue prior to the new release.
    Thanks,
    B.

    I got spotify premium just a few ago and i never realized, that all my music are completly avaliable in the songs tab.
    I found out, that some of the albums, i used to download for offline mode, are not "avaliable" (3 dots loading screen, or completly blank) while others can be played normaly through the album tab.
    Also sometimes the album or the artist tab is completly blank and not avaliable during offline mode.
    I also found out that restarting the iOS device can help spotify loading different albums, but about the half of the music in the album tab is still unavaliable.
    -iPhone 4s 64GB
    -iOS 8.02
    -spotify version 1.8.0.2444
    I apologize for grammer mistakes, english isnt my native language.
    Edit: I just found out, that the pc (windows 7 64gb) version of spotify gets the same problem sometimes, so not only iOS users got this problem.

Maybe you are looking for

  • Mac Pro 2006 Kernel Panic

    My stock Mac Pro 2006 just started showing the Kernel Panic screen at start-up. First saw the Kernel Panic this afternoon after leaving the system for less than an hour with a game running (EV Nova in a Pause screen). A reboot brought the system back

  • Can't access Distiller 9.0 in Virtual XP with Pagemaker 7.0.1

    I have had to revert briefly to using Pagemaker 7.0.1 to help out my mom who is still in the dark ages... anyhow, I have Pagemaker loaded in Win 7 Virtual XP because it crashes in the main O/S. I have also loaded Acrobat 9.0 from my CS5 inot XP BUT w

  • Bootcamp... not booting

    I am trying to install bootcamp on my early 2008 mbp; when bootcamp restarts to boot into windows it just displays the gray screen and freezes. When I hold option to get into the disc it freezes at the same place. Is there anything else I could try?

  • Passing table from ABAP to webservice using SOAP

    Hello: I am trying to pass table data from ABAP code to a webservice using SOAP.  I have seen many examples of passing single value parameters such as:   DATA: osoap   TYPE REF TO CSoapDocument.     GET REFERENCE OF p_refno INTO dref.     CALL METHOD

  • Set a door open alarm

    This is our first time using Lookout.  I am hoping to get a little help on getting started.  In our first example, we have a communication tower that has several alarms attached to that tower.  The radio within in the tower basically opens and closes