JDeveloper: Viewing a .css on JSP at design-time + run-time

Hi,
As a newbie to JDeveloper, i'm struggling to get a stylesheet reference to work in both the Design view and at run-time. Dragging a stylesheet on to the JSP works fine in the development enviroment, but when the JSP is called from a controlling servlet, the stylesheet doesn't render. From looking on the web it seems i have to use request.getContextPath() to get the path: doing this works at runtime, but in the design view of JDeveloper doesn't show anything (obviously wouldn't because the getContextPath is evaluated at runtime).
Is there a work around so i can see a style sheet rendered in both design & runtime?
Thanks,
Phil

Hi,
Thanks for your reply. When I added my stylesheet (from the component palette) JDev put it in a 'css' folder. When I drag it on to the page it uses ..href = "css/stylesheet.css".. This doesn't work at runtime, neither does href = "/css/stylesheet.css".
To explain the problem better...if I create a new project with 2 jsp files and link them together with Go to page 1 etc this is fine. As soon as I use the mvc method of controlling jsps thorough servlets I can call page 1 fine, but if I linked back to page 2 with the href calling the jsp directly (rather than through a servlet) it won't find the page, because the context root has an extra 'servlet' folder on the path, ie it's looking for page 2 in "Testing-Project-context-root/servlet/page2.jsp", when it's not located in a servlet folder. This is why the css file is not rendering, because it's looking for it in a servlet folder. I can only get round it at the moment by using:
<link type="text/css" rel="stylesheet" href="<%=request.getContextPath()%>/css/stylesheet.css"/>. This of course is no good in the development environment.
Thanks,
Phil

