How to setup the perfect develop envorinment with Corda Builder

All,
It has been a while since I programmed with JSP/Java. Three years ago I developted some custom web pages within JSP and Eclipse. The webpages queried on a SQL DB. The results were populated via a Corda Builder Chart(PCXML script) in a JSP webpage.
Now, I have to develop a kind of the same page but the JSP variables (date) do not show up in the porlet.
<%@ page contentType="text/html; charset=UTF-8" %>
<%@page contentType="text/html" *import="java.util.*" %>*
<?xml version='1.0' encoding='ISO-8859-1' ?>
*<%java.util.Date d = new java.util.Date();%>*
<Chart Version='4.40.00' BorderType='None' BorderColor='#99ccff' FitInBounds='False' CollisionProtection='False' BGGradientColor='#4d718e'>
     <Textbox Name='Title' Top='6' Left='4' Width='114' Height='23' CVersion='7'>
          <Properties ShadowStyle='Fade' HJustification='Left' Font='Name:Lucida Sans; Size:14.0; Style:Bold; Color:#003333;'/>
          <Text><% d.getDate() %></Text>
     </Textbox>
     <Graph Name='graph' Top='49' Left='20' Width='427' Height='263' CVersion='7' Type='Line Bar' SubType='Basic'>
          <Legend Name='legend' Top='50' Left='451' Width='80' Height='110' ZIndex='2'>
          </Legend>
     </Graph>
     <GraphData Name='graph' Method='Replace'>
          <Categories>
               <Category Name='Week1'/>
               <Category Name='Week2'/>
          </Categories>
          <Series Name='Balans'>
               <Data Value='54'/>
               <Data Value='75'/>
          </Series>
          <Series Name='Inkomsten'>
               <Data Value='92'/>
               <Data Value='60'/>
          </Series>
          <Series Name='Uitgaven'>
               <Data Value='68'/>
               <Data Value='87'/>
          </Series>
     </GraphData>
     <Project HTMLHeight='330' HTMLWidth='540'>
     </Project>
