How to resolve Warning? -- in Struts

Hi all,
I am doing a mini project in STRUTS.
All the code i did so far is fine and working fine.
Now i am trying to add additional functionalities in login section in my project. To reflect the errors in the same Jsp file
I had imported both
import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionErrors;
both classes..
I am getting the warning --- "Warning -[ deprication ]org.apache.struts.action.ActionError in org.apache.struts.action has been depricated "
Please le me know how to solve this one.
Thanks,
oreh

Dont worry on the warnings. I was getting the same as well and the code still works. But its better to handle warnings for deprecations.
Ideally ...instead of using ActionErrors its required to use another class i.e. ActionMessages in struts 1.2
Use add("variable",ActionMessage) instead of add("variable",ActionError)
Also in your Action form if you are using the validate method then change the following ...
public ActionErrors validate(ActionMapping mapping,
               HttpServletRequest request) to
public ActionMessages validate(ActionMapping mapping,
               HttpServletRequest request) Cheers
-Rohit
I havent swicthed over to the ActionMessages yet but it seems that html:errors tag has been deprecated in favour of html:messages. Check it out if this works well .
Message was edited by:
RohitKumar

Similar Messages

  • How to resolve warning LNK4229: invalid directive '/comment:'

    I am using intel compiler 11.1 to compiler my code and use VS2008 to link the objs. here are the setup details:
    OS: Windows server 2008 R2
    Compiler: Intel c++ compiler 11.1 (64bit)
    Linker: Microsoft linker provided by VS2008
    SDK: v7.0A
    Following is the warning i get while trying to link the dll.
    <Source File>.OBJ : warning LNK4229: invalid directive '/comment:Intel(R) C++ Compiler for applications running on Intel(R) 64, Version 11.1    Build 20100806 
    can you help me identify whats i am missing here which is causing this warning.

    Hi Nitin,
    What options did you use to link the objs? Please check the description of this warning in MSDN:
    Linker Tools Warning LNK4229
    A directive passed via the  
    comment   pragma was not valid. The linker ignores
    /directive.
    So please double check the directives. If it's irrelevant, you can just ignore it:
    /IGNORE (Ignore Specific Warnings)
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to resolve partial result warning msg in WEBI?

    Hi
    how you resolve partial result warning msg in WEBI?
    can any one please guide me.
    Regards,
    Mahendra

    Hello,
    Go to Data Access à Edit à  Query Properties --> Uncheck the maximum rows retrieved option. This is limiting the number of rows which need to be retrieved.
    Regards,
    Shwetha

  • HT4236 Syncing photos using iTunes in windows revealed this error message "iPad Jayvee cannot be synced because it cannot be read from or written to ." Please advise asap how to resolve the issue.  Thanks!

    Please advise how to resolve error message - cannot be synced because it cannot be read from or written to.

    Hello Janet,
    I would recommend this article named 'Disk cannot be read from or written to' when syncing iPod or 'Firmware update failure' error when updating or restoring iPod found here http://support.apple.com/kb/ht1207
    Outdated operating system software
    Make sure you have the latest updates for your operating system, which may include improvements for device connections. For example, many USB and FireWire improvements have been included in Windows Service Packs.Check for Mac OS X downloads. Check for Windows updates.
    Computer needs updates
    Make sure you have the latest updates available for your specific computer model (or components for home-built PCs). These are usually available for download on the support website for the maker of the PC (or component). Many USB updates are listed as "Intel chipset" or just "chipset" updates on PC manufacturer's support and download websites.
    Software interference
    Some software can interfere with iTunes, making it unable to write files to your iPod. Think about what software you have installed, and try disabling any add-ons that might be interfering with iTunes. Check your suspected software's documentation or contact the software maker if you need assistance with disabling the application. Out-of-date or incorrectly configured security software frequently causes this issue. See these steps for identifying and troubleshooting third-party security software.
    Damaged files
    If one of your music files or photos is damaged, iTunes may display one of these errors when transferring that file to the iPod. If you identify a file that is causing the error, try deleting that file and reimporting it from a backup file or from the original source. You may be able to repair files by repairing the disk (see the solutions in the next section).
    Unregistered .dll files (Windows)
    Malware or other software may cause an issue with the digital signing of Windows XP drivers. First try restoringthe iPod using the latest version of iTunes.. If you are unable to restore it or the symptom reappears, follow the steps in this document.
    Damaged disk structure
    These errors can also appear if the format of your computer's hard drive or your iPod disk is damaged.
    To repair your computer's hard disk—Mac OS X users, read this article for instructions. Windows users, search the Help system in Windows for chkdsk to get more information on checking and repairing the disk structure.
    To repair an iPod disk—Restore the iPod or iPod shuffle using the latest version of iTunes.
    Warning: Be sure to back up your data before restoring an iPod. The restore process cannot be undone. All of your songs and files will be deleted.
    Corrupt iPod photo Cache
    If you're getting the error when transferring photos to an iPod photo, try deleting the iPod photo Cache and then starting the photo sync again.
    Lost connection
    Make sure that the connections from your computer to the iPod are snug and do not wiggle or come loose during transfers. For example, if you use the wrong size dock for your iPod, it can put strain on the connectors and cause a bad connection. See these articles for more information:
    Learn about iPod Universal Dock
    iPod Dock: Specifications
    Conflict with third-party hardware
    Third-party USB or FireWire devices may also interfere with iTunes' ability to communicate with your iPod. Remove all USB and FireWire devices except the keyboard and mouse before reconnecting your iPod to the computer.
    Bad hardware
    Hardware failure or non-compliant hardware can cause these errors. This could be an issue with iPod hardware or with the cable or dock you're using, but more often it's an issue with the USB or FireWire card or interface in your computer. Some USB and FireWire interfaces just don't work very well. If you isolate the issue to the USB or FireWire interface in your computer, you may want to try a different port, get the computer serviced, or replace the card or interface with a better one.
    If you isolate the issue to an Apple-supplied cable or dock, or the iPod itself, you can get it serviced here.
    Take care,
    Sterling

  • Flex 4 migration: how to resolve css warnings

    Hi,
    we are trying to migrate a our flex app to flex 4, and while compiling the app, we are seeing a lot of the following warnings. I was wondering how to resolve these warnings. We are not using flex 3 compatibility flag but are using Halo as the default theme via the compiler argument -theme=${flexlib}/themes/Halo/halo.swc.
    It seems that the warnings are coming from css packaged in datavisualization.swc and halo.swc
    Thanks in advance
         [java] C:\svn-work\flex4p3\ui\lib\flex\frameworks\libs\datavisualization.swc$defaults.css(22): Warning: Cannot resolve namespace qualified type 'AdvancedDataGrid' in
    CSS selector 'AdvancedDataGrid'
         [java]
         [java]
         [java]
         [java] C:\svn-work\flex4p3\ui\lib\flex\frameworks\libs\datavisualization.swc$defaults.css(56): Warning: Cannot resolve namespace qualified type 'AdvancedDataGridItem
    Renderer' in CSS selector 'AdvancedDataGridItemRenderer'
         [java]
         [java]
         [java]
         [java] C:\svn-work\flex4p3\ui\lib\flex\frameworks\libs\datavisualization.swc$defaults.css(66): Warning: Cannot resolve namespace qualified type 'AdvancedDataGridSort
    ItemRenderer' in CSS selector 'AdvancedDataGridSortItemRenderer'
         [java]
         [java]
         [java]
         [java] C:\svn-work\flex4p3\ui\lib\flex\frameworks\libs\datavisualization.swc$defaults.css(83): Warning: Cannot resolve namespace qualified type 'AdvancedDataGridHead
    erRenderer' in CSS selector 'AdvancedDataGridHeaderRenderer'
         [java]
         [java]
         [java]
         [java] C:\svn-work\flex4p3\ui\lib\flex\frameworks\libs\datavisualization.swc$defaults.css(115): Warning: Cannot resolve namespace qualified type 'AdvancedListBase' i
    n CSS selector 'AdvancedListBase'
         [java]
         [java]
         [java]
         [java] C:\svn-work\flex4p3\ui\lib\flex\frameworks\libs\datavisualization.swc$defaults.css(131): Warning: Cannot resolve namespace qualified type 'LegendItem' in CSS
    selector 'LegendItem'
         [java]
         [java]
         [java]
         [java] C:\svn-work\flex4p3\ui\lib\flex\frameworks\libs\datavisualization.swc$defaults.css(144): Warning: Cannot resolve namespace qualified type 'PrintAdvancedDataGr
    id' in CSS selector 'PrintAdvancedDataGrid'
         [java]
         [java]
         [java]
         [java] C:\svn-work\flex4p3\ui\lib\flex\frameworks\libs\datavisualization.swc$defaults.css(164): Warning: Cannot resolve namespace qualified type 'PrintOLAPDataGrid'
    in CSS selector 'PrintOLAPDataGrid'
         [java]
         [java]
         [java]
         [java] C:\svn-work\flex4p3\ui\lib\flex\frameworks\themes\Halo\halo.swc$defaults.css(911): Warning: Cannot resolve namespace qualified type 'HTML' in CSS selector 'HT
    ML'
         [java]
         [java]
         [java]
         [java] C:\svn-work\flex4p3\ui\lib\flex\frameworks\themes\Halo\halo.swc$defaults.css(1797): Warning: Cannot resolve namespace qualified type 'Window' in CSS selector
    'Window'
         [java]
         [java]
         [java]
         [java] C:\svn-work\flex4p3\ui\lib\flex\frameworks\themes\Halo\halo.swc$defaults.css(1808): Warning: Cannot resolve namespace qualified type 'WindowedApplication' in
    CSS selector 'WindowedApplication'

    I just saw that we are using xmlns:mx="http://www.adobe.com/2006/mxml" in all our custom components written in mxml, including our main application.
    In our custom css, I have the default namespace set to:
    @namespace "library://ns.adobe.com/flex/mx";
    could this result in these warnings ?

  • Could you please tell me how to resolve the following import error? Thanks.

    Hi,
    When run the following command to import two tables:SPSSDMRESPONSE_LOG and SPSSSCORE_LOG, there are some error in the log. Could you please tell me how to resolve these error? Thanks.
    Command:
    imp S3SLORL10/Pass1234@SPSS file=/yhan/subTables.dmp ignore=y tables=SPSSDMRESPONSE_LOG,SPSSSCORE_LOG
    There are some error in the log file.
    The log file is:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    export client uses WE8MSWIN1252 character set (possible charset conversion)
    . importing S3SLORL10's objects into S3SLORL10
    . importing S3SLORL10's objects into S3SLORL10
    IMP-00061: Warning: Object type "S3SLORL10"."Info224_T" already exists with a different identifier
    "CREATE TYPE "Info224_T" TIMESTAMP '2011-09-21:06:54:13' OID 'A1F8D176EF2949"
    "07882153DE7E4CC9F9' AS OBJECT ("SYS_XDBPD$" "XDB"."XDB$RAW_LI"
    "ST_T","Response" "Response225_COLL","Property" "ModelOutput223_COLL")FINAL "
    "INSTANTIABLE "
    IMP-00063: Warning: Skipping table "S3SLORL10"."SPSSDMRESPONSE_LOG" because object type "S3SLORL10"."Info224_T" cannot be created or has different identifier
    IMP-00061: Warning: Object type "S3SLORL10"."Metric214_COLL" already exists with a different identifier
    "CREATE TYPE "Metric214_COLL" TIMESTAMP '2011-09-20:09:56:02' OID '98999BF48"
    "84F4BAB81D391109E4BB823' AS VARRAY(2147483647) OF "nameValueT"
    "ype208_T""
    IMP-00063: Warning: Skipping table "S3SLORL10"."SPSSSCORE_LOG" because object type "S3SLORL10"."Metric214_COLL" cannot be created or has different identifier
    IMP-00017: following statement failed with ORACLE error 942:
    "ANALYZE TABLE "SPSSDMRESPONSE_LOG" ESTIMATE STATISTICS "
    IMP-00003: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    IMP-00017: following statement failed with ORACLE error 942:
    "ANALYZE TABLE "SPSSSCORE_LOG" ESTIMATE STATISTICS "
    IMP-00003: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    Import terminated successfully with warnings.

    *Import of table containing object type(s) fails with IMP-00061 IMP-00063 [ID 203822.1]*
    in short: search for the TOID_NOVALIDATE parameter

  • How to resolve this JspServerWrapper -510,393,JspServlet.java314,264,802 in

    In Excadel :
    org.apache.jasper.JasperException
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.lang.NullPointerException
         org.apache.jsp.EvaluationKeyRequest_jsp._jspService(EvaluationKeyRequest_jsp.java:229)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
    In console:
    Jan 5, 2007 7:48:15 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.5.0_08\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;%jhome%;C:\program files\java\jdk1.5.0_08\bin
    Jan 5, 2007 7:48:15 PM org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Jan 5, 2007 7:48:15 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1062 ms
    Jan 5, 2007 7:48:15 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Jan 5, 2007 7:48:15 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
    Jan 5, 2007 7:48:15 PM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Jan 5, 2007 7:48:16 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    Jan 5, 2007 7:48:16 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    Jan 5, 2007 7:48:16 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='ApplicationResources', returnNull=true
    Jan 5, 2007 7:48:16 PM org.apache.struts.validator.ValidatorPlugIn initResources
    INFO: Loading validation rules file from '/WEB-INF/validator-rules.xml'
    Jan 5, 2007 7:48:17 PM org.apache.struts.validator.ValidatorPlugIn initResources
    INFO: Loading validation rules file from '/WEB-INF/validation.xml'
    Jan 5, 2007 7:48:17 PM org.apache.coyote.http11.Http11BaseProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    Jan 5, 2007 7:48:17 PM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    Jan 5, 2007 7:48:17 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/156 config=null
    Jan 5, 2007 7:48:17 PM org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    Jan 5, 2007 7:48:17 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 2125 ms
    Jan 5, 2007 7:48:26 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    Jan 5, 2007 7:48:26 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    Jan 5, 2007 7:48:26 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.bean.LocalStrings', returnNull=true
    Jan 5, 2007 7:48:26 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    Jan 5, 2007 7:48:26 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    Jan 5, 2007 7:48:26 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    Jan 5, 2007 7:48:26 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    Jan 5, 2007 7:48:26 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    Jan 5, 2007 7:48:26 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NullPointerException
         at org.apache.jsp.EvaluationKeyRequest_jsp._jspService(EvaluationKeyRequest_jsp.java:229)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Unknown Source)
    I've tried solving this,in so many ways...even changes the server.xml webapps..pl help me how to resolve this

    root cause
    java.lang.NullPointerException
    org.apache.jsp.EvaluationKeyRequest_jsp._jspService(EvaluationKeyRequest_jsp.java:229)So what are you doing in EvaluationKeyRequest.jsp?
    Something in there is generating a null pointer exception.
    Try commenting out bits and pieces so you can narrow down what causes the null pointer.
    Editing server.xml shouldn't affect anything - the error is in your JSP.

  • I cant login to DPS App Builder. Get this error: ERROR This account does not have permission to access App Builder. Learn more about how to resolve this problem.

    I cant login to DPS App Builder. Get this error: ERROR This account does not have permission to access App Builder. Learn more about how to resolve this problem.

    Then you either need to:
    1) Sign up for Creative Cloud so you can build a Single Edition app. Be warned though: this approach will no longer be valid as of May 1st when we retire support for Single Edition in Creative Cloud, and Single Edition apps are only on iPad devices.
    2) Sign up for a full DPS license. You can request pricing information by filling in Adobe | Request for consultation.
    Neil

  • I bought an I pad 2 from us but I can not activate the Facetime in UAE(Dubai)as I can not see the country in the I pad's  drop list, anyone has an idea as how to resolve this issue

    I bought an I pad 2 from us but I can not activate the Facetime in UAE(Dubai)as I can not see the country in the I pad's  drop list, anyone has an idea as to how to resolve this issue

    I'm not that familiar with how FaceTime works. I know how to set It up but I don't use it. I just know that you can't activate in the UAE. I believe that you can activate in any country that permits it's use. Whether you will need a new ID or not, I can't confirm.
    You can Google this and get all sorts of articles on workarounds. Apparently if you set up a VPN you can use it in the UAE. Here is one article that I found.
    http://talkfree7.blogspot.com/2010/09/how-to-facetime-voip-call-from-uae.html
    I Googled "workaround for FaceTime in UAE" to find this.

  • How to resolve #Multivalue Error

    HI All,
    I have a data like below, in this for inpatient data is NULL and as per business requirement  if data is null then "0". so i create a variable and drag into inpatient's total column
    statement for inpatient is
    =If IsNull([total]) Then 0 Else [total] Where ([items]="Inpatient")
    items                                    total
    Office
    4    
    Utilization
    70
    Inpatient
    it is working and showing as "0"
    but when inpatient has value it is showing #multivalue"
    Office Visits
    4
    Non-Emergency ED Utilization
    70
    Inpatient Stays
    40
    how to resolve is issue
    Please reply i am using SAP BO 3.1 INFOVIEW
    Thanks in advance
    Ranjeet

    Hi Ranjeet,
    First thing is you are getting this error because of the where clause used in the variable.
    Because in the 2nd case when it has value for Inpatient, it is actually taking the same value for all the 3 cases.
    How to remove null value with 0:
    1. Remove where clause from the variable and use that variable in place of Total in the table report.
    2. Use format number option to place 0 in place of undefined values.
    Hope it helps. Please ask if you have any queries.
    Regards,
    Subrat

  • TS1702 Does anyone know how to resolve the problem of apps not being able to download in the App Store? After the IOS 6 update I haven't been able to download any apps.

    Does anyone know how to resolve the problem of apps not being able to download in the App Store? After the IOS 6 update I haven't been able to download any apps.

    Maybe here:
    IOS 6 App store crash: Apple Support Communities

  • When i login to MES operator resp..i get a error saying...You must setup an HR employee for this Oracle Application user...how to resolve this?

    when i login to MES operator resp..i get a error saying...You must setup an HR employee for this Oracle Application user...how to resolve this?

    Hey everyone in Apple world!
    I figured out how to fix the flashing yellow screen problem that I've been having on my MBP!  Yessssss!!!
    I found this super handy website with the golden answer: http://support.apple.com/kb/HT1379
    I followed the instructions on this page and here's what I did:
    Resetting NVRAM / PRAM
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    I went through the 6 steps above twice, just to make sure I got rid of whatever stuff was holding up my bootup process.  Since I did that, my MBP boots up just like normal.  No flashing yellow screen anymore!!   
    (Note that I arrived at this solution when I first saw this page: http://support.apple.com/kb/TS2570?viewlocale=en_US)
    Let me know if this works for you!
    Elaine

  • I am having problems with the Preview application.  When I try to use it to open a pdf document it gets hung-up and I have to select force quit to close it.   Any ideas on how to resolve this problem?  Thanks for any help

    I am having problems with the Preview application.  When I try to use it to open a pdf document it gets hung-up and I have to select force quit to close it.   Any ideas on how to resolve this problem?  Thanks for any help

    Can you open the Preview program without loading a file, like by itself?
    If it doesn't load then I suspect a corrupt Preview preference file.
    Deleting the System Preference or other .plist file
    Can you open other files with Preview, like jpg's and images?
    How about other PDFs? or is it just that one you have downloaded?
    Run through this list of fixes
    Step by Step to fix your Mac

  • How to resolve many-to-many join by 2 one-to-many joins

    Hi,
       I was asked many times how to resolve many to many relationship between two tables. I read to use 2 one -to- many relationships to resolve this. Can some expalin me when many to many relationship occurs between two tables and how to reslove them with practicle examples. Is there any article on this?
    Regards,
    Nanda Kishore

    Hi,
    Please check below link.
    http://www.forumtopics.com/busobj/viewtopic.php?p=859029&sid=20d79e3df07b0d8b41aadfbd902bb6b2
    http://blog.oaktonsoftware.com/2011/04/bridge-tables-and-many-to-many.html
    Thanks,
    Amit

  • How to resolve a host name from IP using JNDI/DNS service provider

    Hi
    I got two questions on JNDI/DNS service provider:
    1) How to resolve a host name when i got an IP
    I understand How I do it inverse.
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.dns.DnsContextFactory");
    env.put(Context.PROVIDER_URL, "dns://"+server+"/"+domain);
    DirContext ictx = new InitialDirContext(env);
    Attributes attrs1 = ictx.getAttributes(host, new String[] {"A"});
    2) This example above works when I specify the domain in the provider url.
    If I am not specifing a domain but only the dns server I got an NameNotFoundException.
    What should I do if I don't got the domain?
    get the availible domains and loop on them?

    Hi,
    if your DNS server supports that, you can do a reverse DNS lookup. This works as follows:
    String server = "your.dns.server";
    String domain = "in-addr.arpa";
    String ip = "4.3.2.1";
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.dns.DnsContextFactory");
    env.put(Context.PROVIDER_URL, "dns://" + server + "/" + domain);
    DirContext ictx = new InitialDirContext(env);
    Attributes attrs1 = ictx.getAttributes(ip, new String[] {"PTR"});1: Use the pseudo-domain in-addr.arpa
    2: Use the reverse IP address for lookup, i.e. if your host has 1.2.3.4, use 4.3.2.1!!
    3: Request the PTR attribute
    see also [http://en.wikipedia.org/wiki/Reverse_DNS_lookup|http://en.wikipedia.org/wiki/Reverse_DNS_lookup]
    Martin

Maybe you are looking for