Load CSS  in JSP - Deploying in Portlet

Hello:
I work development Portlets in netbeans and jetspeed 2.
A Portlet include a jsp page (include(request, response) ), this jsp have a css pagestyle. a view in my browser very good, but this page into the portlet not load a css page (No color, no fonts, plain tables, etc ).
Help me please!!!

You will have to in clude the css inside the jsp in <style> tags
Cheers
Varun rathore

Similar Messages

  • How to deploy a jsp app as portlet in portal?

    i'm a new bee to this portal & portlet stuff.
    so, pls let me know if my questions doesn't make sense.
    i have a jsp app sitting in jdeveloper 9.0.3
    can i deploy this jsp app as portlet and see it from
    my portal?
    srini

    Hi Benjamin.
    Can u explain more detail about the deployment..
    I also use JDev and want to do like you do (that is deploy to 9iAS using JDev.
    I tried to create new connection via Remote DCM..
    but it gave me error.
    I also read & tried the article that u suggested..
    but still failed..
    So, my questions are:
    1)In step one, where in EM should i install Oc4jDcmServlet.ear? in OC4J_Portal(the same place i deploy jpdk)?
    "Install the DCM Servlet, Oc4jDcmServlet.ear, to a running Oracle Enterprise Manager instance. This servlet is required to run in the same OC4J instance (same JVM) as the Enterprise Manager servlet. The DCM Servlet is located in:
    <jdev_install>/dcm/lib/Oc4jDcmServlet.ear "
    2)I download JDev into my drive C.
    and i did found /dcm/lib/Oc4jDcmServlet.ear
    I not sure what to type..and where should i run the command..
    In the article,it run from c:\winnt\system32\cmd.exe.
    But when i ty to run it, it gave me error
    "Exception in thread "main" java.util.zip.ZipException: The system cannot find th
    e path specified
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)"
    should i run the command in the server?Where?
    What command should i type?
    Java -jar ${ORACLE_HOME}/j2ee/home/admin.jar ormi://${EM_OC4J_HOST}:${EM_OC4J_PORT} ${IAS_ADMIN_USER} ${IAS_ADMIN_PASS} -deploy -file Oc4jDcmServlet.ear -deploymentName Oc4jDcmServlet "
    Thanks..

  • Dicussions configuration - issue with deploy-jive-portlet.jar deployment

    Hi,
    I'm setting up discussions on 10.1.3.2 webcenter out of the box install. After running this command on linux: java -client -Dhttp.proxyHost=www-proxy.us.oracle.com -Dhttp.proxyPort=80 -jar deploy-jive-portlet.jar
    I do not have updated jiveforums-5.1.0.jar file in $ORACLE_HOME/j2ee/OC4J_Jive/applications/owc_discussions/jiveforums/WEB-INF/lib, instead only the old backup file jiveforums-5.1.0.jar_backup exists in that directory.
    I found out that during the time I run the comman a tmp (e.g. called jiveforums-5.1.0.jar30019.tmp) gets created in the /tmp directory of my linux server. I extracted xwork-community.xml from the tmp file and noticed differences (e.g. added SSO classes) compared to the xwork-community.xml from the backup jiveforums-5.1.0.jar_backup file.
    I've now manually copied the temporary file to $ORACLE_HOME/j2ee/OC4J_Jive/applications/owc_discussions/jiveforums/WEB-INF/lib and discussions login seems to work fine (through sso).
    I've followed these two instructions with the setup but with both I got same result (i.e. updated jiveforums-5.1.0.jar missing and changed jiveforums-5.1.0.jarxxxtmp created in /tmp)
    http://download-west.oracle.com/docs/cd/B32110_01/webcenter.1013/b31074/jpsdg_jive.htm#CBBHFIIA
    and
    Note: 458616.1
    I would like to ask is there some known bug with the discussions configuration (I have not managed to find anything from webiv) which causes this? And is the work-a-round which I've done (using tmp file) possibly valid one or is it likely something will break later on because of this?
    Thanks!

    Hi - just wanted to also update the output of the deployment command as that did not have any errors which would have shown why the file was not created in the expected directory. Here is the output:
    $ java -client -Dhttp.proxyHost=www-proxy.us.oracle.com -Dhttp.proxyPort=80 -jar deploy-jive-portlet.jar <
    File "/u01/app/oracle/product/webcenter_1013/j2ee/OC4J_Jive/applications/owc_discussions/jiveforums/WEB-INF/web.xml" modified successfully
    Extracting "xwork-community.xml"...
    File "/u01/app/oracle/product/webcenter_1013/j2ee/OC4J_Jive/applications/owc_discussions/jiveforums/xwork-community.xml" modified successfully
    File "jiveforums-5.1.0.jar" modified successfully
    Extracting "WEB-INF/WSRP_v1_Service-java-wsdl-mapping.xml"...
    Extracting "WEB-INF/WSRP_v2_Service-java-wsdl-mapping.xml"...
    Extracting "WEB-INF/classes/DataBindings.cpx"...
    Extracting "WEB-INF/jive-portlet-for-web.xml"...
    Extracting "WEB-INF/jsso-action-classes.xml"...
    Extracting "WEB-INF/lib/oracle-jive-portlet-10.1.3.2.jar"...
    Extracting "WEB-INF/lib/oracle-portlet-tags.jar"...
    Extracting "WEB-INF/oracle-portlet.xml"...
    Extracting "WEB-INF/oracle-webservices.xml"...
    Extracting "WEB-INF/orion-application.xml.default"...
    Extracting "WEB-INF/portlet.xml"...
    Extracting "WEB-INF/webservices.xml"...
    Extracting "WEB-INF/wsdl/WSRP_v1_Service.wsdl"...
    Extracting "WEB-INF/wsdl/WSRP_v2_Service.wsdl"...
    Extracting "WEB-INF/wsdl/wsrp_v1_bindings.wsdl"...
    Extracting "WEB-INF/wsdl/wsrp_v1_interfaces.wsdl"...
    Extracting "WEB-INF/wsdl/wsrp_v1_types.xsd"...
    Extracting "WEB-INF/wsdl/wsrp_v2_bindings.wsdl"...
    Extracting "WEB-INF/wsdl/wsrp_v2_interfaces.wsdl"...
    Extracting "WEB-INF/wsdl/wsrp_v2_types.xsd"...
    Extracting "WEB-INF/wsdl/xml.xsd"...
    Extracting "WEB-INF/wsrp_mime_cs_mappings.properties"...
    Extracting "oracle/jive/discussions/CategoryRenderer.jsp"...
    Extracting "oracle/jive/discussions/ThreadRenderer.jsp"...
    Extracting "oracle/jive/discussions/categoryview_qualifier.png"...
    Extracting "oracle/jive/discussions/createtopic_ena.png"...
    Extracting "oracle/jive/discussions/discussions_qualifier.png"...
    Extracting "oracle/jive/discussions/home_ena.png"...
    Extracting "oracle/jive/discussions/replytopic_ena.png"...
    File "../META-INF/orion-application.xml" generated successfully
    Enter the full path to your jiveHome directory:
    /u01/app/custom/discussions/jive_forums_silver_5_1_0/jiveHomeFile "/u01/app/oracle/stage/webcenter_101320/webcenter_additional_service/discussions/jive_forums_silver_5_1_0/jiveHome/jive_startup.xml" modified successfully
    Deployment Complete
    Thanks!
    Nina

  • Problem loading css or js file

    Hello,
    I am relatively new in java and I am trying to do a simple CRUD with Servlets and JSP. I am working with netbeans 8, and I have a Servlet that call the JSP pages.
    When I run the application, Servlet call a login.jsp and if validation is true, then it call index.jsp
    The problem occurs when one jsp page want to load a css file, then jsp page doesn't load the css file!
    I tried debugging with firebug page, but I don't found the problem.
    Some idea because this malfunction?
    I paste part of code of servlet:
    @Override
        protected void doGet(HttpServletRequest request, HttpServletResponse response)
                throws ServletException, IOException {
            String accion = request.getParameter("accion");
            HttpSession sesion = request.getSession();
        if (accion != null) {
                if (accion.equals("login")) {
                 logger.info("doGet - Login");
              setRespuestaControlador(accion).forward(request, response);
           else if (accion.equals("inicio")) {
                 logger.info("doGet - inicio");
              setRespuestaControlador("index").forward(request, response);
               else if (accion.equals("insertIngEgr")) {
                 logger.info("doGet - insertingegre");
            setRespuestaControlador(accion).forward(request, response);
         else {
             setRespuestaControlador("login").forward(request, response);
                 logger.info("doGet - login por else");
            try {
           con.close();
        catch (SQLException e) {
            // Enviar a una vista de error
             logger.log(Level.SEVERE,"Error al cerrar conexion: " + e.getMessage());
        @Override
        protected void doPost(HttpServletRequest request, HttpServletResponse response)
                throws ServletException, IOException {
            String accion = request.getParameter("accion");
            HttpSession sesion = request.getSession();
            if (accion != null) {
           if (accion.equals("iniciarSesion")) {
              String usuario = request.getParameter("usuario");
                  String contrasena = request.getParameter("contrasena");
              Login login = new Login(con);
              if (login.login(usuario, contrasena)) {
                     logger.info("dopost - iniciarsession");
                     sesion.setAttribute("id", new AdministradorDao(con).obtenerIdAdmin(usuario));
             setRespuestaControlador("index").forward(request, response);
              else {
                 logger.info("Error de login");
                     // genera una variable error
                     request.setAttribute("error", "Nombre de Usuario o Contraseña Incorrecta !");
                     // reenvia al formulario login                 
                     setRespuestaControlador("login").forward(request, response);
        else {
                logger.info("dopost - login por que se yo");
            setRespuestaControlador("login").forward(request, response);
        try {
           con.close();
        catch (SQLException e) {
            // Enviar a una vista de error
             logger.log(Level.SEVERE,"Error al cerrar conexion: " + e.getMessage());
    And part of jsp view that doesn't load css file:
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE html>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <link href="../css/jquery-ui.css" rel="stylesheet" type="text/css">
            <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
            <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
            <script type="text/javascript">
                $(document).ready(function() {
                    $("#fecha").datepicker({
                        dateFormat: 'dd/mm/yy',
                        dayNamesMin: ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa'],
                        monthNames: ['Enero', 'Febrero', 'Martes', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre']
            </script>
        </head>
        <body>
    I appreciate your willingness and time!
    Fernando

    Hi dude,
    You can solve this using two ways...!
    1. You can give the hard-core path (full path with the project name: /ProjectName/DirectoryName/JavaScriptFileName.js)
    2. You can use request.contextPath() (to get the current context name)
    Try this below code
    <head>
    <title>Employee Registration Form</title>
    <script language="javascript" type="text/javascript" src="<%=request.getContextPath%>/js-modEmp/addEmpval.js">
    </script>
    <script language="javascript" type="text/javascript" src="<%=request.getContextPath%>/js-modEmp/datetimepicker.js">
    </script>
    <link rel="stylesheet" type="text/css" href="<%=request.getContextPath%>/css-modEmp/styles.css">
    </head>

  • Trying to dynamically load CSS for project at compile time via config XML file to select CSS file.

    I'm using the same code base to compile different versions of a project. Each project has different base fonts. I've created multiple css files that use the same style names. The idea being that in the code I reference the style names, then the loaded CSS determines which font (and size, color, etc) is used for each style name.
    The CSS files are compiling to SWFs, and those SWFs are referenced in config.xml files. Before compiling, I select the config file to use.
    I am loading the CSS SWF files via the StyleManager in the Application.mxml, like so:
      styleManager.loadStyleDeclarations( _contentData.elements( 'cssPath' ).@path )
    The path traces out correctly as:
    assets_embed/styles/project2.swf
    For some reasone I must include an fx:Style line in the Application.mxml file or no fonts are recognized. Example:
      <fx:Style source="assets_embed/styles/project1.css"/>
    If I reference the css for project one (as done above) then most, but not all, styles work. Some styles reference the fonts from the project 1 css, others properly use fonts from project 2 swf. If I point to the CSS for the project I'm compiling in the <fx:Style > tag then all fonts work, but that defeats the goal of using XML rather than code to identify the styles.
    So, why do I need the fx:Style line if the css is being loaded via StyleManager?
    Why is there "cross talk" between style definitions?
    Is there a better way to select styles at compile time?

    I read this quickly so I might have missed a detail.  I think your describing an issue with recent Flex releases that is described in the fine print somewhere.  If you don't have any fonts embedded in the main app and are only bringing in fonts embedded in CSS SWFs, you have to force-link the EmbeddedFontRegistry by adding something like this to the main app's script block.
    import mx.core.EmbeddedFontRegistry; EmbeddedFontRegistry;
    (Yes, "EmbeddedFontRegistry" is in there twice, once to define the fully qualified name, the other to create a class dependency to force the linking).

  • Deploying a Portlet into Weblogic

    Hi Folks,
    I have a basic question about deploying a portlet into weblogic.
    I created a simple JSF/ADF application and used the Portlet Bridge to "Portletize" it.
    When I run the application using JDev11 everything works fine, but If I try to deploy it into a standalone weblogic I got errors
    related with missing libraries.
    The question is, Do I need to have Oracle Webcenter installed in this standalone weblogic server, in order to support my application deploy?
    TIA,
    Luis

    Hi Luis,
    For a portletized ADF application to be deployed on webcenter, it requires even the OC4J containers to be pre-configured.
    Basically, any webcenter application or the Portletized ADF applications require oracle.wsrp library to be present in the container's library.
    Please check in your Weblogic container if it is present. If not, check how to Pre-Configure the weblogic container, ideally, oracle should provide an executable or some command to make it pre-configured.
    I am aware of these steps to perform on Application Server 10g's Container. Oracle should have its containers pre-configured in 11g, but if they are not, you need to follow the same steps.
    As far as JDeveloper iis concerned, both the Embedded OC4J as well as the in built server which is Preconfigured Server are as the name suggests pre-configured. Hence, everything works fine when you run from JDev. But same is not the case with Contianers in server. So, we need to explicitly make them pre-confgired to start running these Portletized ADF Applications.
    Hope this answer helps you.
    Regards,
    Kunal Chheda.

  • Is this mean that successfully deploy the portlet ?

    Hi,
    I use Sun Java System Portal Server 6 2005Q, use the following command to deployo portlet, I am not sure if I
    successfully deploy the portlet?
    pdeploy deploy -u amAdmin -w amadmin -p amadmin -d "cn=amldapuser,ou=DSAME Users,dc=icheng,dc=com" C:\Sun\PortalServer\tmp\portlet\portletsamples.war
    The message I got after execute the pdeploy command is =>
    Deploys the portlet war file and inserts the provider into display profile..
    OPTIONS
    --help Help message (false)
    -u --runasdn UID Bind DN (none)
    -w --password Password (none)
    -p --wc_password Password for WebContainer's Admin (none)
    -i --instance WebContainer's Instance into which the war file is to be deploye
    d (*)
    -d --dn LDAP DN of the target node (*)
    -g --global Global display profile (false)
    -r --rolesfile File containing the DSAME and portlet role mapping (*)
    -f --userinfofile File containing the user info mapping (*)
    -v --verbose Generate debug messages (false)
    -V --version Generate version information (false)
    -l --locale Locale information (en_US)
    OPERAND
    Specifies a path to the war location.
    Deploying to IWS
    Is this mean that successfully deploy the portlet ?
    Can someone help me ?

    Do you use a proxy server ?

  • Deploying a portlet to OAS 10.1.2 using JDeveloper

    Hi,
    Is it possible to deploy a portlet created in JDeveloper 10.1.3.2 to Oracle App Server 10.1.2. ?
    I created a simple portlet using the JDev 10.1.3.2 portlet wizard but when I went to deploy the portlet on Oracle App Server 10.1.2 using JDeveloper I get the following error message.
    (Earlier I had created a new server connection to my 10.1.2 server. I tested the connection to this server inside JDeveloper and there was no issues).
    Does anyone know what causes this issue ?
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    #### DCM command did not complete successfully (-1)
    #### HTTP return code was -1
    Exit status of DCM servlet client: -1
    Elapsed time for deployment: 12 seconds
    #### Deployment incomplete. #### 13-Mar-2007 12:45:44
    Following on from this, if the above error cannot be resolved does this mean that I can't develop portlets for Oracle Portal 10.1.4 and gain the extra functionality (ADF Faces etc...) using JDeveloper 10.1.3.2 ? It appears that 10.1.3.2 is tied into the WebCentre Framework which would require an additional license in order to use some of the components, or am I missing something ?
    Am I better off sticking with JDeveloper 10.1.2 to develop my portlets ?
    Thanks.

    To deploy portlet to Oracle application server.
    1.     Install Oracle database 10g (10.1.0.4.2 or later)
    2.     Install Oracle Application Server (10.1.2.0.2) Infrastructure.
    3.     Install Oracle Application Server (10.1.2.0.2) J2EE and Web Cache
    4.     Install Oracle Application Server (10.1.2.0.2) Portal and Wireless.
    5.     Upgrade Portal to 10.1.4
    6.     Configure Java WSRP Container in Middle Tier
    7.     Deploy a WSRP Portlet Application to Oracle Application Server.

  • Load balancing with JSP

    Anyone and everyone,
    When configuring load balancing with Weblogic clusters, does load
    balancing take effect for all services or just EJB and RMI? Or another
    way of saying the same thing, can I setup weighted load balancing for
    the JSP engines across 2 weblogic servers.
    Thanks in advance,
    Mike

    The load-balancing documentation you read describing the different algorithms only applies to RMI stubs (e.g., EJB clients). Please see http://www.weblogic.com/docs51/cluster/concepts.html#1026091 for a description of how load-balancing/clustering works with servlets/JSPs.
    The short answer is that in using servlet clustering, most people want/need/use in-memory replication for HttpSession objects. In WLS 5.1 (and before), in-memory replication requires one or more proxy servers be set-up in front of the cluster. Typically, most people use something like BigIP to load-balance
    across the proxy servers and let the weblogic plug-in for the proxy server handle the routing to the cluster. The plug-in uses round-robin until an HttpSession is established for a user, then it always tries to route to the server where the user's session is located.
    Hope this helps,
    Robert
    Brian Lin wrote:
    All,
    I have a quesiton here regarding load balancing with DNS round robin. As of Chapter Adminstration of Clustering Weblogic server, Weblogic can be configured to balance by weight. How about Weblogic handle weight based balancing after DNS round robin ip response? or just can choose one way instead of both?
    What's the big difference between choosing BigIP and software balancing (WL)?
    Brian
    "Wei Guan" <[email protected]> wrote:
    I don't think you can configure this load balancing in weblogic in current
    release. However, if you have Big-IP or LocalDireoctr, you can set up
    weighted load-balancing there. Otherwise, weblogic proxy will use DNS round
    robin to do the load-balancing between JSP engins.
    My 2 cents.
    Cheers - Wei
    Michael Yakimisky <[email protected]> wrote in message
    news:[email protected]...
    Anyone and everyone,
    When configuring load balancing with Weblogic clusters, does load
    balancing take effect for all services or just EJB and RMI? Or another
    way of saying the same thing, can I setup weighted load balancing for
    the JSP engines across 2 weblogic servers.
    Thanks in advance,
    Mike

  • Best way to load CSS depending on language

    What's the best way to load CSS depending on user language? If I am making a publishing site with 2 languages then how do I load particular CSS depending on language?
    I know one way to use is to use javascript (jquery) but I was thinking if there is a better way to do that?

    <SharePoint:CssRegistration name=”<% $SPUrl:/_layouts/projectname/styles/~language/master.css
    %>” runat=”server”/>
    http://lionadi.wordpress.com/2013/04/30/sharepoint-language-specific-css-loading/
    http://sharepoint.stackexchange.com/questions/54698/how-to-specify-which-css-files-to-load-in-sharepointcsslink-when-using-themes
    http://stackoverflow.com/questions/858990/how-can-i-target-css-to-a-particular-sharepoint-page-layout-file
    asp:Content ContentPlaceholderID="PlaceHolderAdditionalPageHead" runat="server">
    <link id="Link1" href="<% $SPUrl:~SiteCollection/Style Library/mystyle.css%>" runat="server" type="text/css" rel="stylesheet" />
    <SharePoint:ScriptLink id="jQueryCore" language="javascript" name="ui.core.js" runat="server"/>
    </asp:Content>

  • Is it possible to deploy a portlet war file on web container?

    Hi All,
    Is it possible to deploy a portlet war file on web container i.e say I have a JSF or struts portlet application deployed on a portal container which I need to run as a web application.
    So, I would need to deploy the application on web container.
    Can this be done directly without making any changes and without importing jars?or is it not possible at all?
    Did anyone try this?
    Would be very nice of you if you can reply asap.
    Thanks & Regards,
    Nishant

    I'm not sure using the DVT enabler portlet will do what you want. It basically just specifies the render dependencies to bring in the dojo and dvt javascript libraries. It doesn't provide any login support itself; the javascript it brings responds to the logged-in state of the user (accessed via DISC), so something else is required to login the user.
    Greg

  • After removal of conduit malware websites do not load CSS. (= all text websites)

    I was hit by Conduit and could not completely remove it, although I have all the tools. (Conduit persisted after all traces were gone using Malwarebytes, resetting homepage, untrusted certificate warnings, disabling it in add-ons as there was no removal option, etc). The problem is currently resolved but I wonder about one behavior I have seen before:
    Some pages could no longer load CSS, even if the main page of a site resolved perfectly. This included sites with log in and interactive content.
    I managed to return to normal by restoring to a recent restore point (Windows 7) but the behavior troubles me. Can anyone tell me what might have been going on. I assume, as I got the malware from a downloading a legitimate program from what appeared to be a legitimate site (obviously not), even though I rejected the program and shut down the computer when the download could not be interrupted.
    So: What is going on with Firefox's inability to parse or recognize CSS?

    You can try these steps in case of issues with web pages:
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Loading CSS Body background before page content?

    Hi all,
    I'm doing this homepage for a publisher:
    http://www.alma.dk/
    When testing it with sloppy (www.dallaway.com/sloppy/), I can
    see that the background image of the logo, which is the most
    important graphic, loads LAST.
    I've figured this is because the body style is set in the CSS
    file, and browser logic doesn't load CSS defined images first.
    Is there any way to make the page load the CSS defined images
    before it loads the rest of the page contents? I've got a few large
    images hidden in layers on that page that the browser attempts to
    load before displaying the background image, which is not ideal. -
    And I'd rather use CSS styling for the body, ofcourse.
    Thank you for any pointers!

    > Your stats are wrong, because in that one HTML page,
    there are 198KBs of
    > graphics. Try MouseOver on one of the book graphics,
    that'll reveal the
    > hidden
    > larger images, that are contained in Layers, with Snap
    Layers by PVII. -
    > Or try
    > the site with Sloppy.
    If you eliminated the heavy js hit of snap layers (using CSS
    instead), and
    adopted the Set Text method of writing the image source link
    to an ID
    element, you could probably cut 80% of this page's weight.
    Then you
    wouldn't have to worry about the slow load.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Mathias(DK)" <[email protected]> wrote in
    message
    news:[email protected]...
    > Murray!
    >
    > I came here hoping that it would be you that answered my
    call. You've been
    > a
    > tremendous help on this forum before whenever I needed
    it, and for that I
    > owe
    > you...
    >
    > > I've figured this is because the body style is set
    in the CSS file, and
    > > browser logic doesn't load CSS defined images
    first.
    >
    > >I'd be interested to know where you learned this.
    >
    > As I wrote, this is something I figured myself, since
    looking at the page
    > through Sloppy, I can see that the BG image persistently
    loads as one of
    > the
    > last graphics.
    >
    > Your stats are wrong, because in that one HTML page,
    there are 198KBs of
    > graphics. Try MouseOver on one of the book graphics,
    that'll reveal the
    > hidden
    > larger images, that are contained in Layers, with Snap
    Layers by PVII. -
    > Or try
    > the site with Sloppy.
    >
    > Counting Angels, huh? Well, I take pride in what I do,
    whatever I do, and
    > at
    > the same time I'm interested in learning. Even if I
    optimized the BG
    > graphic
    > more (GIF), it'd still load last (after 161KBs of
    graphics + HTML and
    > CSS).
    >
    > So there is the problem. And just for the record, the
    page will go dynamic
    > in
    > the future, so there wont be hidden graphic hacks on it,
    but I'm
    > interested
    > still, for future reference and for learning.
    >
    >
    >
    >
    >

  • Anyone having issues with IBM HMC's loading the mainuiFrameset.jsp correctly?

    When I try to load the mainuiFrameset.jsp it doesn't load all of the objects in the center page. It worked fine in Firefox 3.x. Still works in ie7.
    Thanks!

    "Ain't updates a thrill!" Yah, have seen the artwork not matching the song or the wrong play list come up, What I have found if you switch the display it will clear and go back to the correct order of content, (like doing a refresh). Haven't experienced the pause issues, then again I tend to just let the music play. Have you tried to reset? Nothing will be lost on your iPod. push the power and home buttons at the same time and hold a few seconds until the Apple logo appears. See if that resolves your issues. If all else fails, you could do a full restore from your computer with iTunes and restore as a new iPod, you need to backup all your stuff first, (music, pictures, etc) or you'll lose some stuff. After the restore is complete put your music, pictures, apps back on. I have made the jump to 7.0.4. I'm not seeing many issues now, things so far are running quit well. Hope this helps, Good luck!

  • Integrating css and jsp

    Hi,
    I need a way to let my users custimize their view of the system Im currently developing. Right now I have most of the information about how the page looks in css files (using <link href="style.css" rel="stylesheet" type="text/css"> in order to fetch that information). The question I have is how to let jsp change the colors, fonts etc of the css. Is this only possible if I use include on the css instead of linking? Is there a program/metod developed to use? Should I build some classes which I can ask for the right style (e.g span style="<% StyleHandler.getTitleNormal() %>")?
    I guess there is a number of ways to handle this problem but I dont want to invent the wheel again. Help me out finding something making my work easier..;) Thanks in advance!
    /Lobtec

    Well, you could make the CSS file link be a link to a JSP page which could print out CSS instead of HTML, and it could dynamically print CSS values stored for the user on the server.
    <link href="style.jsp" rel="stylesheet" type="text/css">
    style.jsp:
    body {
      background-color:<%= session.getAttribute("bgColor") %>;
    }Of course, you might store the values in some object in the session read from a database or whatever, but I think you get the point.

Maybe you are looking for

  • CALCULATE_TAX_ITEM how to use it

    hello al cud u tell me what values shud be passed into CALCULATE_TAX_ITEM function module. and how to use it.

  • Converse 2300 - Problem with storing similar numbe...

    Hi.  We have several Converse 2300 phones in the office and I am trying to store two numbers we use the most under the one-touch memory buttons.  The trouble that I am having is that because these two numbers coincidentally have the same last 6 digit

  • Do you live dangerously and install FCP7 and FCPX on the same volume?

    Hi, I went ahead like a crazy person and just installed FCPX on my system where I also have FCP7. Now I see al these warnings saying that you should have a separate boot disk for FCPX and FCP7. I have had no problems with FCP7 thus far. Do you have b

  • JAAS + Autologin?

    I'm using J2EE5 and JAAS, and I want to add an autologin feature to my site, with a checkbox. I readed the documentation about custom login modules, and it says "Custom login modules must extend the com.sun.appserv.security.AppservPasswordLoginModule

  • FMW Console for ADF applications

    Hello everyone, JDeveloper 11.1.1.3.0 We've developed an ADF application while using the ADFLogger. The main advantage of this ADFLogger is the fact that you can change the log-levels in run-time. To change these log-levels, you need the Fusion Middl