facebook

Problem with setProperty int parameter [Bug]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #202838 Reply

    Andrew Oaten
    Member

    When I use the following code:

    <jsp:setProperty name=”timesheet” property=”wed” />

    I get the error message:

    “The method setWed(int) in the type Timesheet is not applicable for the arguments (String)”

    It is correct that the method setWed expects an int parameter. However this is not an error (as far as I understand the specifications). Section JSP.2.13.2.1 of the JSP specification says that it should automatically convert from a String to an int – so it is not an error. Or have I misunderstood something?

    #202839 Reply

    support-michael
    Keymaster

    While we are researching this on our end, please post a description of your environment so that we can better diagnose the problem (click the “Insert” button above the message box and fill out the empty fields).

    #202843 Reply

    Andrew Oaten
    Member

    Sorry, here’s the info:

    – System Setup ——————————-
    Operating System and version: Windows 2000
    Eclipse version: 2.1.1
    Eclipse build id: 200306271545
    Fresh Eclipse install (y/n): Y
    If not, was it upgraded to its current version using the update manager?
    Other installed external plugins: None
    Number of plugins in the <eclipse>/plugins directory: 55
    MyEclipse version: 2.7 RC2
    Eclipse JDK version: j2sdk1.4.2_03
    Application Server JDK version: j2sdk1.4.2_03
    Are there any exceptions in the Eclipse log file?

    – Message Body ——————————-
    undefined

    #202847 Reply

    support-michael
    Keymaster

    I just spoke w/ the development team and they recently identified this problem after RC2 had been released. They commited to providing a fix in the 2.7 GA release.

    #202849 Reply

    Andrew Oaten
    Member

    Thankyou for your prompt reply. Much appreciated.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Problem with setProperty int parameter [Bug]

You must be logged in to post in the forum log in