Problem redirecting to dynamically created htmls pages

Hello All,
Scenario is like this, i am creating the dynamic htmls pages, in the servlets
and after creating the htmls pages in the servlets , the control passes to
the jsp page, where i am including the html page that is created at the servlets,
its works fine, but some time it shows me null exception at the jsp page, i.e
it won't find the htmls pages, even they are created b'fore.
I am using weblogic server 6.1 with sp3.
Can anybody know what is the reason.

Same problem here. Hopefully apple can get this fixed asap. I tried this with numbers and an Excel file and it worked just fine.
Message was edited by: Spectre
Message was edited by: Spectre

Similar Messages

  • How to use a jdbc query result to redirect to a variable html page

    uh, my problem is that i'm making a servlet which should redirect to a variable html page based on jdbc query (I'm really sorry if this is not the correct forum to post it, but since it's jdbc i thought it was).
    Anyway, the problem is that when a string say, "mystring" is equal to the value in a column, say "column1" of the database then page should redirect to "mystring.html".
    Is this possible, if so then how?
    and if not then is there any other way to solve my problem?
    please, help!!
    thanks in advance.

    uh, since i've already asked man, please gimme an answer if you know, it'll be appreciated.
    OK, HERE'RE THE DETAILS:(as you requested them)
    i have an html page where there's a textfield say "t1", the value of that text field is sent to the servlet which compares the value of the field with the value in Database, say "db1" in column say "column1".
    if there's a value in the column matching the value inputted in the textfield, then i need the servlet to redirect to an html page of the same name as inputted in the textfield. Hope that helps you understand.....
    thanks in advance.......

  • How to Create HTML page from portal

    Hi
    I have a requirement to create html pages from portal.
    There will be an author who can choose document type as HTML
    and then he will write html codes on saving it should be saved as HTML doc in UCM.
    and publisher should be able to display it on portal(may be using content presenter).
    please help me in this. I know there is rich text editor task flow which can save a doc as doc file.
    and in spaces we have option of creating HTLM file but i don't know how to do it for my portal.
    Thanks

    A better way would be to create the page using approach in this blog:
    https://blogs.oracle.com/ATEAM_WEBCENTER/entry/content_presenter_cmis_complete
    That way the page can be edited inline and the html author need not upload html to ucm everytime.

  • Page length problem in PDFs generated from HTML pages in Acrobat

    I just spent an exhausting 2-1/2 hours on the phone with Adobe tech support (offshore) in order to get a 5 minute fix. I figured that I'd document it here in case another user has the same problem. (I'd checked the forums and a few e-mail lists and hadn't found a solution.)
    When generating PDFs from HTML (Web) pages, Acrobat squeezed all of the text into the middle of a single page (with just the last inch or so of text on page 2). This resulted in pages that Acrobat identified as being 30", 40", even 60" long, and the printed results were unusable. I haven't been able to identify an event or a system change that caused this to happen; Acrobat had been generating PDFs properly before this trouble started.
    THE FIX:
    1. Start Acrobat and run the Repair Installation option from the Help menu.
    2. Go to C:\Documents and Settings\user\Application Data\Adobe\Acrobat\8.0
    and rename the Preferences file to PreferencesOld. A PC restart will be
    required after this change.
    3. Restart Acrobat. This creates a fresh Preferences folder.
    4. Test creating PDFs from a single HTML page and from multiple pages.

    Thanks, Bernd, but where are these settings?  While I'm writing, is there a setting to make an html file fit on one page in Acrobat?

  • Create HTML page inside form 6i

    Hi ,
    I would like to know if it's possible to create an HTML page inside form 6i ,, where this html page will include a time using html code, and a refresh button will be in the form whenever I press the refresh button the html page inside the form will be updated ..
    how can i do that ?
    Thanks in advance … :)

    Yes its possible . If you are running forms in client server , use host built in to open the html page. This html page can be created
    dynamically using text io.
    If you are running on web use webutil client host and text io.
    Best Regards
    Rajesh Alex

  • Problem with return link from html page back to css page

    Here is the site..almost ready for publication
    http://www.matriley.com/glensite/index.html
    1) Go to properties for sale
    2)Choose a suberb
    3)click on a property with a video
    4) watch the crazy video if you like
    5) Click go back to properties
    ^) Yes the page is there but the property page is now
    inactive...why?
    8)The whole thing works fine on Firefox but we do have this
    Glitch on IE
    PLEAASSE Can someone help
    Regards Matthew [email protected]
    Everything works well but for the problem return link to the
    properties page after you have gone to the video.The property page
    becomes inactive

    Your page is a monster -
    Empty Cache
    10.6K 1 HTML/Text
    1.5K 1 Stylesheet File
    985.4K 25 Images
    997.7K Total size
    27 HTTP requests
    25 images with aggregate weight of ~1MB is much too large,
    you know?
    Anyhow, I cannot reproduce your problem in IE7. Are you
    referring to IE6,
    instead?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "fredbillmatt" <[email protected]> wrote in
    message
    news:fv0m9k$a7a$[email protected]..
    > Here is the site..almost ready for publication
    >
    http://www.matriley.com/glensite/index.html
    >
    > 1) Go to properties for sale
    > 2)Choose a suberb
    > 3)click on a property with a video
    > 4) watch the crazy video if you like
    > 5) Click go back to properties
    > ^) Yes the page is there but the property page is now
    inactive...why?
    > 8)The whole thing works fine on Firefox but we do have
    this Glitch on IE
    > PLEAASSE Can someone help
    > Regards Matthew [email protected]
    > Everything works well but for the problem return link to
    the properties
    > page
    > after you have gone to the video.The property page
    becomes inactive
    >

  • Problems calling Java Servlets from HTML pages Online

    Hello
    I have created a Web site using Java Servlets, and have acquired some servlet enabled web-space however i am having some difficulty in calling the actual servlets from the HTML pages i was using the line of code as follows
    http://localhost:8080/servlet/....
    followed by the name eg.
    http://localhost:8080/servlet/Login
    however this doesn't seem to be working i have also tried using the exact address of the servlet but this didn't work either
    i.e ..servlet/Login.java
    I was wondering would anyone have any idea as in how the servlets should be called
    Thanks very much

    Once you write the Servlet code, you have to compile and put the classes in the server classpath. To refer these servlets from your pages, you have to configure them in the server configuration(typical a xml file). There you define how you are going to refer to the servlet(/servlet/Logon) and the correponding class.
    -Mak

  • Problem with string dynamically created

    Hi all,
    I have a problem a bit complex I don't know how to solve it: I have a dynamically created program that give a syntax error because a string created inside it is too long and don't stay on a single line, so the program created has some lines like this:
    tot = d_1 + d_2 + d_3 + d_4 + d_5 +
    d_6 + d_7 +  d_8 + d_9 .
    this code doesn't pass the syntax-check before it is executed and the error given is about the second line. So how can I avoid this error ? remember that the program is dynamically created so the code reported is for sample: it's possible to have more than 2 lines.
    Thanks to anyone will give me an hint.
    Gabriele

    Hi!
    Explicitely control the length of your statements when generating them. In your sample you could code your program to create the follwoing lines:
    tot = d1 + d2 + ........ + d8.
    tot = tot + d9 + d100 ...... + d150.
    tot = tot + d151 ..... d999.
    And so on ....
    Regards,
    Volker

  • Problem with printing dynamically created pages

    Hello,
    I have created a form in Designer 7.1 with one page. When clicking the Print button the script generates additional pages with the instance manager (addInstance) and then I want to print the generated pages. However, when using 'xfa.host.numPages - 1' in the print statement only the first page is printed. When I use a static end value, I get an error message with 'wrong end value for print'. Does anybody know, what I have been missing?
    Thanks, Karin

    No problem with Adobe Reader 8 or 9 .

  • How to pass on variables while redirecting from BSP to HTML  page.

    Hi all,
    I have two BSP pages - BSP1, BSP2.  When I click a submit button on BSP1, it should call BSP2 wherein BSP2 will work silently behind the scenes and redirect some variable values through hidden form fields to BSP1 back. 
    User will not see BSP2 in fact.  He just deals with BSP1, but when he clicks the submit button on BSP1, it silently calls BSP2, and then BSP2 will process something behind the scenes and sends back values through hidden form fields to BSP1 by means of redirection. After redirection from BSP2 to BSP1, I am not getting the hidden fields in BSP1.  From the BSP1, I am trying to get the hidden fields of BSP1 using:
    Here is how my code in BSP2 (redirecting to BSP1) looks like:
    <b>BSP2 : Layout:</b>
    <input type="hidden" name="hf1" value="vicky">
    <b>BSP2 : OnInitialization:</b>
      response->redirect( url_BSP1 ).
      navigation->response_complete( ).
    But when I am doing this, the hidden form fields from BSP2 are not being passed to BSP1 back.
    I am trying to get the form values <b>in BSP1</b> as below:
    <b>BSP1 : Layout:</b>
       <%
       data:  hfield type string.
       hfield = request->get_form_field('hf1').
       %>
    I even tried the above code in onRequest, and onInitialization sections.  But I am getting nothing.
    Please give me some ideas on how to deal with the redirection and get the hidden values out of that.
    Thanks in advance.
    Cheers,
    Vicky.

    Hi,
    There are different ways to do it, but let's pick this one. It closes the popup. If you need additional things to be done, you can make a form with all hidden fields, submit that form, do the same close and do whatever you need in the inputprocessing
    <html>
      <head>
    <title>title</title>
          <script language="javascript">
              function init() {
              <%if count eq 1.%>
                  opener.document.form.F<%=field%>.value = '<%=value.%>';
              close();
             <%else.%>
          <%endif.%>
          </script>
      </head>
      <body onLoad="init();">
    </body>
    </html>

  • Printing problems with Pdf documents created with Pages

    I upgraded to Acrobat 8.0 recently and for some reason when I save a Pages document to pdf, within the print options then try and print, it prints blank.
    I have created other pdf documents which print OK, so the problem lies somewhere within Pages.
    I didn't have the problem with Acrobat 7.0
    ANy ideas

    When you say "Acrobat", do you mean Adobe Acrobat Standard or Pro? Or do you mean Adobe Reader?
    If it is Adobe Acrobat, I would go to the preflight option and see what information you get there. But no, I have not had the problem myself.

  • Problem with accessing dynamically created movie clips, returns null...

    Hopefully this is a stupid question with an easy answer, if my code is straight forward enough.
    I am using this snippet of code to create menu items, and then use the jCount variable below to give the clips an index number, like so (which seems to be working just fine):
    for(var j:Number=0;j<xmlSubMenuLength;j++){ 
        var mcSubMenuItem:mcSubMenu=new mcSubMenu();   
        addChild(mcSubMenuItem);    
        jCount++;   
        mcSubMenuItem.name = "mcSubMenuItem" + jCount;
        //traces out names correctly
        trace ("---------------------------------jCount NAME = "+ mcSubMenuItem.name);
        mcSubMenuItem.x=mcMenuHolder.x+20;
        mcSubMenuItem.y =mcMenuHolder.y;
        mcSubMenuItem.y+= nextBtnY;
        nextBtnY+=subtopicSpace;
        global_subi.text = String(jCount); //i see the proper count of 10 in the text field
    However, when I try to access the clips using this snippet:  
    for(var j:Number=0;j<Number(global_subi.text);j++)//
      trace("GLOBAL SUBI = "+ String(global_subi.text));  //traces out 10, which it should
      var scSubMenuItem:String = "mcSubMenuItem" + j;  
      var scSubContent:Object = this.getChildByName(scSubMenuItem);
      trace(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>scSubContent:Object = "+ scSubContent); //returns null!
    My last trace statement returns null. Can anyone see my error, or explain why I can't access my clips after they have been created?
    Thank you muchly,
    ~Chipleh

    Hi kglad,
    Thanks for the response.
    "it's not clear from the shown code that jCount is initialized." - I've posted the relevant code below, which shows that I'm initializing jCount.
    "and it's not clear why you don't use j instead of jCount in that for-loop" - j is used as loop for creating the subtopic movie clips within the i for-loop. So, for each topic in i for-loop, create a group of suptopics using the j for-loop. The j for-loop re-initiates j every time the length of the subtopics is reached(if that makes any sense) - i.e. topic1>subtopic 1,2,3,4 : topic2>subtopic>1,2 : topic3>subtopic1,2,3,4
    jCount is used to keep a running count of the total number of subtopcs created - i.e. per the example above, jCount will display 10.
    var topicSpace:uint=button_mc.height;
    var subtopicSpace:uint = button_mc.height;
    var nextBtnY:uint = 0;//whatever;
    var jCount:Number = 0;
    function createXMLMenu(menuLength:Number,itemName:XMLList):void{
         var navItemText:XMLList = itemName;
          for(var i:Number=0;i<menuLength;i++)
               var mcMenuItem:mcMenu=new mcMenu();        
               addChild(mcMenuItem); 
               mcMenuItem.btnTxt.htmlText = i+1 +". " +navItemText[i];  
               mcMenuItem.ivar = i;  
               mcMenuItem.name = "mcMenuItem" + i;  
               mcMenuItem.x=mcMenuHolder.x;
               mcMenuItem.y =mcMenuHolder.y;
              //kglad's addition
               mcMenuItem.y+= nextBtnY;
               nextBtnY+=topicSpace; 
               var subVar:Number = i;//mcMenuItem.ivar 
               //Submenu content
               var xmlSubMenuLength:Number = xml.sim.bodyText.page[i].subpage.length()
               var menuItemAttachment:MovieClip = MovieClip(mcMenuItem); 
               for(var j:Number=0;j<xmlSubMenuLength;j++)
                     var xmlSubPageNumber:XMLList = xml.sim.bodyText.page[subVar].subpage;
                     var subNavLinkNumber:Number = xmlSubPageNumber[j];
                     var subTitleText:String = xml.sim.bodyText.page[subVar].subpage.subNavItem[j];
                     var mcSubMenuItem:mcSubMenu=new mcSubMenu();
                     trace("mcSubMenuItem.ivar = "+ j+1);
                     var mc2Attach2:MovieClip = MovieClip(menuItemAttachment);
                     mcSubMenuItem.btnTxt.htmlText = j+1 +". " +subTitleText;   
                     mcSubMenuItem.ivar = Number(subVar);
                     mcSubMenuItem.jvar = Number(j);
                     addChild(mcSubMenuItem);
                     jCount++;   
                     mcSubMenuItem.name = "mcSubMenuItem" + jCount;
                     trace ("---------------------------------jCount NAME = "+ mcSubMenuItem.name);
                     mcSubMenuItem.x=mcMenuHolder.x+20;
                     mcSubMenuItem.y =mcMenuHolder.y;
                     //kglad's addition
                     mcSubMenuItem.y+= nextBtnY;
                     nextBtnY+=subtopicSpace;    
                     global_subi.text = String(jCount);
                mcSubMenuItem.lExtend.visible = false;  
    global_i.text = String(i);
    Then I try to access the clips like so:
    -The first for-loop access the topic movie clips, no problem, and traces out scContent correctly.
    -The second for-loop traces out null everytime, when I would expect it to be tracing out the names of the subtopic movie clips.
    function accessClips(){
         //This will access the topic movie clips
         for(var i:Number=0;i<Number(global_i.text);i++)
               var scMenuItem:String = "mcMenuItem" + i;
               var scContent:Object = this.getChildByName(scMenuItem);            
               trace(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>scContent:Object = "+ scContent);
         //This is supposed to access the subtopic movie clips
         for(var j:Number=0;j<Number(global_subi.text);j++)//
               var scSubMenuItem:String = "mcSubMenuItem" + j;
               var scSubContent:Object = this.getChildByName(scSubMenuItem);
               trace(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>scSubContent:Object = "+ scSubContent);
    Hope this makes sense, Chipleh confused. If the code is not clear enough, let me know and I'll try to further clarify.
    Thanks again,
    ~Chipleh

  • Use of WHERE clause to get 2 columns from dynamically generated html page.

    I am using postgresql.I have to complete a java program , which is a forum like thing.User can login and submit question.....if anybody know the answer he can post the answer........Now the problem is that if more than one questions are entered it all should be displayed when we click on a "faq" button.........i created that one......these questions have the hyperlink.........When we click on a single question a text box will come........we have to write the answer there and answer should lie on the column corresponding the question clicked..............
    Here i need the querry to write in servlet so that the answer is stored in the corresponding column only.................
    Pleaseeeeeeeeeeeee help me as soon as possible..................
    Regards
    Shine..

    Sir,
    Other than you are using postgres and a servlet I have absolutley no idea what you are on about.
    Please try explaining in a less distressing manner.
    Sincerely,
    Slappy

  • Problem in showing dynamically created popup menus in MacOs.

    I have problem with dynamically popup menus. When the menu item is selected, below method is calling:
    public JPopupMenu getPopupMenu(){
    JPopupMenu r = super.getPopupMenu(); // My class extends JMenu.
    r.removeAll();
    String[] remoteEngines = SimulationManager.getRemoteEngines();
    try {
    for (int i = 0; i < remoteEngines.length; i++) {
    JMenuItem item = new JMenuItem(remoteEngines);
    item.addActionListener(this);
    r.add(item);
    } catch (Exception ex) {}
    return r;
    On windows and linux I get menu populated by servers' names, but under MacOS popup menus don�t appear.
    I have MacOs 10.4 and Java 1.5.0.5

    The problems with the portlet provider. Edit it and do the following:
    Uncheck "Web provider in same cookie domain as the portal" and also for the User/Session Information, choose either "Always" or "Once per user session" NOT "never".
    Its bug no 4118067 in metalink, the above is a workaround!!

  • Creating HTML page

    CREATE OR REPLACE PACKAGE TEST IS
    PROCEDURE praveen;
    END;
    CREATE OR REPLACE PACKAGE BODY TEST IS
    PROCEDURE praveen
    IS
    CURSOR C IS SELECT EMP_NAME FROM EMP WHERE SAL < 500;
    BEGIN
    HTP.HTMLOPEN;
    HTP.TABLEOPEN('BORDER=1 WIDTH=50% CELLPADDING=4 CELLSPACING=1');
    HTP.TABLEHEADER(CVALUE=>'EMPLOYEE_NAMES',CALIGN=>'CENTER');
    FOR A IN C LOOP
    HTP.TABLEROWOPEN;
    HTP.TABLEDATA(CVALUE=>A.EMP_NAME);
    HTP.TABLEROWCLOSE;
    END LOOP;
    HTP.TABLECLOSE;
    HTP.HTMLCLOSE;
    END AKASH1;
    END;
    SQL> execute test.praveen;
    BEGIN test.akash1; END;
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SYS.OWA_UTIL", line 323
    ORA-06512: at "SYS.HTP", line 860
    ORA-06512: at "SYS.HTP", line 975
    ORA-06512: at "SYS.HTP", line 993
    ORA-06512: at "SYS.HTP", line 40
    ORA-06512: at "SCOTT.TEST", line 6
    ORA-06512: at line 1
    Hi, Creae this package nut i am getting run time error can u solve this problem.

    found some pieces from working code, may be it helps :
    CAUTION : read _L_ as < and _R_ as >
              HTP.TABLEROWOPEN (cattributes =>
                                      'BORDER="'  || p_border   || '" '
                                 ||   'BGCOLOR="' || p_bgcolor  || '" '
             HTP.TABLEDATA
              (cvalue   =>    '_L_FONT size="'  || G_FONT_SIZE || '"_R_'
                         || nvl(p_text,' ')
                         || '_L_/FONT_R_'
              ,calign  => p_align
              ,cnowrap => 'NOWRAP'

Maybe you are looking for

  • QM Configuration settings to migrate to a new plant

    Dear all, In a project where I'm working we are closing one company code and moving everything to a new company code. All the organizational estructure will be copy, but as I'm new to QM (just need to make a cost and effort estimate), I'm wondering w

  • SSAS 2008, Process Old partition

    Hi Experts , I need an advice and suggestion. I am working on SSAS 2008, I have One Fact Table "Fact_sales". I have done yearly partion, I.e FAct_Sales_2010 FAct_Sales_2011 FAct_Sales_2012 FAct_Sales_2013 Every Year I create One Partition. Now in Yea

  • Which version of crystal reports can link to Windev 14 and SQL server 2008 applications

    I am developing an application with windev 14 and sql server 2008, i would like to know which version of crystal report can i use?

  • Missing Saved Photos on iPad

    Last night my iPad went into another of it's frequent rebuilding of the photo files in iPhoto. This time after it was done over 8,000 photos were missing and the album itself was gone but the remaining 7,000 photos showed up as photo,, no albums. The

  • Communication with thermocouple (cRIO)

    Can a Labview software running on a PC communicate directly with a thermocouple or is necessary to communicate with the FPGA or RTOS? Solved! Go to Solution.