Adding custom code in generated HTML pages?

Hi
We have a customer running Weblogic Portal 8.1 sp3 ia64.
They need to add some custom html code like <META ... tags within the <HEAD.
How to do that?
Best regards Anders Rothman

add it to the framework jsp - head.jsp i believe.
Kunal Mittal

Similar Messages

  • IC_BASE, Page Fragments : root_content.htm adding custom code in standard .htm

    Hi All,
    I am adding custom code in Page Fragments : root_content.htm of bsp application : IC_BASE, for particular business purpose but after activating
    its asking to select page fragments. here its showing IC_BASE and etc.. could you pls guide me how to check which page fragment for this
    root_content.htm. and also i am adding custom code in mail.htm under page with flow logic of same bsp application. so here i am assuming page
    fragment is IC_BASE.
    Jimmi.

    Hi Jimmi,
    In General if you want to modify standard BSP component, you need to enhance the component first and then you need to enhance the particular view you want to modify. You can directly modify the .htm page in view after enhancement.
    Regards,
    Dharmakasi.

  • How to get the source code of an HTML page in Text file Through J2EE

    How to get the source code of an HTML page in Text file Through J2EE?

    Huh? If you want something like your browser's "view source" command, simply use a URLConnection and read in the data from the URL in question. If the HTML page is instead locally on your machine, use a FileInputStream. There's no magic invovled either way.
    - Saish

  • How to get the source code of an HTML page in Text file Through java?

    How to get the source code of an HTML page in Text file Through java?
    I am coding an application.one module of that application is given below:
    The first part of the application is to connect our application to the existing HTML form.
    This module would make a connection with the HTML page. The HTML page contains the coding for the Form with various elements. The form may be a simple form with one or two fields or a complex one like the form for registering for a new Bank Account or new email account.
    The module will first connect through the HTML page and will fetch the HTML code into a Text File so that the code can be further processed.
    Could any body provide coding hint for that

    You're welcome. How about awarding them duke stars?
    edit: cheers!

  • O, Is there a way to fix grey ghosted template code on a html page?

    Hello, Is there a way to fix grey ghosted template wrong placed code on a html page in DWCS6? I have about 15 pages out of about 900 that need the same fix. Only one template is for these 15 pages and it  looks fine but won't attach to pages because of the error on line1.
    The first line below is the error problem and also below is the error when I try to attach the Template.
    (error problem)  <!-- InstanceBegin template="/Templates/Cotton_Silk.dwt" codeOutsideHTMLIsLocked="false" --><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="css/single.css" rel="stylesheet" type="text/css" />
    <link href="tooltip.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryTooltip.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryTooltip.js" type="text/javascript"></script>
    <head>
    <link href="tooltip.css" rel="stylesheet" type="text/css" />
    <meta name="title" content="Luna Luz Silk Cotton and Cotton Lycra Button Front Dress  - TodaysClothing.com" />
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX
    (error)    not updated, error in template or instance file

    Hello, Is there a way to fix grey ghosted template wrong placed code on a html page in DWCS6? I have about 15 pages out of about 900 that need the same fix. Only one template is for these 15 pages and it  looks fine but won't attach to pages because of the error on line1.
    The first line below is the error problem and also below is the error when I try to attach the Template.
    (error problem)  <!-- InstanceBegin template="/Templates/Cotton_Silk.dwt" codeOutsideHTMLIsLocked="false" --><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="css/single.css" rel="stylesheet" type="text/css" />
    <link href="tooltip.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryTooltip.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryTooltip.js" type="text/javascript"></script>
    <head>
    <link href="tooltip.css" rel="stylesheet" type="text/css" />
    <meta name="title" content="Luna Luz Silk Cotton and Cotton Lycra Button Front Dress  - TodaysClothing.com" />
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX
    (error)    not updated, error in template or instance file
    in Dreamweaver support forum • Reply • Like Show 0 Likes(0)

  • How do I see the source code of a html page?

    In previous versions it was possible to read the source code on a html page from "view" menu. It is not longer there. How do I read code now?

    You're welcome

  • How to Write source code of a html page to a File

    Using this code i could find the source code of a html page from a web server
    import java.io.*;
    import java.net.*;
    public class SourceViewer{
    public static void main (String[] args) throws IOException{
    System.out.print("Enter url of local for viewing html source code: ");
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String url = br.readLine();
    try{
    URL u = new URL(url);
    HttpURLConnection uc = (HttpURLConnection) u.openConnection();
    int code = uc.getResponseCode();
    String response = uc.getResponseMessage();
    System.out.println("HTTP/1.x " + code + " " + response);
    for(int j = 1; ; j++){
    String header = uc.getHeaderField(j);
    String key = uc.getHeaderFieldKey(j);
    if(header == null || key == null)
    break;
    System.out.println(uc.getHeaderFieldKey(j) + ": " + header);
    InputStream in = new BufferedInputStream(uc.getInputStream());
    Reader r = new InputStreamReader(in);
    int c;
    while((c = r.read()) != -1){
    System.out.print((char)c);
    catch(MalformedURLException ex){
    System.err.println(url + " is not a valid URL.");
    catch(IOException ie){
    System.out.println("Input/Output Error: " + ie.getMessage());
    Iam not much a expert in java .. i could find some commands to write to a file but i dont know where to use those codes , some body please give me some idea ..
    thanking you ..

    You're welcome. How about awarding them duke stars?
    edit: cheers!

  • To know the Status code of a HTML page using Javascript

    To know the Status code of a HTML page using Javascript

    Hello,
    I am not sure to understand, which status are you talking about? The HTTP Status?
    If your javscript is executed it is more or less sure that the HTTP Status is 200 since the request is back to the browser.
    or are you talking about this is in the context of a XMLHTTPRequest call ?
    Regards
    Tugdual Grall

  • Insert JAVA3D CODE into a HTML PAGE

    My java 3d code is working perfectly with javac and java command. I can see the result of my game in the appletviewer
    But when I want to insert the code into a html page,it dosen t work
    the java applet remain grey....
    Can someone tell me why and someone can tell me how to solve it
    Could you give me an example of HTML page using java 3D code with mulitple classes

    I don't know Java3D, but I know a little applets. :)
    Are you sure your browser understands the 3D API ?
    applets work with AWT and JDK1.1, (it's your browser than run your applet and not your jdk 1.3 or 1.4), so peraphs you should download a plug-in to run Java3D in your browser ?
    for example, if you want to use swing, you have to download a plug-in in your browser.
    and another problem is that different browsers work differently with a same applet : for example, IE 6.0 don't run than IE 4.0 or Netscape 3.0
    it's the internet's way of life... :)
    Good luck,
    David
    PS : sorry for my english, I'm from Paris ! :)

  • Generate html page

    I am wanting to call a procedure which has all the html code in it to generate the HTML page. The procedure has the <html> and <body> tags within.
    Has anyone tried to do this? If so how would I call the procedure and how would I display the procedure.
    Thanks in advance.
    Andrew

    Andrew,
    I've seen this before - it's called the PL/SQL Web Toolkit.
    how would I call the procedure - you could call it directly from a URL that is configured to use modplsql against your database.
    how would I display the procedure - if, by that, you mean how would the results be rendered? The results from your PL/SQL procedure (which would make calls to the PL/SQL Web Toolkit functions and procedures) would be streamed back to the requesting browser from modplsql.
    By the way, Application Express (nee HTML DB) is built on top of the PL/SQL Web Toolkit and modplsql. That's exactly how it works.
    Joel

  • How to call the custom  code in Seeded OA pages when an event Occured.

    Hi,
    I need to call a Oracle Create Task API when User saves the data from Seeded OA Page(Sales OA Page).When User Pressed on the Save button,based on Value he selected in " Sales Methodology" Field ,I need to call Call API.
    How can I achieve it.Is it suggestable to call Custom Code in OA Page.
    Thanks
    Raju.

    hi
    extend the controller
    1.) In PFR method of controller capture the event of save button.
    2.) If the save button event ocurred capture the value of Sales Methodology.
    3.) if select Sales Methodology is required value then call the API using the below method (change it accordingly)
    import java.sql.CallableStatement;
    import java.sql.SQLException;
    import java.sql.Types;
    OADBTransaction txn = getDBTransaction();
    CallableStatement cs =
    txn.createCallableStatement("begin dbms_application_info.set_module(:1, :2);
    end;");
    try
    cs.setString(1, module);
    cs.setString(2, action);
    cs.execute();
    cs.close();
    catch (SQLException sqle)
    try { cs.close } catch (Exception(e) {}
    throw OAException.wrapperException(sqle);
    thanx
    Pratap

  • Generated html page size

    Hello, do anybody know an approach how to check html page size generated by jsp (servlet) in run time ?
    Thanks.

    String myFile ="C:\\Path\\To\\File\\name.html";
    File repositFile = new File(myFile);
    long repositFileSize = repositFile.length();

  • How to reduce size of generated html page?

    Hi,
    Is there an option in oc4j which will remove unneeded white space from the html generated by a jsp page? I have jsp page which generates a html page of 120kb (lots of lines containing only spaces). Formatting this html page using tidy results in an html page of 20kb. (considering that normal modems achieve about 5kb/s downloading these spaces could take about 20 seconds).
    I've tried setting the reduce_tag_code option to true but this didn't help. Are there any options in oc4j which might help?
    Thanks,
    Andrej

    Hi,
    Is there an option in oc4j which will remove unneeded white space from the html generated by a jsp page? I have jsp page which generates a html page of 120kb (lots of lines containing only spaces). Formatting this html page using tidy results in an html page of 20kb. (considering that normal modems achieve about 5kb/s downloading these spaces could take about 20 seconds).
    I've tried setting the reduce_tag_code option to true but this didn't help. Are there any options in oc4j which might help?
    Thanks,
    Andrej

  • ABAP WD, Read the source code of a html page

    Hi all,
    I have the URL link of .jsp page and I want to get the source code generated by this page to extract some data for my web dynpro.
    How do i solve this?
    Thanks

    Hi Antonio,
    not sure if i understand the question properly.
    You want to read html content of http site rendered via jsp.
    You can use cl_http_client
    to write a simple http client tool.
    This tool opens the page.  The html content is available to this class.
    You can extract the content here.
    See the attribute 'response' after making a call.
    regards
    Phil.

  • Adding custom javascripts into my jsp pages

    Hi all,
    it will seems to be a newby question, i'm sorry i begin using jhs since two weeks
    the question is how can i Allow an onBlur property on VO Attributes; this property includes a piece of JavaScript to be executed on leaving the item to be generated in my jsp pages to prevent doing this in post-generation, by the way i would like to know who is the class responsible for the generation of form.js .
    thanks a lot
    best regards.
    Edited by: user1718070 on 3 févr. 2009 06:41

    Hi EvertJan, thanks for the reply.
    I need an advice:
    i've added an onblur event to jhsgenerator ADF BC property and i write as an example this.value=null
    i created a template in jspinput.xsl(JAGLauncher.jar) like this:
    <xsl:template name="onBlur">
    <xsl:param name="onBlur" />
    <xsl:if test="$onBlur !=''" >
    <xsl:attribute name="onblur">
    <xsl:value-of select="$onBlur" />
    </xsl:attribute>
    </xsl:if>
    </xsl:template>
    and i try to generate a html:text by modifing inputtextsec template like this:
    <xsl:template name="textInputSec">
    <xsl:param name="name"/>
    <xsl:param name="property"/>
    <xsl:param name="withIndex"/>
    <xsl:param name="size"/>
    <xsl:param name="maximumLength"/>
    <xsl:param name="updateable"/>
    <xsl:param name="displayType"/>
         <xsl:param name="onBlur" />
    <html:text name="{$name}" property="{$property}" size="{$size}" maxlength="{$maximumLength}" onblur="{$onBlur}">
    <xsl:call-template name="onBlur" >
    <xsl:with-param name="onBlur" select="$onBlur"/>
    </xsl:call-template>
              <xsl:if test="$withIndex = 'true'">
    <xsl:attribute name="indexed">
    <xsl:value-of select="'true'"/>
    </xsl:attribute>
    </xsl:if>
    <xsl:call-template name="disabledAttribute">
    <xsl:with-param name="updateable" select="$updateable"/>
    </xsl:call-template>
    </html:text>
         </xsl:template>
    also added this to CreateFormElement template in jsplibrary.xsl:
    <xsl:with-param name="onBlur" >
    <xsl:call-template name="getCustomProperty">
    <xsl:with-param name="entityAttribute" select="$entityAttribute"/>
    <xsl:with-param name="propertyName" select="'ON_BLUR'"/>
    </xsl:call-template>
    </xsl:with-param>
    but the result inemployees.jsp is not what i expected:
    <td class="prompt" nowrap="nowrap">FirstName</td>
    <td nowrap="nowrap">
    <html:text name="EmployeesBean" property="EmployeesFirstName" size="20" maxlength="30" onblur="" />
    </td>
    like yousee this.value=null is missing in onblur=""
    i hope you can help me
    Best regards

Maybe you are looking for