Help Needed - JavaCompile error in JSPs

I have imported the existing WSADIE 4.x application from clearcase into my workspace in WSADIE 5.1 and tweaked with some build paths.Many errors got resolved by that,but some are remaining
I have not made any changes in code.not at all.and obviously the existing application should be proper.
This is one of the errors in the JSP. There are few more errors of the same type.
ContactUsPopUs.jsp
Code fragment in this JSP
<jsp:useBean id="userInfoBean" scope="session" class="bpp.base.data.UserInfoBean"/>
<% }
if (userInfoBean.isSegTypeValue("CONTACT_INFO","FAX")) { %>
Error
JavaCompile: The method isSegTypeValue(String, String) is undefined for the type UserInfoBean. ContactUsPopUp.jsp line 64
UserInfoBean.java
The code fragment for that particular method:
public boolean isSegTypeValue(String aType, String aValue) {
boolean isIn = false;
int index;
String aList = (String)fCustSegMap.get(aType.toUpperCase());
index = aList.indexOf(aValue.toUpperCase());
if (index >= 0)
isIn = true;
return isIn;
What can be the problem? Any solution?

1. Try do a clean project rebuild by menu option: project > clean
2. verify class UserInfoBean is compiled with no error
3. In your project's WEB-INF/classes folder, open the "UserInfoBean.class" to verify the method "public boolean isSegTypeValue(String aType, String aValue)" is show up.
4. check to see if that resolve the jsp compile error

Similar Messages

  • Help with displaying errors in jsp using html:errors/

    Here is my problem.
    In my overridden ActionForm.validate() method, i am returning ActionErrors (as required). When there are input errors in my form submission, the control goes back to the JSP page i used to read user input (so far so good). The JSP page is rendered fine for taking input for the second time but no errors are displayed although i am using the tag <html:errors/>
    I tried to find the org.apache.struts.action.ERROR in my request attributes and it is there with the size of 1 (because i am reporting one error, in my sample run). Any idea why <html:errors/> won't display the errors even though they are there??? Here is what i am doing in my ActionForm class:
    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
    ActionErrors errors = new ActionErrors();
    if (this.email == null || this.email.length() < 1) {
    errors.add("username", new ActionError
    ("error.username.required"));
    return errors;
    Any help is appreciated.

    First of all, thanks for taking time to look at my message. Here is how my message-resources tag look like in struts-config.xml file:
    <message-resources parameter="ApplicationResources"/>
    The "ApplicationResources.properties" file exist in the WEB-INF folder of my application and following are the entries in that file that i think are relevant:
    errors.header=<h3><font color="red">Validation Error</font></h3>You must correct the following error(s) before proceeding:<ul>
    errors.footer=</ul><hr>
    error.username.required=<li>Username is required</li>
    Is there anything else needed to go into resource file? Or should i put my resource file somewhere else?

  • HELP NEEDED RUNTIME ERROR

    x
    emac   Mac OS X (10.3.9)  
    im tryin to access my myspace profile. ive done it before on my mac no probs. all of a sudden when i try and get to my profile come up with runtime error message
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag sh
    ould then have its "mode" attribute set to "Off".
    i phoned the helpline absolutely no help told me i need to pay for there help... does someone know what i can do plz

    If the same problem happens in another browser, the problem is a Network issue. Have you contacted your ISP?
    Also, you may find relief via Terminal (found in your Utility folder) : Once the Terminal screen is open enter (copy/paste) lookupd -flushcache and press return. This clears out the DNS cache. Once done, quit Terminal. Restart the computer, then try Safari. Post back and let me know how you make out.
    iMac G5 Rev C 20" 2.5gb RAM 250 gb HD/iBook G4 1.33 ghz 1.5gb RAM 40 gb HD   Mac OS X (10.4.8)   LaCie 160gb d2 HD Canon i960 printer

  • Cant connect jsp with mysqlserver..help needed from person in jsp on linux

    hii,
    I have installed mysql on linux 7.x.This was installed during installation of linux.From the shell prompt i can go inside mysql and can successfully execute all query statements.
    Now have downloaded mm.mysqljdbc driver(i.2c) and installed it,set the classpath in .bash_profile,sh file
    Everything ,including Tomcat Apache server is running fine
    But i am unable to connect a jsp page to mysql database.
    A error message "server configuration denies access to datasource " is coming .
    My code is like this
    <%
    String username-"root"
    String password="sdctest"
    %>
    <% try
    class.forname("org.gjt.mm.mysql.Driver");
    java.sql.Connectioncon= java.sql.DriverManager.getConnection("jdbc:mysql://localhost/products"username,password);
    then opening recordset ....
    Error is coming in the second line while establishing connection.
    Here i would like to mention that username and password is the username and password of the root user in LInux.
    Now i mm confused what username and password will have to be used in JSP.Because i did nt have to specify any username or password while entering mysql.
    If my problem is clear,somebody please help...all jobs stuck.

    Try doing it without the username and password, otherwise create a new user in MySQL.

  • Help need to know about JSP-RMI connection

    Hi All...
    Can anyone send me any tutorial/link about JSP-RMI connection. I need to access a RMI server object from JSP page.Is it possible?
    Looking for your responds.....

    Hi ...
    I didn't get any reply from any one....
    Is it possible to make Java Server Pages and RMI work
    together -sure, jsp's can make requests to servlets which can then talk to remote objects, then a response can be sent back down to the jsp
    to invoke a method on a server object from a JSP? And
    if, does
    someone know of a good tutorial, article etc., on
    this matter?hmm, Google, JSP Tutorial, RMI Tutorial, etc.

  • HELP NEEDED ,Syntax Error.

    Whenever i try to execute the following program, i get the following syntax error.
    "ALPHA AND IT-F1 ARE TYPE-INCOMPATIBLE."
    data: begin of it occurs 12,
              f1,
              end of it,
              alpha(12) value 'ABCDEFGHIJKL'.
    do 12 times varying it-f1 from alpha0 next alpha1.
        append it.
        enddo.
    loop at it.
        write: / sy-tabix, it-f1.
        endloop.
    delete it index 5.
    skip.
    loop at it.
        write: / sy-tabix, it-f1.
        endloop.
    delete it from 6 to 8.
    skip.
    loop at it.
        write: / sy-tabix, it-f1.
        endloop.
    delete it where f1 between 'B' and 'D'.
    skip.
    loop at it.
        write: / sy-tabix, it-f1.
        endloop.
    loop at it where f1 between 'E' and 'J'.
        delete it.
        endloop.
    skip.
    loop at it.
        write: / sy-tabix, it-f1.
        endloop.
    read table it with key f1 = 'K' binary search.
    write: /, / 'sy-subrc=', sy-subrc, 'sy-tabix=', sy-tabix, / ''.
    if sy-subrc = 0.
        delete it index sy-tabix.
        endif.
    skip.
    loop at it.
        write: / sy-tabix, it-f1.
        endloop.
    free it.

    data: begin of it occurs 12,
    f1,
    alpha(12) value 'ABCDEFGHIJKL',
    end of it.
    do 12 times varying it-f1 from it-alpha0(1) next it-alpha1(1).
    append it.
    enddo.
    loop at it.
    write: / sy-tabix, it-f1.
    endloop.
    delete it where f1 = 'E'.
    skip.
    loop at it.
    write: / sy-tabix, it-f1.
    endloop.
    delete it where f1 = 'F'
              and    f1 = 'H'.
    skip.
    loop at it.
    write: / sy-tabix, it-f1.
    endloop.
    delete it where f1 between 'B' and 'D'.
    skip.
    loop at it.
    write: / sy-tabix, it-f1.
    endloop.
    loop at it where f1 between 'E' and 'J'.
    delete it.
    endloop.
    skip.
    loop at it.
    write: / sy-tabix, it-f1.
    endloop.
    read table it with key f1 = 'K' binary search.
    write: /, / 'sy-subrc=', sy-subrc, 'sy-tabix=', sy-tabix, / ''.
    if sy-subrc = 0.
    delete it index sy-tabix.
    endif.
    Edited by: pandu app on Feb 16, 2008 7:12 PM

  • Urgent help needed in redirecting to ErrorPage in case of jsp runtime error

    Hi,
    I have two problems in Portal. I am working with sturts portlets.
    1) Some times I am getting No Provider session Error . I know that struts renderer always needs session. In my provider.xml file I changed the session attribute to true.
    <session>true</session>
    and In my provider Login Frequency is also set to "Once Per User Session" I want to get rid of this error permanently.
    2) Another problem i am facing is handling errors in Jsps (Like some compilation errors in that jsp or runtime jsp exception) I would like to forward to the errorpage. Can I do with
    <%@page errorPage="myErrorPage.jsp" %> in every jsp?
    Currently I am getting the following error if anything goes wrong in the jsp.
    ???: ??????????????????: 500 Internal Server Error
    In that case I would like to forward to an error page. It is not happening now.
    How will get the path to that jsp? Is PortletRenderRequest can be used?
    Any suggestions?
    Thanks,
    Reddi

    Could you post more details perhaps? Eg. the complete files.
    Also, I would recommend that you consider using the runtime include, <jsp:include ...>, and put your variables in the request scope.

  • Help needed! I cannot restore my iPhone 5, An unknown error occupied (1)

    Help needed! I cannot restore my iPhone 5, An unknown error occupied (1)..

    That is either going to be a hardware failure or your phone is jailbroken and something has gone awry with the baseband.

  • Help needed on restoring Iphone..post IOS update..getting an error -1

    Help needed on restoring Iphone..post IOS update..getting an error -1

    try restarting your computer i had that problem i unplugged my phone from itunes restarted my computer and then it worked

  • Help needed, M getting this message sandbox environment error no test user account, when downloading any application from iTunes, friend told me to sign out and sign in iTunes it might solve the problem but instead I cannot login I to my itune account.

    Help needed,
    I am getting this message sandbox environment error no test user account, when downloading any application from iTunes, friend told me to sign out and sign in iTunes it might solve the problem , and i triyed it but still  I cannot login I to my itune account. Same message keeping. Popping up,  this problem started supricly today.

    Take a look at the instructions here.
    http://www.technogal.net/2012/03/this-is-not-test-user-account-please.html

  • Help Needed REP-1800 Formatter error VGS-1701 Not enough memory

    Hi. Gents
    Help needed
    I’m working on a Report, it gets some 2 million records and the report pages are approximately 52,000
    It works fine if the pages are lesser then 48,000 or the data is less let say one and half a million, the problem occurs only after 48000 + pages formatted.
    Report is generated successfully when trying to go to the last page it throw an error.
    REP-1800 Formatter error
    VGS-1701 Not enough memory
    I have already gone through the metalink DOC Id 95505.1 as well as OTN
    But all in vain,
    Any comments or help much appreciated.
    Details are:
    Reports 6i (Clients/Server) on Windows platform
    (Windows XP Professional with SP 2)
    Database: Oracle9i Enterprise Edition Release 9.2.0.5.0
    Computer:
    Pentium(R) 4, CPU 3.00GHz, 1 GB of RAM
    Still 20 GB free space
    Thanks & Regards

    I don't see the point in making a report with more than 48,000 pages, I think Al Gore will not be happy when you start printing it...
    The problem might be caused by the fact that Reports needs to format all output at once, and then even 1GB of memory will probably be not enough. Formatting all pages at once is needed if you use pagination with displaying total number of pages. If you have this, try to get that out of the report definition and try again.

  • File missing (file\BCD error code 0Xc0000034 help need for work!

    file missing (file\BCD  error code 0Xc0000034 help need for work!    what can i do?
    have an p 2000 notebook pc

     Hi bobkunkle, welcome to the HP Forums. I understand you cannot boot passed the error you are receiving.
    What is the model or product number of your notebook? What version of Windows is installed?
    Guide to finding your product number
    Which Windows operating system am I running?
    TwoPointOh
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Help needed to resolve there is no attribute X errors..

    On my website http://www.dorffdesign.nl/ there is a problem. Ive put the FB Like button there and it worked fine for a while. But now its gone. So ive run
    http://validator.w3.org/ on it and came up with the next errors:
    ========================================================================================== ==============================================
      Line 232, Column 32: there is no attribute "data-href" <div class="fb-like" data-href="http://www.dorffdesign.nl/" data-send="true" da… ✉  
      Line 232, Column 71: there is no attribute "data-send" …http://www.dorffdesign.nl/" data-send="true" data-width="450" data-show-faces=… ✉  
      Line 232, Column 89: there is no attribute "data-width" …orffdesign.nl/" data-send="true" data-width="450" data-show-faces="true"></div> ✉  
      Line 232, Column 111: there is no attribute "data-show-faces" …orffdesign.nl/" data-send="true" data-width="450" data-show-faces="true"></div>
    ========================================================================================== ===============================================
    In dreamweaver ive use this code for the FB likke button:
    <div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/nl_NL/all.js#xfbml=1";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    ========================================================================================== ===========
    <div class="fb-like" data-href="http://www.dorffdesign.nl/" data-send="true" data-width="450" data-show-faces="true"></div>
    I really want to solve this so im hoping if you can point me into the right direction.
    Regards

    Hi ive bin able to put the fb like button on my page. But i totally forgot how i have to place the fb like button under the black box named portfolio.
    I hope you can tell me.
    Regards
    Date: Wed, 7 Nov 2012 07:41:54 -0700
    From: [email protected]
    To: [email protected]
    Subject: Help needed to resolve there is no attribute X errors..
        Re: Help needed to resolve there is no attribute X errors..
        created by MurraySummers in Dreamweaver General - View the full discussion
    You can either ignore those errors (since they have no impact on your page's functionality) or you can use DW to convert your page to an HTML5 doctype (File > Convert > HTML 5, and then the errors will go away.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4829606#4829606
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4829606#4829606
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4829606#4829606. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver General by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Installing Elements 11 on Mac. Need help with install error "Setup wants to make changes."

    Installing Elements 11 on Mac 10.8.2. Need help with install error:  Setup wants to make changes. Type your password to allow this."  After entering Adobe password, nothing happens.  Locked from further installation.  Any ideas?  Adobe phone support could not help.

    Just before letting changes (installation in this case) be made on the system, Mac OS prompts for password & this has to be the Mac system password. This password prompt is the system's own native prompt & would accept the system password only. Please make sure it is the right system password (all/admin rights) and the installaion should run.

  • Data uload to ODS ending up with an error. URGENT HELP NEEDED!!!!!!

    Hi
    My Sceniro is Full load from ODS1 to 5 other ODS. Iam uploading the data to other 5 ODS by selecting 1 ODS at a time.
    Problem i am facing is upload is ending up with error mesg. Error Mesg are
    <b>Error 8 when starting the extraction program - R3019
    Error in Source System - RSM340
    Req xxx in ODS2 must have QM ststus green before it is activated - RSM1110</b>
    I have seen the the OSS notes for given error no, but they are not applicable to me. what could be the other possible solution.
    In detail tab of the monitor i see red light at Extraction step and Subseq. processing.
    Its quite urgent bcoz this error is occuring in Production system.
    Plzzzz urgent help needed.
    Thanks
    Rohini
    Message was edited by: Rohini Garg

    rohini,
    go to RSA1->Modeling->Source Systems and right-click on your BW system, and click on 'Replicate Datasources'.
    also, go to the ODS that's causing the problem (via RSA1->InfoProvider and go to your ODS), right click and click on 'Generate Export Datasource'.
    one more thing, make sure that all your record/s in the source ODS is active. if you're not sure manage its contents and click on 'Activate'. if there are any entries in the the next screen that comes up, you need to activate it first, then try everything again.
    let me know what happens. also try to look for error messages in ST22 and SM21 that may be related to this and post whatever possible error you see there here.
    ryan.

Maybe you are looking for

  • Can't figure out how to sum only certain dates

    Hi all, Here is my issue: we use numbers to keep a running inventory of pieces in stock, and when a piece sells we mark it with the date sold. I'd love to be able to get a sum of monthly sales, but I can't figure it out. Would someone be kind enough

  • How do i know what version of os my mac is running

    How do I find out what version of OS my mac is running on, new to apple, don't judge me....

  • Exporting Snapz clips from Quicktime Pro

    Hey all, I'm editing some clips I captured through Snapz, and I exported them using the info I found here: http://discussions.apple.com/thread.jspa?messageID=6199057&#6199057 It works well, but the clips come out almost slow-motion, and it's not expo

  • MBAM 2.5 Recovery key for second HDD

    I have added an MBAM client and when I looked in the SQL table for its keys I only see one key. Though there are two HDD's on the system that are bitlocked. Does MBAM provide a single key for both drives now? tconners

  • VPRS is not getting copied sometime to the target document.

    Hi, While creating Credit Memo Request with reference to Invoice, sometimes VPRS Condition Type is not copied from Invoice to Credit Memo Request. But, when Debit memo Request is created , VPRS is getting copied always from Invoice to Debit Memo Requ