</Chart>Problem:
The comes up perfectly but the date and database connection(didn't add that to this script because does not make sense). Does anyone have an idea based on this code what i do wrong? I use TomCat, developed the code in Eclipse. Additionally, what would be the best configuration (headlines) of developing the JSP pages?.
It's for you guys an easy case but it would really help me.
Jeroen

Well your main problem is that you are using scriptlets, those have been out of date for at least 10 years now. Anyway:
<% d.getDate() %>should be
<%= d.getDate() %>The next time you don't know why something isn't happening, you are best of looking up the servlet java code that is generated for the JSP page. Where this file is put depends on the server, Tomcat and JBoss for example put it inside a 'work' subdirectory. The reason why I advise this is because the servlet source file is what is executed by the server, and is thus a better source for problem finding than the JSP source.

Similar Messages

  • How to setup the portal with the uniform style for SRM + Esourcing?

    how to setup the portal with the uniform style for SRM + Esourcing? We will setup SRM 7 + esoourcing + portal, but as we know esourcing screen style is not same with SRM, so how to uniform the style between this 2 diffirent software?  any body have idea?

    Hi,
    SAP E-Sourcing 6.0 is the solution. It is same look&feel.
    Regards,
    Masa

  • How to install the widget development plug-in Tool -URGENT

    Hi I am new to the widget development.
    I have already installed the NWDS7.0 SP9 , doing the development for the webdynpro and protal .
    To work on widgets i have found the pulgins in the following url in the zip format.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/100ad59a-7b6b-2a10-8ab5-e6078fa8e5b8
    SAP Widget Development Tools - zip file.zip file when i unzipp this file i have got the following dirctory structure.
    SAP Widget Development Tools - zip file (dir)
    |---- features (dir)
    |---- plugin (dir)
    |---- site.xml
    When i copied these whole directory in my IDE installed plugin directory
    C:Program FilesSAPIDEIDE70eclipseplugins
    then i restarted the  my IDE . But i have nt find any prospective or plugin enable with respect to widget.
    I have went through the widget development guide (SAP Enterprise widget development guide.pdf). There it is explained that download the eclipse3.3.1 and then extract the eclipse.
    so it is really confusing how to proceed.
    My question is , will it be possible to installed the plugins with the installed NWDS by copy the plug-in tool (when i doo that it is not working, because when we extract it is giving 3 directory's seperatly "features, plugin, site.xml". do we need to copy this way to IDE plugin directory.) If i done this it is not workng?
    or
    Do i need to install the Eclipse seperately to install this widget development plugin.
    Please help me to setup the eclipse development setup.
    Regards
    Vijay

    Hi JaiDeep
    Thanks for the valid reply
    Finally i have decided to install the CE7.1 SP 3 version.
    But which version of jdk is supported by SP3 is not given at the site.
    Do u have any idea, if i install the CE7.1 SP3. and then can i install the SAP widget Foundation  also along with that.
    This tool requireds
    JAVA 1.6
    SUCUDE  PSE management install
    In the SAP Widget foundation guide has given the steps for the installation.
    But the url it has given will be going open in the SAP networkonly.
    http://nvpal168.pal.sap.corp:1080/wfws/foundationWS.jnlp
    What is difference in  SAP Widget Foundation Installation and SAP Widget Foundation as a Standalone Application ?
    How i need to proceed for the SAP Widget Foundation installation?
    where do we get the SUCUDE PSE management install?
    whether  the CE7.1 sp3 supports the java1.6 version?
    Regards
    Vijay
    Edited by: Vijay Krishna Meda on Jan 23, 2008 6:55 PM

  • How to setup the security based on roles in Organization.

    Hi,
    How to setup the security based on roles in Organization.
    For example:Few users are Manager and a few user are Non Manager .Manager should have access to all work data including Non Manager and Non Manager should access based role.How to setup this? How OBI server identify the user role?
    kindly let me know.
    Regards.,
    CHR

    Hi,
    You need to have Back End support to achieve this. In Back End you need to create two groups . You need to know what joins has to be made for which group (which is more important) and also make session variable for the userrole (with SQL supporting it). In the BMM layer, we need to put the security join conditions in the 'where clause'.
    And make a common report. User loggin in with the respective userid will have userrole and joins assigned in the Back end. And they will be viewing the report according to their access.
    Hope this will solve your problem.
    Regards
    MuRam

  • How to setup a Class B network with WRT54GX ver. 2

    Hi all,
    I bought a WRT54GX ver. 2 router. I wanna know how to setup the IP address say 128.1.50.136 with subnet mask 255.255.0.0 (Class B network)? By the way, 128.1.0.0 is my network zone.
    If the router can't change, what should I do? Any other router support Class B network?
    Thanks!

    bcow wrote:
    I did but it doesn't work. It seems don't have 255.255.0.0 to select.
    would you state more clear of how to do it? Thanks!
    It does not have that because it does not support it... the router runs on CLASS C only because it was designed and made for SOHO only... bussiness lines of Linksys or Cisco can do that....but not this router...
    "Sometimes your knight in shining armor is just a retard in tin foil.."-ARCHANGEL_06

  • How to setup the RV120W for quickvpn

    Hello,
    The PPTP client from Windows 7 is not working with this router; therefore I would like to try the quickvpn.
    Is there any paper from Cisco explaining how to setup the RV120W for quickvpn ?
    Thanks for any help

    User Guides for thee rv120W are here:
    http://www.cisco.com/en/US/docs/routers/csbr/rv220w/quick_start/guide/rv220w_qsg.pdf
    http://www.cisco.com/en/US/docs/routers/csbr/rv120w/administration/guide/rv120w_admin.pdf
    and theres some more stuff over on my site:
    http://www.linksysinfo.org/index.php?forums/cisco-small-business-routers-and-vpn-solutions.49/

  • How to setup the Microsoft communicator

    Hi
    What is Microsoft communicator? Is it a messenger client?
    Guys could you please tell me how to setup the Microsoft communicator (in details)
    what to write in the URL field , etc  
    Nokia E72-1 Black
    firmware : 053.001
    of 26 of nov 2010

    guys please tell me at least tell me what is the right server url of hotmail
     at first i did it with my ovi account but every time it tells me invalid url
    but when i wrote in the url bar
    ovi.com it asks me about a certificate at first i accepted once but did'nt work on the second time i accepted the cirtificate permentally and confirmed when asked it will always confirm
    and i pressed yes and also nothing happened
    then i tried to do this with hotmail but every time  i write www.hotmail.com in the server url it says invalid url
    please help me
    please
    Nokia E72-1 Black
    firmware : 053.001
    of 26 of nov 2010

  • How to setup the Advance payment in Oracle Payroll

    Dear Friends,
    Can any one pls let me Know,How to setup the Advance payment in Oracle Payroll.. Pls ..
    with regards
    Veeru

    GLOBAL HRMS , XX_legislation
    Plz help

  • How to setup the system monitoring using sol man ?

    Experts
    can any one advise me how to setup the below monitoing.
    Background jobs (SM50)         -  Long running jobs >24hrs
    Email/Fax  transmission(SCOT)  -  alert if there is any failire/errors in the email transmission
    iDocs Processing(WE05)          -  Data Transfer failure
    Enque locks (SM12)         -  alert if there are any Lock entries which are older than 2 days
    Update Records(SM13)         -  alert if there are any update request  older than 90 days
    Regards
    Karthi

    Hello Prasad
    Thanks a lot your information. I wil go thorugh the documents which you have mentioned.
    I have configured few alerts  and  unfortunately I am still struggling to configure these alerts. I am also not able find whether I will be able to configure these alerts are not. Any advice/tip  would be a great help.
    if I get some solution, definately I will share with all.
    Regards
    Karthi

  • How to setup the Airport Extreme for PSP?

    Can anyone tell me how to setup the Airport Extreme for PSP? I have been searching the Discussions but none of the posting seems to explain detail enough. A step by step guide would be very appreciated. Thanks.
    PowerBook G4   Mac OS X (10.4.3)  

    Sorry, I forgot to mention a few points:
    1) I don't have the Airport Extreme base station;
    2) My PowerBook is connect to the internet thru wired connection with the Built-in Ethernet;
    3) The Airport is turned on, but my PSP's scan cannot locate the PowerBook at all (while it find someone else's network)
    So, I wonder if I can just connect my PSP to the built-in Airport in the PowerBook directly. So that I can have internet access on my PSP.

  • How to setup the Linksys router E4200 DD-WRT for WVC54GCA

    I don't know how to setup the Linksys router E4200 DD-WRT for WVC54GCA. The DD-WRT is very complcated. Please help!!!!! Also, I have used the TZO.com for the DDNS. Should I setup the DDNS for DD-WRT router??? I used the DDNS for my old model router before. Thanks.
    Solved!
    Go to Solution.

    Hi majekho, that is best be answered by support from the developers at the DD-WRT forums.
    The Search Function is your friend.... and Google too.
    How to Secure your Network
    How to Upgrade Routers Firmware
    Setting-Up a Router with DSL Internet Service
    Setting-Up a Router with Cable Internet Service
    How to Hard Reset or 30/30/30 your Router

  • How to setup the windows installed pxi to RT target

    how to setup the windows installed pxi to RT target?

    Ranjith,
    I think the answer for your 1st que is NO. In the sense, you can run the code, but it may not work precisely as it is supposed to...
    A target can be said to be an RT, if & only if it has an RTOS installed in it, not just Windows, which is not a real-time OS.
    Youcan run the existing code in Windows, but as I said earlier, it may not give you the actual results.
    Finally, hereafter, pl dont use the term 'box' for a PXI. It is a chassis with a main module that runs on Windows or an embedded RT processor/conrtoller that runs on an RTOS like VxWorks or Phsr Lap.
    Hope this helps you to some extent...
    - Partha
    LabVIEW - Wires that catch bugs!

  • How to setup the airport extreme for window xp

    How to setup the airport extreme for window xp

    Sorry, I forgot to mention a few points:
    1) I don't have the Airport Extreme base station;
    2) My PowerBook is connect to the internet thru wired connection with the Built-in Ethernet;
    3) The Airport is turned on, but my PSP's scan cannot locate the PowerBook at all (while it find someone else's network)
    So, I wonder if I can just connect my PSP to the built-in Airport in the PowerBook directly. So that I can have internet access on my PSP.

  • How to setup the clock to the second.

    How to setup the clock to the second. I'm able to setup hours and minutes correctly but not the seconds precisely. Can I synchronize with an atomic clock?

    Set whether iPhone sets the date and time automatically
    Choose General > Date & Time and turn Set Automatically on or off.
    If iPhone is set to update the time automatically, it gets the correct time over the cell network, and updates it for the time zone you're in.
    from: http://support.apple.com/kb/TA38641

  • How to setup the IM app for google talk 5800

    How to setup the builb-in IM app for gtalk?

    The Build-In IM can be used only with your Mobile Operator's IM service. You can use Fring (www.fring.com) or Slick (http://www.lonelycatgames.com/?app=slick) for Google Talk.
    Nokia 5800 Xpress Music + 8 Gb Nokia microSD class 6

Maybe you are looking for

  • Update R/3 from BW data

    Hello, We are running productivity reports on BW. Productivity reports mean productivity of the workers in the warehouse(WM module) based from picking, TO confirmations..... Based on these reports, we calculate bonus for each workers. My question is:

  • Positive and negative qty in copy control

    Hi, In my copy controls i'm not able to make any change for the positive/negative qty field at the item caegory level as it is gradeout(display mode). my scenario is i'm trying to create a Intra company proforma invoice with item category as NLC and

  • Tax Calculation in TAXINN procedure

    Hi Seniors,   I know TAXINN procedure is condition based. But in FTXP while defining new tax codes, should i give value for the condition types there or need to create condition record in FV11 for all condition types ?? what are the condition types n

  • Cold backup using script

    Dear all, I need a script to take cold backup of oracle database 10.2.0.3.0 .. such that if todays date is 28-oct-08.. then a folder with the name 28oct08 to be created in the backup location.then using the script user should login to the database sh

  • Is iphone 5 defect with taking picture that has purple color?

    hi guys i would like to know is it a defect for a picture with purple flare??