Looking in the wrong directory for class file

My javabean looks like this:
<jsp:useBean id="mailer" class="MailerBean">
<jsp:setProperty name="mailer" property="*"/>
<% mailer.sendMail(); %>
</jsp:useBean>
The actual MailerBean.class file is in ROOT/public_html/servlets directory. The file that uses the above javabean is in ROOT/public_html/clearresults directory. I have tried a bunch of different lines of code to point to the servlets directory with no success. The javabean continues to point to the ROOT/public_html/clearresults/MailerBean.class file when it should point to ROOT/public_html/servelts/MailerBean.class. How can I point the MailerBean class to the servlets directory without moving the file that uses the javabean?

Generally you don't have to write code to say where a class is, and I don't know what "pointing" a class is. Things that run servlets and JSPs have rules about where they will look for classes. All you have to do is put your MailerBean class where the rules say to put it. Often that's a directory called something like .../WEB-INF/classes, but check out the rules for your product.

Similar Messages

  • IPhoto - My iPhoto is not responding. When I click on iPhoto I get a never ending spinning beachball.  I almost think it is looking in the wrong place for the pictures.  How do I redirect it back to the Mac hard drive?

    My iPhoto is not responding.  Whenever I click on the iPhoto icon I get a twirling beachball.  It is as if the machine is looking in the wrong place for the photos.  How can I see where the machine is looking to find out if this is really the problem.  How can I see the path?

    Try this:  launch iPhoto with the Option key held down and create a new, test library.  Import some photos and check to see if the same problem persists. If it doesn't then the problem lies with your current library.
    If that's the case  Apply the two fixes below in order as needed: 
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Since only one option can be run at a time start with Option #3, followed by #4 and then #1 as needed.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments.  However, books, calendars, cards and slideshows will be lost. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • Menus looking in the wrong pace for files

    Several of the pages that are getting called (clicked
    on/moused over) have had the subsection name replaced by the word
    "templates".
    This is happening to all pages which get copy corrections.
    I make my modifications to the files sitting on my local
    machine.
    I save them with "Ctrl S"
    I highlight the file in the file list that was still showing
    "local view" and then clicked the and small plug icon that makes
    the computer "connected to the remote host" I click on the blue up
    arrow.
    IT WORKS FINE WHEN:
    We start at the home page. (www.SDFTI.com.)
    Then clicked "About Us" in the menu bar. (This initial
    section's index.html page was NOT modified)
    Then put the mouse over "Who we are" to activate the drop
    down menu, and then clicked "About San Diego."
    The "About San Diego" (sandiego.html) page displays and seems
    fine. The target being called when it works like this is correctly
    shown as www.sdfti.com/about/sandiego.html.
    "About San Diego" was modified this morning.
    I was careful to only change copy and text alignment.
    HOWEVER, THE WEBSITE FAILS AFTER VISITING A MODIFIED PAGE IN
    A SECTION:
    Trying to connect to ANY of the other pages available from
    ANY of the dropdown menus in the "About SDFTI" section fails after
    visiting a modified page in that section.
    Running the mouse over these other dropdowns selections, in
    this condition, shows the target calling for an html page preceded
    by www.sdfti.com/template/*.html.
    There is a bigger problem with the Student Services section.
    I modified the copy to the index.html.
    The only links that work are those on the menu bar going to
    one defined page and the schedule point link in the left-hand image
    links.
    The links that fail are those from the dropdown menu labeled
    "links" and those from the left-hand image labled "Enjoy San Diego"
    and "Weather Links."
    What did I do wrong? How do I correct it? How do I prevent
    it?

    > the subsection name replaced by the word "templates".
    This means that you have improperly made the links in your
    template file.
    Can you upload it and post a link to it?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "SD Dazed n Confused" <[email protected]>
    wrote in message
    news:[email protected]...
    > Several of the pages that are getting called (clicked
    on/moused over) have
    > had
    > the subsection name replaced by the word "templates".
    > This is happening to all pages which get copy
    corrections.
    > I make my modifications to the files sitting on my local
    machine.
    > I save them with "Ctrl S"
    > I highlight the file in the file list that was still
    showing "local view"
    > and
    > then clicked the and small plug icon that makes the
    computer "connected to
    > the
    > remote host" I click on the blue up arrow.
    >
    > IT WORKS FINE WHEN:
    > We start at the home page. (www.SDFTI.com.)
    > Then clicked "About Us" in the menu bar. (This initial
    section's
    > index.html
    > page was NOT modified)
    > Then put the mouse over "Who we are" to activate the
    drop down menu, and
    > then
    > clicked "About San Diego."
    > The "About San Diego" (sandiego.html) page displays and
    seems fine. The
    > target being called when it works like this is correctly
    shown as
    > www.sdfti.com/about/sandiego.html.
    > "About San Diego" was modified this morning.
    > I was careful to only change copy and text alignment.
    >
    > HOWEVER, THE WEBSITE FAILS AFTER VISITING A MODIFIED
    PAGE IN A SECTION:
    > Trying to connect to ANY of the other pages available
    from ANY of the
    > dropdown
    > menus in the "About SDFTI" section fails after visiting
    a modified page in
    > that
    > section.
    > Running the mouse over these other dropdowns selections,
    in this
    > condition,
    > shows the target calling for an html page preceded by
    > www.sdfti.com/template/*.html.
    >
    > There is a bigger problem with the Student Services
    section.
    > I modified the copy to the index.html.
    >
    > The only links that work are those on the menu bar going
    to one defined
    > page
    > and the schedule point link in the left-hand image
    links.
    > The links that fail are those from the dropdown menu
    labeled "links" and
    > those
    > from the left-hand image labled "Enjoy San Diego" and
    "Weather Links."
    >
    >
    > What did I do wrong? How do I correct it? How do I
    prevent it?
    >
    >
    >

  • System is looking in the wrong place for modules.[SOLVED]

    I did a pretty big system update last night that ended up breaking a pretty big portion of everything. No usb, network interfaces, trackpad, etc. Checking logs the biggest issue is clearly this:
    modprobe: FATAL: Could not load /lib/modules/2.6.26-ARCH/modules.dep: No such file or directory
    And yeah, that directory doesn't exist, there is a 2.6.27-ARCH in there though, but the system is using the 2.6.26 kernel, and 2.6.27 is not in /boot
    Ideas?
    Last edited by nxn (2008-11-11 06:25:40)

    Code:
    modprobe: FATAL: Could not load /lib/modules/2.6.26-ARCH/modules.dep: No such file or directory
    And yeah, that directory doesn't exist, there is a 2.6.27-ARCH in there though, but the system is using the 2.6.26 kernel, and 2.6.27 is not in /boot
    Hmm... modprobe manpage says that you can override the kernel version found by uname. You have to use
    modprobe --set-version 2.6.27-ARCH yourmodule
    for modprobe to look up the file in the right directory. HTH
    joe

  • Glossary tab is looking in the wrong place for the Glossary file

    Running 11.0.3.268.
    I am testing the Responsive layout. In my test project, the TOC, Index, and Search tabs are all functional, but when I click the Glossary tab, I get the IE "This page can't be displayed" message. The path listed on this page is:
    C:\My_Stuff\Docs\Help Output\ResponsiveHTML5\ProfitX\template\PROFITX_2\glossary1.htm
    I can see, however, that the glossary file is actually located at:
    C:\My_Stuff\Docs\Help Output\ResponsiveHTML5\ProfitX\glossary.htm
    Can anyone tell me where can I adjust my settings so that the generated project will be able to find the glossary file?
    Thanks!

    Thank you for clarifying where I needed to look. After modifying the Glossary.slp references in the Index, Table of Contents, and Topic .slp files, I was able to get the Glossary content to show up in the generated responsive layout, at all resolutions. Getting this fixed is great. Thanks!
    Curiously though, when I now click the Search tab/button, I get this:
    Since this used to work, all I can think is that I've unintentionally broken something in an .slp file. I didn't touch any reference to Search in those files, but something isn't right. I'd appreciate it if you could glance through the recently modified sections of the .slp files (below) and let me know if anything looks amiss. Thank you.

  • Dreamweaver CS6 displaying the wrong icon for certain file types

    I recently upgraded to the Maverick and I noticed that my Dreamweaver changed some of my files' icon to Acrobat Reader symbol. This does not represent the actual file type. My most important files, such as mp3 and m4v, are not displaying correctly. My concern is that it is affecting my website. How do I change the icons back to the original file type icons? Much needed help! Thanks!

    What do local file associations have to do with your website? You have a severely wrong understanding of this stuff. Anyway, file associations on Mac can be changed using a right-click and Get Info and then choosing a new default program for the file type.
    Mylenium

  • Change default directory for Creative files (such as Media Databa

    I'm using a Zen xtra with WinXP Pro on my company laptop. The Creative software puts a lot of files (7 MB!) in my user profile under Document and Settings. Unfortunately, this is making my profile larger than my company allows, since they back up the profile over the network.
    How can I change the default directory for these file? I can't find any .ini files that might declare the path, and I can't find anything in the Windows Registry that points to my profile.
    Help please?
    Thanks,
    Luke

    Thanks for the suggestion of deleting the JetFileBackup folder, Micromouse. I'll try it.
    Any other files look deletable? Without any way to move them, I may have to try deleting some and see what happens.
    I'm not even sure which Creative programs can be uninstalled (other than Nomad Explorer) and still be able to use MediaSource to play songs from my Zen Xtra (through a USB connection). Windows Add/Remove Programs says that I've used all of these programs today:
    Creative Jukebox Driver
    Creative MediaSource
    Creative MediaSource AudioSync Plugin
    Creative MediaSource NOMAD Jukebox 2/3/Zen Plugin
    Creative NOMAD Jukebox Zen Xtra
    But all I've done is open MediaSource and start a playlist from my Zen Xtra. Anybody know which of those can be uninstalled without affecting my use? (Maybe this deserves a separate topic.)
    Thanks,
    Luke

  • I am trying to configure my SCXI-1540 card for excitation voltage and frequency using MAX - but it is not giving me that option when I click on the card and then properties​, am I looking in the wrong place?

    I am trying to configure my SCXI-1540 w/1315 card for excitation voltage and frequency using MAX - but it is not giving me that option when I click on the card and then properties, am I looking in the wrong place?
    I have LabVIEW Express 7.0 Professional - SCXI-1000 Chassiss - along with SCXI-1112, and SCXI 1520/1314 - cable to the PCI-6052E is attached to the 1520 card.
    MAX says it recognizes all the cards in the chassiss.

    Jeremy, Thanks for the reply.
    I tried to set up the system as DAQmx.
    I had MAX auto-detect the set-up - and it recognized all the cards - but did not select the 1315 accessory on the 1540 card - I had to do that manually - but in the configuration section I would select the accessory and it would deselect itself. I had to get out of the set-up and then right click on the 1540 card and click on the "Accessories" tab and select the 1315 terminal block that way.
    It didn't seem right that the system should behave that way, but I pressed onward.
    I then tried to create a new DAQmx Task
    When I create new DAQmx task and then click on Analog Input no "Position" Tab appears for me to select, all I get are:
    Analog>>Voltage
    Analog>>Temperature
    Ana
    log>>Strain
    Analog>>Current
    Analog>>Resistance
    Analog>>Frequency
    Analog>>Custom Voltage with Excitation
    Do you think there might be something wrong with either my hardware or perhaps my configuration that is not allowing it to recognize the 1540/1315 in DAQmx?
    I had included the system report of what programs I am using, etc. as attached file nireport.txt
    After the DAQmx did not work I tried installing everything as Traditional DAQ and it did let me set-up the 1540 Card with Excitation Voltage and Frequency and gain - I then went in to the VI that I had built and tried to use the Express DAQ Assisant to read the channel that I am connected to on the 1315/1540 - when I try to use DAQ Assistant it gives me an error saying that "Device not available in NI-DAQmx. It is possible that the device is being use by traditional NI-DAQ"
    Which I guess it is since both configurations are now set-up in MAX.
    I would PREFER to use the DAQmx set-up, but I am confused as to WHY it won
    't come up with
    Analog input>>POSITION>>LVDT
    When I try to create a new DAQmx task.
    Thanks for the help so far! As you can probably tell I am new at this.
    Ryan
    Attachments:
    nireport.txt ‏2 KB

  • Browser looks for class files even tho everything in jars

    hi, in my webserver logs I get a lot of 404's for class files. The applet loads fine was just hoping to get the browser not to look for stuff besides the jars I give it. any ideas?
    <applet codebase="/" archive="myarchive.jar" code="com.MyClassName">
    Thanks

    any ideas?Not without a better explanation, example, code etc.

  • Location for class files for the custom application

    Hello everyone.
    I want to create new custom application with the short name as "myapp". According to convention what should be the namespace? Should it be mycompany.app.myapp or should it have oracle somewhere in the namespace?
    - Yora

    Hi Yora,
    Package Structure for Standard Application like below
    oracle.apps.myapp.webui  //Structure for Page and Region.xml(PG.xml,RN.xml,CO.class)
    oracle.apps.myapp.server  //Structure for .class files(VO,AM)
    Package Structure for custom Application like  below
    mycompany.oracle.apps.myapp.webui  //Structure for Page and Region.xml
    mycompany.oracle.apps.myapp.server  //Structure for .class files
    Thanks,
    Dilip

  • I'm a Mac user. I wanna know what is the base directory for the "chrome://" url. I wanna also know where i can find the file "chrome://browser/content/browser.xul" in my computer. Thank you

    I'm a Mac user. I wanna know what is the base directory for the "chrome://" url. I wanna also know where i can find the file "chrome://browser/content/browser.xul" in my computer. Thank you

    Use your browser to open this page "chrome://browser/content/browser.xul"
    Right click and click "View Page Source" you will find that this xul file should be in Firefox.app/Contents/MacOS/omni.jar

  • I want to find the root directory for a png file on my Macbook air

    I am using html to make a website and want to use a png on my macbook but need the root directory for the image source. I am not sure how to get this, can anyone tell me how?

    If you are hosting a web server from your Mac, you should place the images inside /Library/WebServer/Documents or inside your user Sites folder. The www user will not be able to access a file from anywhere else unless you give it permission to do so.

  • When I look up the creation date for files on my Macbook I get the date and month in brackets, but not the year.  Why is this and how can I look up the year?

    When I look up the creation date for files on my Macbook (using "get info", or the information window in Iphoto) I get the date and month in brackets, but not the year.  Why is this and how can I look up the year? 

    Does the Date Modified column in a window set to List view show the date correctly, or does it also display it incorrectly?
    To add additional columns to a Finder (folder) window, with that window open and active open the View Options for it. You can do that by pressing Command-J or by selecting View Options from the View menu in the main menubar.

  • How to set the working directory for reports in linux

    Hi All,
    Can you anyone help me to set the working directory for oracle application server 10g reports? I am using RHEL4 and AS10g. Actually i want to run my reports from my define
    working directory. How can I do this?
    Thanks in advance
    Arif

    Hi,
    your rep_srv.conf should look like something like
    +<?xml version = '1.0' encoding = 'ISO-8859-1'?>+
    +<!DOCTYPE server PUBLIC "-//Oracle Corp.//DTD Reports Server Configuration //EN" "file:D:\oracle\FRHome_1/reports/dtd/rwserverconf.dtd">+
    +<server version="10.1.2.0.2">+
    +<!--Please do not change the id for reports engine.-->+
    +<!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->+
    +<cache class="oracle.reports.cache.RWCache">+
    +<property name="cacheSize" value="50"/>+
    +<!--property name="cacheDir" value="your cache directory"-->+
    +<!--property name="maxCacheFileNumber" value="max number of cache files"-->+
    +<!--property name="ignoreParameters" value="parameter names to be ignored in constructing cache key, separated by comma ','"-->+
    +</cache>+
    +<engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="3" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="90000" jvmOptions="-Xmx512M -Xss512K">+
    +<!--property name="sourceDir" value="your reports source directory"/-->+
    +<!--property name="tempDir" value="your reports temp directory"/-->+
    +<!--property name="keepConnection" value="yes"/-->+
    +</engine>+
    +...+
    some more definitions
    +..+
    +<!--pluginParam name="proxy" type="file">proxyinfo.xml</pluginParam-->+
    +<pluginParam name="xmlpds" type="file">xmlpds.conf</pluginParam>+
    +<pluginParam name="jdbcpds" type="file">jdbcpds.conf</pluginParam>+
    +<pluginParam name="textpds" type="file">textpds.conf</pluginParam>+
    *<environment id="APP1">*
    *+<envVariable name="REPORTS_PATH" value="/application1/reports"/>+*
    *+</environment>+*
    *+<environment id="APP2">+*
    *+<envVariable name="REPORTS_PATH" value="/application2/reports"/>+*
    +</environment>+
    +</server>+
    The environment ids you can choose yourself and you have to put them in there yourself too (here I put two environments for two different applications "1" and "2").
    If you call a report from Forms, then you have to code something like
    ADD_PARAMETER(p_list,'ENVID',TEXT_PARAMETER,'APP1');
    Details depend on how you call your reports, my example is for using a parameter list and calling a report out of application1
    Hope that helps.
    Volker

  • Directory for archiving files with errors

    HI ,
    My Scenario is file to RFC Asynch.
    when ever the PI picks file from the source directory that file need to delete from the path and need to be archived to some other patch.
    And if the file has wrong data it need to archive to error archive folder.
    For this I used  Archive processing in filesender adapter and I also used directory for archiving files with errors(for wrong data files).
    Now the files are arching successfully in the given archive folder for successful messages. But the error files (wrong data which are throwing mapping error in MONI) are also archiving in the same archive folder.
    But these error files need to archive in error archive folder.
    How can I achieve this?
    Thanks in Adv..
    Vankadoath.

    you can use raja's logic ..........in addition in second receiver do a simple mapping UDF to delete the file from the SUCCESS folder. otherwise your file will be archived in both the folder success and errror
    see this code.
    DynamicConfiguration conf = (DynamicConfiguration) para.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
                   DynamicConfigurationKey keyFileName1 = DynamicConfigurationKey
                   .create("http://sap.com/xi/XI/System/File", "FileName");
                         inputFileName = conf.get(keyFileName1);
      *File f1 = new File("/usr/sap/XX/"+keyFileName1);*
      *boolean success = f1.delete();*
      *if (!success){*
      *System.out.println("Deletion failed.");*
      *System.exit(0);*
      *}else{*
      *System.out.println("File deleted.");*

Maybe you are looking for