Praoblems in creating a variable using JSP - el

Posting this again :
Please help
How to create a variable using <c:set> whose value is
specified within the tag body . I want to use this
variable created as one of the parameters in a
javascript method call . But my problem is when I run
my application and do the view source , the HTML page
shows me the variable as it is without substituting
its value .
can anyone help ??? its urgentThis is my code :
<c:forEach var="photo" items="${photos}" varStatus="status" >
<c:set var="photolink${status.index}" >
Click to view full-size:<br><img style=margin-left:20px src='http://147.147.2.91:7001/pfk-deploy/thumbnail.do?photo="{photo.photoid}"' border=0 width=75 height=56><br><br>
</c:set>
doSearch( "<%=desc%>", '{c:out value="${photolink}"/}');
</c:forEach>
Iam using weblogic 8.1 and my web.xml says Web Application 2.3.
Can this be a problem.

Posting this again :
Please helpWhy? How'll that help - you should have posted the extra info in your original post - http://forum.java.sun.com/thread.jspa?messageID=4327403. Double post.
ram.

Similar Messages

  • Creating Tab pages using JSP

    Can anyone help me in creating Tab Pages using JSP ?

    in JDeveloper 3.1 or greater version
    you have JSP Element wizard
    on riht click on mouse you choise JSP Element wizard
    end JSTabContainer
    or you write folowing code(example):
    <jsp:useBean class="oracle.jdeveloper.jsp.wb.JSTabContainer" id="tbc" scope="request" >
    <%
    tbc.setName("tbc");
    tbc.setTitle("Dr`avi");
    tbc.setHelpText("Drzavi");
    tbc.setUseModalPage(true);
    tbc.setInitialTab(1);
    tbc.setTopFrameURL("DrzaviView_Top.jsp?tc=tbc");
    tbc.setBottomFrameURL("ViewBottom.jsp?tc=tbc");
    tbc.initialize(pageContext);
    tbc.addTab("Tab1", "DR@AVA", "DrzaviView displayed using the Row Viewer", "", "DrzaviView_RowViewer.jsp", true, true, false, null);
    tbc.addTab("Tab2", "DR@AVI", "DrzaviView displayed using the Rowset Browser", "", "DrzaviView_Browse.jsp", true, true, false, null);
    tbc.render();
    %>
    </jsp:useBean>

  • Create login page using jsp, servlet  & Oracle

    hi,
    i need the sample application for creating login page using jsp, servlet & Oracle,can you please post one sample application.
    thanks
    sona

    See
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/adfstrutsj2eesec.pdf
    Frank

  • Is there any way to create discussion board using JSP

    Hi! i'm doing a project using jsp is there any way to create a simple discussion board like the one here? can anyone who knows pls forward some links that teaches me how to do it step by step. Thanks for your help and have a nice day :)

    From the UK! -- PC Plus, August 2000 Issue:
    How to build a JSP Message Board
    http://www.pcplus.co.uk/media/pcplus/pdf/166/pcplus.166.progworld.java.pdf
    You'll get a nice 2-page pdf file, taken directly from the magazine
    --Dave                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Got an error while creating bind variables using sql database.

    iam going to use sql database for ADF-BC .
    i created the bind variable and apply the bind position for the corresponding variable in the view object editor.when i click test it shows me "query is valid". when i tried to run that it gives me two errors.
    1) sql error during statement preparation.(ie) select empid ,empname......from the emptable where empid like :'emp' and
    2) [Microsoft][SQl server  2000 driver  for jDBC] invalid parameter bindings
    i need help to know the solution for this...(or) is there any other way to create bind variable ......

    The 3 binding styles supported by JDev:
    Oracle Named - ie. SELECT xxxx FROM xxxx WHERE emp_id = :vEmp (note colon and variable name)
    Oracle Positional - ie SELECT xxxx FROM xxxx WHERE emp_id = :1 (note colon)
    JDBC Positional - ie SELECT xxxx FROM xxxx WHERE emp_id = ?
    Literally this query is sent to the database to execute, then the bind variables values are applied as a separate database operation. If SQL Server doesn't suport any of these binding styles, it's not going to work. As Chris Noonan suggests, try the JDBC Positional style though as you're using a JDBC driver to connect to SQL Server and it should support that style (the others are Oracle styles), and make sure you've switched the binding style on the VO query page to "JDBC Positional" too.
    You must also on the VO bind variable page define your bind variables.
    Also read the 10.1.3 JDev guide on ADF Business Components and View Object bind variables.
    CM.

  • Create local variable using labview scripting

    I am trying to use labview scripting to create a control and a local variable for that control.  I want both the local variable and the control contained inside a case structure.  My problems are twofold:
    1. the local variable is left blank/unnamed
    2. the local variable is wired outside of the case structure, even though I set it's owner to be the same as the owner for the control (which is placed inside the case structure).
    The flat panel is there because I thought that my problem might be a result of the local var being created before the actual control, so this just forces the control to be created first.  The other thing I wonder about is the VI Object Class for the local variable.  I have tried 'Node' and Control->Boolean, but neither worked.
    I have attached a jpg of the code I'm talking about.  The picture on thetop is of the code in question.  The picture on the bottom is of the resulting code that's created....
    Can anyone offer any help?
    Thank you...
    Attachments:
    vi_scripting_lv.png ‏95 KB

    The reason your locals aren't tied to a control, is because you didn't make a local variable from any control.  Use the Boolean reference wire and wire it to an Invoke Node and select the Create >> Local Variable method.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Need help in creating online exam using jsp

    Want to create a small project for online exam using jsp. As of now I am unable to find, how can I
    Get random questions from mysql database
    Put the timer, so that the exam result is shown automatically after the specified time for exam is overMore queries to follow.

    I started learning java only a short time ago, so it's obvious that my knowledge is limited. Else I wouldn't have asked the question here.

  • Creating A Variable Using Variables

    I need to make a loop (which I know how to do) that needs to
    do this (which I have no clue how to do):
    Take arrayval and add the varaiable from the loop to make a
    variable name in which I can use to call them from flashvars
    i need something like

    I still am having this problem. If I set a flashvar
    arrayval=4 then they all come up as 4 instead of using:
    arrayval0=1&arrayval1=2arrayval2=5.
    Any help?

  • How to use or create time variable in my case

    I want to design a report to calculate the number of employees every month by year according to employee subgroup. When users run this report, month variable will displayed prompt, after user input year, report will calculate the number of employees and with fixed format in row of report by each month in relation to input year . Does SAP provider these kind of standard variables that I can use in my case. Should I create a variable using customer exit? If yes, how to code this variable.
    The fixed format by calendar month
    Month--The number of employees
    Jan.--The number of employees
    Feb.--The number of employees
    March.--The number of employees
    April--The number of employees
    ....--The number of employees

    Hi hi ni,
    I'm not sure if I understood you, but you can try doing this.
    Create a variable for 0calyear. The user will input the year.
    In the report you use this:
    0calmonth - NumberOfEmployeesKF
    If the user enters 2008, then it will show:
    01.2008 - nnn
    02.2008 - xxx
    03.2008 - zzz
    Hope this helps.
    Regards,
    Diego

  • How i can create tables(database) in ms-access using jsp

    i want to create tables by using jsp in ms-access .user can only enter
    table name ,how many table fields ,constraints etc

    You'll get better luck if you post this JDeveloper/ADF/JSF question to the JDeveloper forum.
    -steve-

  • Creating XML using JSP

    Hi I want to create a xml using JSP For eg I want to create a report
              and I want to take all the data required for the report from the user
              and want to put all the information in a session and whenever a user
              wants to see the html output I should be able to parse the xml file
              and show it to user.
              I know it is doable but I am confused about storing the data in
              session and concerting that data into XML file any help would be
              great.
              Thanks,
              Preeti
              

    Sounds like you might want to look at XML data binding. Something like JAXB
              or Castor can create an object that can be turned into XML by merely calling
              a single method and probably streamed to Xalan or whatever to create HTML.
              However, don't quote me on this - I am having enough troubles with trying to
              get the compiled Objects to be as I wish. Basically, they both take your
              DTD with an extra file that defines the types to be used in the classes -
              i.e. instead of string int might be used - and which tags to turn into
              classes and general information such as this about the output of your
              classes. You then simply call Unmarshal (for both castor and JAXB) and it
              loads the file from the selected input stream into the created object, you
              edit the object, what ever - store it on the server... and call Marshal to
              get back the xml... as this is all using streams it could be passed to Xalan
              for processing i think...
              Hope I've helped, and answered your question a little!
              "Preeti Sikri" <[email protected]> wrote in message
              news:[email protected]...
              > Hi I want to create a xml using JSP For eg I want to create a report
              > and I want to take all the data required for the report from the user
              > and want to put all the information in a session and whenever a user
              > wants to see the html output I should be able to parse the xml file
              > and show it to user.
              >
              > I know it is doable but I am confused about storing the data in
              > session and concerting that data into XML file any help would be
              > great.
              >
              > Thanks,
              > Preeti
              

  • Excel size becomes large while creating excel file in jsp using content typ

    Hi All,
    I created an excel using jsp by setting content type as excel, the size of the excel is coming nearly around 5MB. If copy the content of that 5MB excel content and paste it and created another excel directly. The size of the new excel is coming around 1 MB.
    It will be great if any body reply me as soon as possible.

    HBhagya wrote:
    I created an excel using jsp by setting content type as excelYou don't create an Excel file that way. You're just fooling the web browser that it is an Excel file so that it will try to use the associated application for that which on its turn is too forgiving that it accepts HTML.
    Look for a Java Excel API to create a real Excel file. Examples: Apache POI HSSF, JExcelAPI, OpenXML4J. Or just use the CSV file format, although you can write it yourself easily, there are API's out as well. Examples: CSV4J, JavaCSV, OpenCSV.

  • DYNAMIC TABLE CREATION USING JSP

    I WANT TO CREATE A DATABASE TABLE IN AN INTERACTIVE WAY ie MY QUESTION IS: HOW TO CREATE A TABLE USING JSP WITH TWO ARRAYS(FIRST ARRAY CONTAINS FIELD(COLUMN) NAMES AND THE SECOND ARRAY CONTAINS ITS CORRESPONDING DATATYPE)BOTH ARRAYS ARE OF VARYING SIZE.IF THE USER ENTERS SUPPOSE '6' AS THE INPUT TO FORM A TABLE OF 6 FIELDS SO, THE QUERY SHOULD BE DYNAMICALLY FORME USING THE ARRAY NAME FOR FIELD AND THE ARRANAME FOR ITS CORRESPONDING DATATYPE.HAVE ANY IDEA ON THIS PLEASE LET ME KNOW.
    THANKS

    u need to know quite a few java technologies to make archieve your dream.
    JDBC, dynamic array and JSP.
    after reading tutorial regarding to these 3 materials, you should be able to get your job done.

  • How to create web site using STRUTS frame work

    Hi,
    I know how to create web pages using JSP & Servlets.But now i have to create Matrimonial web site using STRUTS frame work.Plz any one guide for me...
    Thank U....

    Struts is not to be confused with JSF.
    Start at their own homepage over there at apache.org.
    Good luck.

  • Text Variable using Customer Exit .

    Hello Friends. I have a requirement to create Text Variable using Customer Exit . So I created the Text Variable as "ZVRBMS" and assigned that with YTD &ZVRBMS& in the Structure of Query Desigener . so that Out put will YTD AUTO
    OR YTD RETAIL
    Now this Auto And Retail comes from Version that user choose via variable ZFIBMSVER IN User Promt. if ZFIBMSVER = 10
    then ZVRBMS = auto . and if ZFIBMSVER = 20
    then ZVRBMS = RETAIL
    Please correct my ABAP code in customer exit and let me know to make this work
    when 'ZVRBMS'.
        if I_STEP = 2.
          clear LOC_VAR_RANGE.
          loop at I_T_VAR_RANGE into LOC_VAR_RANGE.
            if LOC_VAR_RANGE-VNAM = 'ZFIBMSVER'.
          if SY-SUBRC = 0 OR LOC_VAR_RANGE-LOW = '10'.
            L_S_RANGE-LOW = 'AUTO'.
          elseif LOC_VAR_RANGE-LOW = '20'.
            L_S_RANGE-LOW = 'RETAIL'.
          L_S_RANGE-SIGN ='I'.
          L_S_RANGE-OPT  = 'EQ'.
          append L_S_RANGE to E_T_RANGE.
      endif.
      endif.
      exit.
          endloop.
    endif.
    Thanks
    Soniya

    The code should be:
    when 'ZVRBMS'.
    if I_STEP = 2.
    clear LOC_VAR_RANGE.
    loop at I_T_VAR_RANGE into LOC_VAR_RANGE.
    if LOC_VAR_RANGE-VNAM = 'ZFIBMSVER'.
    if LOC_VAR_RANGE-LOW = '10'.
    L_S_RANGE-LOW = 'AUTO'.
    elseif LOC_VAR_RANGE-LOW = '20'.
    L_S_RANGE-LOW = 'RETAIL'.
    endif.
    L_S_RANGE-SIGN ='I'.
    L_S_RANGE-OPT = 'EQ'.
    append L_S_RANGE to E_T_RANGE.
    endif.
    exit.
    endloop.
    endif.

Maybe you are looking for