Similar Messages

  • View BT26H_APPT/ApptDetails is not defined in the run time repository.

    Hi,
    I am getting this error when i component work bench.view BT26H_APPT/ApptDetails is not defined in the run time repository that was loaded. can i manually load in run time repository or how can i approach this issue.
    rose.

    Hi Rose,
    While enhancing any component using an enhancement set you can give any name for bsp application under customer namespace ( like z, y) but usually when we create a new application we just put the z or y infront of the component name and create it  for example if you want to enhance bp_head_search then usually people create a new bsp appl with name zbp_head_search because it will help in finding it in se80 to figure out the component anyway you can give any name if you want.
    For each component you need to create a new bsp appl.
    You should use one enhancement set per client, you can use sm30 and view BSPWDV_EHSET_ASG  to define your enhancement set for each client.
    So to enhance all the component in same client you should use same enhancement set for that client.
    I think that would be useful, let me know if you have any other doubts.
    Thanks,
    Shobhit

  • How to view semantic css based layouts in design view in dreamweaver?

    Hi all,
    I havent had a lot to do with CSS based layouts (tables have alwasy just worked for me fine) but I am wondering how do I view the semantic/css based layout in design view in Dreamweaver?
    As when I write the code, in design view its not showing me what the page will look like, I have to click on "Live View" to see what the page actually looks like.
    I guess I am asking is there a way to using WYSIWYG on css layouts in design view??? Just like I do table layouts (In design view I can grab the edge of the table and resize etc)?
    Any help would be great

    Lou yeah I don't think the term WYSIWYG really applys to dreamweaver anymore when building CSS layouts.
    The term "WYSIWYG" never applied to DW.  It was never such a thing, nor was any other HTML authoring, no matter what the marketing hype said.  It's not possible to deliver wysiwyg layouts when there are so many different browsers/platforms/versions to worry about.  This is particularly true when you go back to the era when WYSIWYG was actively used (but not with DW, which was not advertised in such a way) - Netscape 4, and IE5/Mac would alone be enough to destroy any layout....
    The view you are getting in Design view is happening because your CSS is misplaced BELOW the <body> tag - it should be in the head of the page (i.e., above </head>). Your CSS should never be placed within the body of the page.

  • Difference between Design Time & Run Time in JavaBean.

    Please tell me that what is the difference between the dsign time and run time in Java Beans.

    This is most important when it comes to reflection.
    In design time, when not using reflection, you can
    include and instantiate classes by importing them and
    then calling a constructor:
    import java.util.*;
    List list = new LinkedList() ;... but when using reflection:
    List list = (List)
    Class.forName("java.util.LinkedList").newInstance()
    ;this will compile ("design time") no matter whether
    this assignment is valid or not.
    A completely wrong statement that will compile
    (design time) but not run (run time):
    Object o =
    Class.forName("ACompletelyInvalidClassName").newInstan
    ce() ;I love reflection. Its magic.Design time != compile time/

  • Usage of line item dimension - design or run time?

    Hi,
         Can anyone please tell me at which stage a line item dimension is considered - at design time or after data load, once queries are run and performance degenerates?
    I have read many posts and blogs about line item dimension and high cardinality, but I would require more information on when a line item dimension comes into play.
    If we can decide at design time, then how is it done without data being loaded?
    At which instances will the dimension table size exceed the fact table's size?
    Please explain the above 2 points with a clear example, including the DIM ID and SID table access, and the ratio calculation for line item dimension consideration.
    Thanks in advance.

    Hello Aparajitha,
    I agree with Suhas on point of consideration of LID . It would be good enough to consider a Dimension as LID in the Cube during design, it will be fruitful for the performance point of view. There is no point in saving the LID for future purpose if you have less than 13 Dimension in the Cube. It is going to save a extra join in connecting the relevant data.
    If the total Dimension exceeds 13 or more (during design) , then you no option but include the related Char IO together in a one dimension.Here you cannot make a LID .
    During the run phase, if the Dim table is more than 20 % of Fact Table, then for the sake of performance you have to go for the LID.In that case you will have the overhead of managing data (backup, delete & restore) .
    On your specific questions :
    "If we can decide at design time, then how is it done without data being loaded "
    Technically same as you do during run-- Goto Dimension -- Right click --Properties -- and Check LID.
    Logically -- Depending upon the Business meaning, which char has max unique values you  can go with as LID.
    "At which instances will the dimension table size exceed the fact table's size "
    Frankly I haven't come across that..  ... Fact table is the center table and always will be the huge table in comparison to Dim table . Dim table cannot exceed the Fact Table ....!
    Yes if the size of Dim Table is more than 20% of Fact table ( ratio of Dim Table to Fact Table) , then we have to select between the LID or High Cardanility.
    Gurus..Please correct if anything is wrong ..!
    Regards
    YN

  • Crystal report viewer not showing any option in browser at run time

    Hello concern
    I am mahendra gohil a student in computer science.
    I am using crystal report viewer with VS 10 . Every thing is fine code is running , in browser data are displayed but I didn't find any options that make print of my document . In my document has multiple pages but it displays only first page. all options are set to true with "pdf" as print mode.
    I have read all post regarding this issue , could not find any solution. Also set "Enable Acrobat Javascript " in adobe reader application.
    I have attached my project image with this question.
    Can any one plz help me to solve this ?

    I am using Firefox 20.0* and Crome 34.0.*
    Here is my code
    page :: viewreport.aspx
    <%@ Page Title="" Language="C#" MasterPageFile="~/ideal.master" AutoEventWireup="true" CodeFile="viewreport.aspx.cs" Inherits="Default3" %>
    <%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
    <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
        <style type="text/css">
        .style1
            width: 100%;
    </style>
    </asp:Content>
    <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
        <table class="style1">
        <tr>
            <td>
                 </td>
            <td>
                 </td>
        </tr>
        <tr>
            <td colspan="2">
                <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
                    AutoDataBind="True" EnableDatabaseLogonPrompt="False"
                    GroupTreeImagesFolderUrl="" Height="50px"
                    ToolbarImagesFolderUrl="" ToolPanelWidth="200px" Width="881px"
                    ToolbarStyle-BackColor="#33CC33" ToolbarStyle-BorderColor="#FF5050"
                    ToolbarStyle-BorderStyle="Dashed" />
            </td>
        </tr>
    </table>
    </asp:Content>
    page :: viewreport.aspx.cs
                ReportDocument rp = new ReportDocument();
                rp.Load(Server.MapPath("IPD_BILL.rpt"));
                string payment_str = "SELECT * from report";
                DataSet ds = new DataSet();
                ds = conn.read_op(payment_str);       
                rp.SetDataSource(ds.Tables[0]);
                CrystalReportViewer1.ReportSource = rp;

  • Designing run time jsp page

    hello all,
    I want to design a run time jsp page.
    how should i do it? using servlet or jsp has this capablity.
    please give me advice to achieve it effectivly.
    Can yo give me a example also of making runtime controls let say a button or label or textbox on jsp page also.
    Thanks in advance.

    Your terminology and English is really messed up in this message, so sorry if my answer is wrong. Especially the part "design a run time jsp page" makes really no sense.
    If you want to add DOM elements "on the fly", use an ajaxical library like jQuery or adopt an ajaxical JSF component library like RichFaces/Ajax4jsf.

  • More than one business component (views) in the same JSP page

    Hi, I am trying to have more than one business component (views) in the same JSP page as Input Form.
    For example:
    There are two BC4J:
    Person:
    Code.
    Name.
    Address:
         Person_code
         Street.
         City.
    There is a master detail relationship between them and there is a link between both views in the application module.
    I want to create a JSP page with an Input form for both views. When the user decides to create a Person, I need to insert in both tables.
    Insert code and name into Person table.
    Insert Person_code, Street and City into Address table.
    It is possible to do in Forms but I am not sure if I can be able to do this in JDeveloper 10G.
    Thanks

    Sorry I lost the tabs
    Person has two attributes Code and Name.
    Address has three attributes Person_coden Street, City.

  • 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.

  • Jdeveloper 3.1 freezing when moving to design mode

    Greetings all,
    I have created a Panel with the Business component data forms wizard. I have chosen a table and have completed the wizards steps.
    When I go to view the generated class (Panel) in design mode jdeveloper freezes.
    Thank you in advance for your attention and help.
    John.
    null

    Brian,
    Thank you for your attention.
    This are the answers your questions.
    1. JDeveloper
    3.1 Build 681
    IDE 3.1.681
    JBO 3.1.681
    DAC 3.1.681
    OJVM 1.3.0
    COMMON 3.1.230
    2. Both ways produce the same result when trying to move to the design mode.
    3. No output to log - JDeveloper freezes
    4. Only 7.3.4 (tested against two instances)
    Note: This maybe of great help. When I was reviewing the entity object (the table which on the panel) I select the Validation tab and JDeveloper was frozen.
    I reviewed the documentation and found this information.
    "Business Components for Java provides a framework for defining, implementing, and executing validation logic in middle-tier components." Is JDeveloper looking for something to do with this validation tab which is causing it to appear frozen?
    I would like to resolve this problem as soon as I can. I would like to explore JDevelopers functions instead of having to code all GUI elements by hand.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by JDev Team (Brian):
    John --
    Thanks for your help in resolving this issue. I have a couple of follow up questions for you so that we can nail this down:
    1. Which version of JDeveloper are you using?
    2. Are the panels created with the Dataform wizard, or did you add the components by hand? If you have only been using one of these methods to create your form (for example, the wizard), could you try the other method, and let us know if you experience the same problem.
    3. Please send us the output from the logging window: edit [JDeveloper_home]\bin\jdeveloper.ini and set LogConsole=1 and edit [JDeveloper_home]\lib\jdeveloper.properties and set jdeveloper.logOutput=- and restart JDeveloper.
    4. If you have another database version available, could you see if you have the same problem there.
    Thanks for your patience!
    -- Brian<HR></BLOCKQUOTE>
    null

  • Can't view my user control in the designer (An Unhandled Exception has occurred)

    I'm using VS 2012, looking at some code I wrote some time ago. For some reason I cannot view the XAML in the design view, only the XAML view. I'm getting an error that says, "An Unhandled Exception has occurred". I can compile the solution fine,
    but it won't let me view it. I don't know why I can't view it in the designer. Here's the error details:
    Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteException
    Object reference not set to an instance of an object.
       at System.Windows.StyleHelper.FindNameInTemplateContent(DependencyObject container, String childName, FrameworkTemplate frameworkTemplate)
       at System.Windows.TemplateNameScope.System.Windows.Markup.INameScope.FindName(String name)
       at MS.Internal.Data.ElementObjectRef.GetObject(DependencyObject d, ObjectRefArgs args)
       at MS.Internal.Data.ObjectRef.GetDataObject(DependencyObject d, ObjectRefArgs args)
       at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.VerifySourceReference(Boolean lastChance)
       at MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance)
       at MS.Internal.Data.DataBindEngine.Run(Object arg)
       at MS.Internal.Data.DataBindEngine.OnLayoutUpdated(Object sender, EventArgs e)
       at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
       at System.Windows.ContextLayoutManager.UpdateLayout()
       at System.Windows.UIElement.UpdateLayout()
       at System.Windows.Interop.HwndSource.SetLayoutSize()
       at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
       at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteUIElement.<>c__DisplayClass12.<Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteUIElement.CreateContent>b__11()
       at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.<>c__DisplayClass16`1.<MarshalIn>b__15()
       at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()
       at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.Invoke(Boolean waitingInExternalCall)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.InvokeCall(Call call)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.ProcessQueue(CallQueue queue)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.ProcessInboundAsyncQueue(Int32 identity)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.ProcessMessage(Int32 msg, IntPtr wParam, Boolean elevatedQuery, Boolean& handled)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.OnWindowMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at Microsoft.Expression.DesignHost.Isolation.Remoting.MessageOnlyHwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.Run()
       at System.Windows.Application.RunDispatcher(Object ignore)
       at System.Windows.Application.RunInternal(Window window)
       at System.Windows.Application.Run(Window window)
       at Microsoft.Expression.DesignHost.Isolation.IsolationProcess.RunApplication()
       at Microsoft.Expression.DesignHost.Isolation.IsolationProcess.<>c__DisplayClass2.<Main>b__0()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
    Rod

    I stopped when I saw stuff about databinding.
    I guess your problem is you have code in your constructor.
    A prameterless constructor of a view will be called by the designer.
    This is probably trying to use things which aren't there at design time.
    You can mock them or just exit out the constructor if you're in the designer.
    public YourUserControlConstructor()
    InitializeComponent();
    if (DesignerProperties.GetIsInDesignMode(this)
    return;
    // Dependent code which produces errors
    http://social.technet.microsoft.com/wiki/contents/articles/29874.wpf-tips-designer-detection.aspx
    Hope that helps.
    Recent Technet articles: Property List Editing;
    Dynamic XAML

  • Cannot view Crystal Report in JSP page ( error loading ? )

    Hi,
              Can someone please help or pass on any suggestions,
              I am trying to view my crystal report (test.rpt) in my JSP page but get the following error and im having trouble sorting it out. I am using Crystal 10 with weblogic. My report is just a simple report ( no data connection needed) with just some hard coded text. I simply want to view it through a JSP page. Can anyone shed any light on the error. The error message is shown below. In my browser i get the message
              An error has occurred:
              Error loading C:/Bea/user_projects/applications/crystaltest/crystaltestWeb/WEB-INF/test.rpt
              the important part of the full error message below i guess is :
              Root cause of ServletException.
              com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error loading C:/Bea/user_projects/applications/crystaltest/crystaltestWeb/WEB-INF/test.rpt ---- Error code:-2147215356 Error code name:fileNotOpened
              at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source) etc
              Full error message is here ->
              ####<11/08/2004 11:56:10 AM EST> <Debug> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <BEA-101147> <HttpServer(32071428,null default ctx,cgServer) Found no context for "/". This request does not match the context path for any installed Web applications, and there is no default Web application configured.>
              ####<11/08/2004 11:56:12 AM EST> <Notice> <WebLogicServer> <TAS0707> <cgServer> <main> <<WLS Kernel>> <> <BEA-000331> <Started WebLogic Admin Server "cgServer" for domain "workshop" running in Development Mode>
              ####<11/08/2004 11:56:12 AM EST> <Notice> <WebLogicServer> <TAS0707> <cgServer> <main> <<WLS Kernel>> <> <BEA-000360> <Server started in RUNNING mode>
              ####<11/08/2004 11:56:12 AM EST> <Debug> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <BEA-101147> <HttpServer(32071428,null default ctx,cgServer) Found no context for "/wlwdir". This request does not match the context path for any installed Web applications, and there is no default Web application configured.>
              ####<11/08/2004 11:56:12 AM EST> <Info> <Management> <TAS0707> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.RMI'> <<WLS Kernel>> <> <BEA-140009> <Configuration changes for the domain have been saved to the repository.>
              ####<11/08/2004 11:56:12 AM EST> <Info> <Configuration Management> <TAS0707> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.RMI'> <<WLS Kernel>> <> <BEA-150007> <The booted configuration .\config.xml has been backed up at C:\Bea\WEBLOG~1\samples\domains\workshop\.\config.xml.booted.>
              ####<11/08/2004 11:58:29 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] /ensureAppDeployment: init>
              ####<11/08/2004 11:58:53 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] /wlwdir: init>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: init>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param verbose initialized to: true>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param packagePrefix initialized to: jsp_servlet>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param compilerclass initialized to: com.sun.tools.javac.Main>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param compileCommand initialized to: javac>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param compilerval initialized to: com.sun.tools.javac.Main>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param pageCheckSeconds initialized to: 1>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param encoding initialized to: null>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param superclass initialized to weblogic.servlet.jsp.JspBase>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param srcCompiler initialized to weblogic.jspc>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param workingDir initialized to: C:\Bea\weblogic81\samples\domains\workshop\cgServer\.wlnotdelete\extract\cgServer_crystaltest_crystaltestWeb>
              ####<11/08/2004 11:59:04 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: initialization complete>
              ####<11/08/2004 12:04:14 PM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] /*: init>
              ####<11/08/2004 12:04:15 PM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] /*: Using standard I/O>
              ####<11/08/2004 12:18:03 PM EST> <Error> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '12' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-101017> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] Root cause of ServletException.
              com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error loading C:/Bea/user_projects/applications/crystaltest/crystaltestWeb/WEB-INF/test.rpt ---- Error code:-2147215356 Error code name:fileNotOpened
              at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
              at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.<init>(Unknown Source)
              at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.a(Unknown Source)
              at com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory.createReportSource(Unknown Source)
              at jsp_servlet.__index._jspService(index.jsp:27)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
              at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
              at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:208)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
              at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:316)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(PageFlowRequestProcessor.java:1301)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedirector.forward(PageFlowRequestProcessor.java:1317)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1199)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:1093)
              at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:650)
              at com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:527)
              at com.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:152)
              at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
              at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:318)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(PageFlowRequestProcessor.java:1301)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedirector.forward(PageFlowRequestProcessor.java:1317)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1199)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:637)
              at com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:527)
              at com.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:152)
              at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6456)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    I am getting the same error... Is there any one who can help us... Or is the problem solved, if so please let me know How did you do that...
              Thanks
              Hara

  • JSP, Data Web Bean, BC4J: Setting the where clause of a View Object at run time

    Hi,
    I am trying to develop a data web bean in which the where clause of a View Object will be set at run time and the results of the query then displayed.
    My BC4J components are located in one project while the coding for the data web bean is in another project. I used the following code bu t it does not work. Could you please let me know what I am doing wrong?
    public void populateOSTable(int P_EmpId)
    String m_whereString = "EmpView.EMP_ID = " + P_EmpId;
    String m_OrderBy = "EmpView.EMP_NAME";
    oracle.jbo.ApplicationModule appModule = null;
    ViewObject vo = appModule.findApplicationModule("EMPBC.EMPAppModule").findViewObject("EMPBC.EMPView");
    vo.setWhereClause(m_whereString);
    vo.setOrderByClause(m_OrderBy);
    vo.executeQuery();
    vo.next();
    String empName numAttrs = vo.getAttribute(EmpName);
    System.out.println(empName);
    Thanks.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by JDev Team (Laura):
    Here is how I have usually done mine:
    1. In the JSP, use a RowsetNavigator bean to set the where clause and execute the query.
    2. Use a custom web bean to process the results of the query (print to HTML).
    for example:
    <jsp:useBean class="oracle.jbo.html.databeans.RowsetNavigator" id="rsn" scope="request" >
    <%
    // get the parameter from the find form
    String p = request.getParameter("p");
    String s = request.getParameter("s");
    // store the information for reference later
    session.putValue("p", p);
    session.putValue("s", s);
    // initialize the app module and view object
    rsn.initialize(application,session, request,response,out,"wt_bc_WT_bcModule.wtjoinView");
    // set the where clause string
    String theclause = "presname = '" + p + "' AND slideno=" + s;
    // set the where clause for the VO
    rsn.getRowSet().getViewObject().setWhereClause(theclause);
    rsn.getRowSet().getViewObject().executeQuery();
    rsn.getRowSet().first();
    %>
    </jsp:useBean>
    <jsp:useBean class="wt_bc.walkthruBean" id="wtb" scope="request" >
    <%
    // initialize the app module and VO
    wtb.initialize(application,session, request,response,out,"wt_bc_WT_bcModule.wtjoinView");
    wtb.render();
    %>
    In this case, the render method of my custom web bean mostly gets some session variables, and prints various content depending on the session variable values.
    Hope this helps.
    </jsp:useBean><HR></BLOCKQUOTE>
    Laura can you give the code of your walkthru bean? i wna't to initialize a viewobject, set the where clause and give that viewobject back to initialize my navigatorbar.
    Nathalie
    null

  • Unable to view pdf created in Live Cycle Designer ES2-initially thought to be a user/OS issue

    Unable to view pdf created in Live Cycle Designer ES2.  I initially thought this was a user / OS issue when I created a document for someone who is new to a MAC laptop.  She could not view the document through email.  Unfortunately, I began seeing the same error in my own document folders when searching for another document showing as icons instead of a list.  I can open the file without a problem although I see the error she sees only while viewing the icons in my folder.  I am using a Windows 7 PC. Now, I also know that if the document is downloaded, it can be viewed.
    Other notes:
    If trying to access the form via the internet, the same error is seen through Chrome, Firefox, and Mozilla but NOT through IE
    Everyone seems to have the latest or a very recent READER
    The form is compatible with Reader versions 7 and up
    Again, downloading from the internet to the computer appears to allow the file to open properly
    Document cannot be viewed on the Galaxy Tab 2 via Chrome or the pre-installed Internet Browser, nor can it be viewed through the Reader after download to tablet. I did not try on an Apple iPad.
    All parties involved are up-to-date with virus protection.
    Below is a link to the exact message received when trying to open the document.
    https://www.dropbox.com/s/wmjqzwyriovg9vi/Adobe%20Error.pdf

    You're on to something KJ!  Yes the form was created in LiveCycle Designer ES2 which came bundled with my Adobe X Pro.  I began creating a new form yesterday and found that I could not preview the form, rendering this same "error" instead.  I ran a repair on my Adobe and at first it seemed to fix the issue but after making some changes to the form I tried to preview again and couldn't.  Here is what I get when I try to preview my forms in Designer ES2: 
    When I click the OK button, it then gives me that single static page as mentioned above in previous posts.
    I searched Adobe yesterday trying to figure out how I could repair the LiveCycle Designer or if there was some sort of patch that I haven't gotten but was not able to find anything.
    (Sorry for the delay in response, I've been on vacation.)
    Message was edited by: AngelaC

  • How to get the view tree from a jsp page

    Hi,
    I would like to get the view tree of a jsp page. The idea is to dynamically include the content of one or more jsf pages into a UIPanel during a "value changed" event.
    So, i could get from an arbitrary page like ...
    <%@ taglib uri="http://java.sun.com/jsf/core"   prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsf/html"   prefix="h" %>
    <h:panelGrid columns="3" width="100%" rowClasses="gridTop">
        <h:outputText value="#{someBean.someValue}"/>
    </h:panelGrid>... the corresponding List of components...
    Any idea?

    Thanks for your answer Jayashri,
    The view tree can be retrieved by this way during the page is parsed, for example with scriptlets <%%>, or once the page has been parsed (the view has been builded and attached to the FacesContext).
    My problem is to get the view tree of a page from another Context.
    The idea is to build a dynamic layout of some pages that represents "views". I can imagine this like the concept of perspectives and views of Eclipse IDE.
    Because of the difficulty to build it with pure JSP (cannot use dynamic ID nor JSTL ForEach), I try to build it into my backing bean and to bind it with a <h:panelGrid/>. By this way, I'm not able to use the <jsp:include/> tag as I usually did to include some content into the view tree.
    Sorry for my english ;)
    - Renaud.

Maybe you are looking for