Trying to migrate away from Scriptlets.. need some advice...

I have both created and inherited some seriously horrible JSP's that have a lot of business logic and scriptlets in them. What I am looking to do is:
1 - Clean up the JSP's
2 - Move away from scriptlets
3 - Move all business logic to the back end
4 - Create custom tag's where I can to simplify the JSP's and clean up code logic.
Here is just a small example of what the other coders on my team did before they were "axed". They put ResultSet logic into the actual served JSP itself.
What would the best (meaning the correct way) of doing away with this logic in the JSP be? I thought of writing a set of tags that would convert a ResultSet to an ArrayList then iterate over the arraylists to populate the DDL's, but that is not my strong point. There is no time like the present to learn taglibs though :). This way I can hit the DB, get the data that is read only and release the connection back into the ConnectionPool. Am I going at this the wrong way? Can someone possibly post an example of how a JSP should ideally look?
<table border="0">
<%for (int i = 1; i <= tableContentsMD.getColumnCount(); i++){
   String colName = tableContentsMD.getColumnName(i);
   String colVal = singleTableRowRS.getString(i);
   if (colName.equals(tablename + "_id") || colName.equals("status")){%>
          <input type="hidden" name="<%=colName%>" value="<%=colVal%>">
          <% continue;
   }%>
  <tr>
     <td class="textblack_td" style="text-align:left;">
          <%String m = GeneralFunctions.stringMasker(tableContentsMD.getColumnName(i));
          out.print(m);%>:
     </td>
     <td style="text-align:left;">
          <%if(colName.equals("parent_"+tablename+"_id")){%>
               <select name="<%=colName%>" style="width:180px;">
               <%
                    String selected = "selected=\"selected\"";
                    PKName = null;
                    PKID = null;
                    ResultSet primaryKeyTableRS = GeneralFunctions.getTableContentsABC(tablename);
                    if(tablename.equals("department")){%>
                        <option value="0" <%= colVal.equals("0") ? selected : "" %>>-No Parent Department-</option>
                    <%}
                    while (primaryKeyTableRS.next()) {
                         PKName = primaryKeyTableRS.getString(tablename + "_name");
                         PKID = primaryKeyTableRS.getString(tablename + "_id");
                         if(!(id.equals(PKID) || PKName.equals("default"))){%>
                              <option value="<%=PKID %>" <%= colVal.equals(PKID) ? selected : "" %>><%=PKName %></option>
                         <%}
                    GeneralFunctions.closeResources(primaryKeyTableRS);%>
          </select>
          <%}
          else
          {%>
          <div class="alert_text">
               <input type="text" name="<%=colName%>" value="<%=colVal %>" style="width:175px;">
               <%if (tablename.equalsIgnoreCase("occupation") || tablename.equalsIgnoreCase("department")){%>
               <%}%>
          </div>
          <%}%>
     </td>
<%}%>
     </tr>
</table>Thanks in advance for any insight you can provide.
- Josh

TheWhiteKnight wrote:
I need to start very small in what I do. Removing the SQL calls is optimal yes, but if I cam even start with removing all the ResultSet's from the JSP's (it's kind of a similar goal). I mean there is a list a mile long. I want to create objects instead of dealing with SQL calls to constantly get data. For Ex. - With the program, you log in, get a RS for your data. At that point (ideally to me) it should load ALL of your user info into an object (user name, session authentication, role, department, occupation, etc.) As of right now it doesn't. Every time you need the information(except your user name & role), you have to re-query the DB. So you see, there is a LOT of overhead to the server.
On this I would suggest caution. Before you consider loading ALL of the info into an object, you should analyse
1. How many screens/request flow require the entire dataset?
2. How often does a user navigate to such screens/flows?
If it's not a frequently used screen/scenario, you can maintain a minimal (absolutely essential and frequently referred to) data in the object and then progressively build up the data in the object as the user navigates to the screens/flows where such dataset is required.
For example you can have two dao methods -
1. getBasicUserInfo() for the minimalistic dataset and
2. fillUpUserInfo(User u) which takes a User object and fills it up with all data from the db.
You can even model objects accordingly
1. BasicUserInfo (which contains minimalistic fields - say id, name and dept)
2. UserInfo extends BasicUserInfo (which has all the other fields)
And then your second dao() method would be
public UserInfo fillUpUserInfo(BasicUserInfo u).........
This is especially important if the User object is held in session because when you use large and heavy objects in session, memory becomes a constraint sometimes as the number of concurrent users on your system increases. Also it provides clean seperation when you have different kinds of Users.
ram.
Edit
1. Metadata, should always of course be cached.
2. All result sets should be closed before returning from the dao layer. Just to be clear, when I said have 2 methods, I didnt mean keep the result set open :)

Similar Messages

  • I need some advice about the macbook pro and iPhone 5. I took a video on my iPhone and tried to email it it said it was too big to send? So i downloaded it to my macbook pro and tried to mail it to no avail? The macbook tells me the server won't let it th

    I need some advice about the macbook pro and iPhone 5.
    I took a video on my iPhone and tried to email it it said it was too big to send? So i downloaded it to my macbook pro and tried to mail it to no avail? The macbook tells me the server won't let it through other mail goes through any ideas how to resize it or what it might take to send it?

    I agree with LowLister, the best option for you to share the video online is to upload it to your online storage account for example : Box, Dropbox, SkyDrive (All of them provide free storage beginning from 2GB).
    You can upload the files which you want to share in this online storage and then they have sharing options in which you'll will get the link of the file to be sent and send the email. You're good to go!
    Tip : You can store multiple files for backup purposes.

  • Trying to make a photo contest need some help

    Trying to make a photo contest need some help. I am running a
    fish photo contest on my website and was wondering if any of you
    could give me some advice on some good extensions to help me do
    this easier. Basically I want a page where people upload a file and
    then it automatically resizes the image and puts it on a page,
    where people can vote on the pictures.

    Hi Pilot,
    Column B contains the sale amounts.
    Column C will contain the tax amounts.
    I'm assuming a header row, and the first line of data to be row 2.
    In C2, enter: =B*20%
    Click Accept, then use the mouse to drag the small round handle at the lower right of the selected cell (C2) to fill the formula into the rest of the cells in column C.
    This simple version of the formula will put zeros in all column C cells where no amount has been entered in the corresponding cell in column B. The revised formula below takes care of that.
    C2: =IF(B,B*20%,"")
    I'd strongly suggest that 'rookies', as you describe yourself, download and read both the Numbers User Guide and the Functions and Formulas User Guide. Both are available from the Help menu in Numbers. If you use Pages and Keynote, you should use the Help menu in those applications to download their User Guides as well. The guides are searchable pdf files, well written, easy to read, and useful to rookies and old hands as well.
    Regards,
    Barry

  • After migrating data from Time Machine, some of my photos are not showing up in iPhoto. I get a 'dashed rectangle." When I click on it I get ' ! in a Triangle" When I click on that, I actually can see the photo. I want to see my photos

    After migrating data from Time Machine, some of my photos are not showing up in iPhoto LIbrary view. I get a 'dashed rectangle." When I click on it I get ' ! in a Triangle" When I click on that, I actually can see the photo. I want to see all  my photos in 'Library' view, and I can't figure out how these photos seem to be arbitrarily hidden. Help, please.

    Try these for the first attempt:
    First be sure to have a backup copy of the library if you already don't have one.
    OT

  • I have bought complete albums in the past... Now that I am trying to download them from the cloud, some songs no longer appear in My Purchases... How can/do I retrieve them?

    I have bought complete albums in the past... Now that I am trying to download them from the cloud, some songs no longer appear in My Purchases... How can/do I retrieve them?

    Do those tracks still show on the album in the store ? If not then the rights-holder must have removed them, in which case you won't be able to redownload them, you will have to copy them back from your backup of your downloads/library. If they are still on the album in the store then check to see if you've hidden them : iTunes Store: Hiding and unhiding purchases - Apple Support

  • When I burn a disc from a playlist in iTunes, the track names and artist info does not display on the disc when friends view/listen to it. This probably is an easy fix, but I need some advice.

    When I burn a disc from a playlist in iTunes on my MacBook, the track names and artist info does not display on the disc when friends view/listen to it. This probably is an easy fix, but I need some advice.

    No, this standard has been implemented for several decades.
    How iTunes remembers audio CDs - http://support.apple.com/kb/TA27785
    It is just conceivable you burned a CD that exactly matched one already in the Gracenote database.  Gracenote uses track count and duration to decide what CD it is you have in a computer.  If you have one that matches that it will label it.  You could conceivably even have one that matches it that is not the correct one.
    This script will only work on Macs:
    http://dougscripts.com/itunes/scripts/ss.php?sp=cdtexttocdinfo - script to use CD-text file on CD to label CD in iTunes

  • Can't download purchased video to my ipad, even though I paid for them on iPad, haven't got access to computer as I'm away from home, need to be able to download whole movie as internet In hotel is awful, any ideas would be great

    Can't download purchased video to my ipad, even though I paid for them on iPad, haven't got access to computer as I'm away from home, need to be able to download whole movie as internet In hotel is awful, any ideas would be great, originally I manage to download to episodes but haven't been able to with the remaining

    Does the iOS device connect to other networks? If yes that tend to indicate a problem with your network.
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network      
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem and it does not connect to any networks make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • HT3231 I tried to migrate information from MacBook Air to ...Pro and it seemed to have taken files from folders on desktop as none exist on Air now.  As to where these files are, I don't know.  It has also taken my pictures from iPhoto to unknown destinat

    I tried to migrate information from MacBook Air to ...Pro and it seemed to have taken files from folders on desktop as none exist on Air now.  As to where these files are, I don't know.  It has also taken my pictures from iPhoto to unknown destination. ??

    If you used migration assistant then it probably created a new Login user and placed the migrated files under it.
    Regards,
    Captfred

  • I'm Back! Need some Advice! Rebuild time! 6/19 UPDATE! 2nd UPDATE 7/6/15

    WooHooooooo! Another quick update, only 5 minutes ago I found this link on credit karma http://www.creditonecards.com/pre-qualification.php?C1BSourceID=C1B1  that lets you prequalify for a credit card! Which I have tried many many many times  only to recieve the message sorry we couldn't prequalify you at this time but here are some SECURED cards you may like which sucks! I decided to try one more time at this link and was totally surprised to get preapproval for a platinum card yay! Mind you, this card is probably the worst card to get and I will probably never ever use it, just need it to help with my utilization scores. The fees are high, the rates are high, the balance is low........but oh well I am still doing the happy dance!!!

    izzesparks wrote:
    Hi everyone! Long time no see! Just need some advice on what else I should be doing. I have been a part of this forum for many years now and I have taken and heeded so much advice that my head is about to explode and now I just want to make sure I am not forgetting anything. I tried to keep it short  Last time I was on I hadn’t reached the 600 club yet. But I am here now in the 600 club! Still the low 600’s but its progress. Unfortunately slow progress because a lot has happened since I was last on here. I am now officially divorced. I finally have permanent steady income, no temp services anymore phew. I have had to reevaluate my budget and cut a lot of things out. No cable, no home phone, monitor my electric bill like a hawk and learn to like the darkness, cold in the winter and the heat in the summer. I have an older smart phone, had to do without the latest gadgets and gizmos, which truly hurts my heart because I am an electronic fiend. No tablets here, no high tech laptops. Instead of buying a new car and making payments I bought a really good used gas-efficient car cash, paid in full. But since it’s still a newer car I am paying for full coverage insurance, my only splurge. I have spent this time away from this forum truly taking heed to the lessons I learned on here and reflecting on my situation. I have paid nearly everything off! It took some time but I only have 2 creditors left ‘that I know of’ to pay.One of the creditors has not reported to the bureaus yet but I want to take care of them before they do. Most of the ones I paid have already fallen off because of SOL. I was getting to the point I had the problem where I didn’t just have bad credit, I had NO credit. I hadn’t opened any new accounts until this year. Just today I opened a $500 Secured Personal loan and a few months ago I opened a $300 Secured Credit Card at my credit union. I also applied for a Quicksilver CapOne card and was approved for $300. I just started school this year and there is now a financial aid loan of $1750 that is reporting on my credit report as deferred right now. I tried to prequal for some more but was denied by all of them. So far only quicksilver would approve me.  My plans are to move out of state next May and get an apartment for 6 months while I get the lay of the land and then purchase my FIRST home!! Hopefully everything has aged by then and I have had some CLI’s.  My situation in a nutshell (Transunion was only report pulled) USED CREDITCHECKTOTAL TO PULL ALL 3 FICO REPORTS The good:UPDATES BELOW FROM 7/6/15SDFCU Visa Secured $300 – reporting paid on time every timeQuicksilver Unsecured $300 – not reporting yetSecured Personal Loan $500- not reporting yetUtility- reporting paid on time every timeNEW CARDS ADDED-Cap One Platinum MC Unsecured-not reporting yetVictoria Secret-not reporting yetMarisota-not reporting yetSent a Goodwill email for the Portfolio account listed below 6/1/15, now must wait patiently. UPDATE!! 7/6/15 SENT 3 GOODWILL LETTERS NO RESPONSE. The bad:                                                                                                                                                                                                     DEBT RECOVERY SOLUTIONS- I PAID IN FULL ON 5/27/15 Haven't found a good email contact to send a GW letter, but the search continues....Original Creditor11 VERIZON MARYLAND INCStatus-OpenOpened Date-Mar 06, 2014Balance -$146 Collection Agency-FCOOriginal Creditor HERITAGE WOODSStatus -OpenOpened Date -Jan 21, 2011Responsibility – Joint (THIS IS IN BOTH MY NAME AND MY EX-HUSBAND, AND HE SAYS HE WILL HELP PAY, BUT HE IS NOT GREAT AT FOLLOW THRU)Balance- $1,912 (They have agreed to settle for less than owed for $978)    STARTED PAYMENTS, ASKED SEVERAL TIMES FOR A PFD, EVEN ASKED A SUPERVISOR AND THE RESPONSE WAS A BIG FAT NO, SO I AM GOING TO GO THE GOODWILL ROUTE. Collection AgencyPORTFOLIO Recovery (I ALREADY PAID A SETTLEMENT FOR LESS THAN OWED, ON 5/27/15)Original Creditor HSBC BANK SENT GW LETTER, NO RESPONSEStatus -OpenOpened Date-Apr 15, 2013Balance -$518 Collection AgencyRECEIVABLE SOLUTION (PAID IN FULL ON 5/27/15) THEY HAVE AGREED TO DELETE YAY!Original Creditor MED1 AMERICAN CURRENT CAREStatus OpenOpened Date Jul 25, 2013Balance $101 Collection AgencyUNITED CONSUMERS (PAID IN FULL ON 5/27/15) THEY HAVE ALREADY DELETED FROM ALL 3 CRA'S YAY!Original Creditor MED1 EMERGENCY PHYSICStatus OpenOpened Date Oct 06, 2011Balance -$109 ACS/JP MORGAN (PAID IN FULL ON 2/25/15) Tried several times for a goodwill, no responseOriginal Creditor- Wells Fargo education servicesStatus- closedopen date- 04/2004balance- $3000 ACS/JP MORGAN (PAID IN FULL ON 2/25/15) Tried several times for a goodwill, no responseOriginal Creditor- Wells Fargo education servicesStatus- closedopen date- 04/2004balance- $800 ECMC (TRANSFERRED TO ACS/JP MORGAN) Tried several times for a goodwill, no responseOriginal Creditor- Wells Fargo education servicesStatus- closedopen date- 04/2004balance- $800 ECMC (TRANSFERRED TO ACS/JP MORGAN) Tried several times for a goodwill, no responseOriginal Creditor- Wells Fargo education servicesStatus- closedopen date- 04/2004balance- $3000 A new account was added to my credit report Trident asset - original creditor - Lowe's home improvementI disputed the account since I do not remember ever shopping there, claims I wrote a bad check. I don't even have a checkbook, never have. A new creditor sending letters to me now (boy they sure are coming out of the woodworks, not that I have started paying everyone off) NOT reporting to CRA's yet, going to try to take care of this next week before it does. Sooooooooooo what should I do know????!!!! Thanks in advance for any advice given! 

  • I need some advice...

    Hi, I'm not quite sure where this topic should go exactly as it isn't about a specific topic. So plz fogive me if it's wrongly placed in your opinion.
    Anyway, I've been a long time fan of Linux and I don't want to have to stop using it. I've just recently converted my whole computer to a linuxbox only system, as I was running winxp(uke) before and couldn't stand it. It would lag during simple tasks like going from one directory to another and for no apparent reason, which aided me in my conversion. Enough about winblows, I don't need to tell you guys why it sucks, we all have our reasons. But there is just one thing bothering me now... and that is gaming. I am a huge fan of gaming and have been doing so for quite some time now (years) and well... gaming on linux hasn't been too pleasant for obvious reasons.
    1) the games I play except for quake3 are written and made to run solely on a winblows workstation.
    2) Wine and Winex3 have limited, but growing support for a range of games.
    3) Lastly the main game I would like to play (Steam CS 1.6) doesn't like to run on linux due to its constant updates, which throws WInex3 out of wack. Where it could have been working the day before but due to the update it no longer runs.
    I'm thinking of just making a partition for winxp(uke) so that I can game, but this isn't something I'm totally willing to do.
    Basically I need some advice and/or suggestions that anyone is willing to share with me.
    Thank you in advance.
    BTW: I'm not new to linux, I've been using it for almost 2 years now and have tried ALL of the distro's you can think of. (Arch is my distro of choice at the moment, along with slackware.)

    Enemy Territory is an excellent game, and it is totally free.
    I haven't played the free game from the US Army, but heard it is really good, and is totally free.
    I bought Return to Castle Wolfenstein, which plays perfectly in Single player mode, but I have some trouble in multiplayer mode (and I'm not an expert either).
    I bought Unreal Tournament 2004, which plays perfectly in both single player and online, but I simply suck at the game.
    I bought Never Winter Nights because I know the company has a linux version you can download once you have a registered copy.  I havent installed it yet, though, been playing UT2004.
    Doom3 is supposedly going to have a linux installer on the CD's, like UT2004 does.
    Anygame that uses OpenGL graphics instead of DirectX will prolly run under WINE or WINEX, or be easy for the original company to port (if they choose to).
    There are some "up and coming" linux only OpenGL games, light flightgear (a flight simulator), and a couple of 'massive online games".
    Betweet RTCW, EnemyT, Never Winter Nights, UT2004, and soon Doom3 - I have enough games to play, and thats without buying winex.
    Fergettabout Windows! You simply don't need it anymore.
    If you are determined to run Windows, get a removeable drive bay, and just swap boot drives when you want to swtich.  Or use GRUB if you want to select from multiple OS's.
    thx

  • Songs disappearing. Need some advice.

    I need some advice regarind my ITunes library. I spent a lot of time importing all my cd's. I now have approx. 14,000 songs now. First I had put them all in as mp3's, then I heard about the quality and smaller size of AAC. I think that is where some duplicates came from. But some how I've ended up with up to 6 of a lot of my songs, at least it is showing 6 copies of many of my song in my ITunes library. But when I go to delete all but one of the songs, through ITunes, sometimes it is fine and sometimes I get the ! icon. I guess even though I left one in Itunes it actually deleted all copies. I did not know I was doing this because it doesn't show the ! icon until you go back and try to select the song. This took days and days to deleted over 6,000 duplicates.
    Now I'm finding some albums are missing songs and some are missing the whole albums even though they show in Itunes. I even have gone through and tried to "FIND" the songs some are really there but most are not. So how to I go about reconstructing the library. Is it best to try and find each one or just wipe (delete) my library clean and just reimport the entire library? I'm talking about reconstructing approximately 12,000 songs and I have no idea how many cd's.
    I just would like to know how you guys would handle this. Thanks for your help.
    Nancy

    miner78 wrote:
    Need some advice....I just bought the new retina MacBook Pro (2,199 model) and after reading about the ghosting or burn in issues that some users are experiencing I am starring to wonder if I made the right decision.  I am still waiting for my laptop to come in so I can still cancel my order.  I'm seriously considering opting for the non-retina MacBook Pro instead.  This will be my first Mac and I will mainly be using it to browse the web and do photo editing (I'm an amateur photographer) I know the non-retina doesn't not come with SSD and wondering how much of difference that makes.  Any advice, suggestions will be welcomed
    That's incorrect:
    Order online and for a fee you can have an SSD.

  • Business Delegate pattern - need some advice

    Hi. First let me apologize for the long post. I could see no other way. I�m building a system that quite large and I need some advice. The system is a type of transaction system, let�s suppose a shopping cart. I�m using struts taglibs and tiles for presentation, struts proper for controller, and POJOs for business logic. Also I�m using OJB for my data tier.
    Now I�ve been reading Pro Jakarta Struts (Apress), which BTW is a recommended read to anyone with novice experience in struts and related technologies. I�ve assimilated most of the techniques and patterns described in the book, and most of them make sense to me. However, I�ve hit a snag while reading the Business Delegate and Service Locator patterns.
    The way I had though of building my application before reading the book, was to have a wrapper class, such as the following:
    public class ShoppingCart {
      private IAuthenticationService authenticationService;
      private ITransactionService transactionService;
      public ShoppingCart() {
         authenticationService = new DBAuthenticationService();
         authenticationService = new DBTransactionService();
      public login(String username, String password) {
         String sessionToken = authenticationService.logon(username, password);
         return sessionToken;
      private boolean isValidUser(sessionToken) {
         bolean validUser =  authenticationService.isValidUser(sessionToken);
         return validUser;
      public performTransaction(sessionToken, TransactionVO) {
         if (!isValidUser(sessionToken) {
              throw new AuthenticationException();
         transcationService.performTransaction(TransactionVO);
      public editPreferences(sessionToken, PreferencesVO) {
         if (!isValidUser(sessionToken) {
              throw new AuthenticationException();
         authenticationService.performTransaction(PreferencesVO);
    }My idea was that my wrapper class would isolate all the business logic and could perform login service in case my application was ever to be used with other presentation layer than struts (standalone client, web services). However I believe that this overlaps the Business Delegate pattern and maybe even totally implements it. The way I understand the code I�m reading in the book, they suggest having a BD for each major service such as AuthenticationServiceBD, TransactionServiceBD, etc� However this would break my single point of entry for authenticating users. I really need some advice on my design and how it fits with the BD and SL patterns (or others). I would also like to know what you think/recommend of my authentication strategy.
    thanks in advance
    Raphael

    Thanks for your reply. This however, I understood. My concern is regarding my application in regards to business delegate pattern. You see I have this class (simplified for clarity):
    public class ShoppingCart {
       private ILoginService ls = new DBLoginService();
       private ITransactionService ts = new DBTransService();
       // and so on for all services I offer.
       //  then I mirror all the calls of my private interfaces
       //  and pass them through internally
       public String sessionToken login(String username, String password) {
            ls.login(username, password);
       public boolean addToCart(sessionToken, itemNo) {
            // check session
            ts.addToCart(sessionToken, itemNo);
       //  and so on
    }Multiple questions for this one:
    1) Am I not already implementing the Business Delegate pattern with my ShoppingCart class since all interfaces are private and all calls are mirrored from the wrapper class (ShoppingCart) to the private interfaces? All services are implemented as POJOs and I am not using JNDI at the present so I don't use the ServiceLocator pattern.
    2) I store a reference to the wrapper class (ShoppingCart) in the ServletContext so I can grab it from my Action classes. What do you think of this approach?
    3) How many BDs should an application contain. In my case I use just one. What is the advantage of using more?
    4) I create my own session tokens in case I ever want to use to business code in a non-web applications where sessions are not available readily. This brings about the problem that I can't pass the interfaces directly to the Action classes because the login session needs to be checked before any calls to services. So all methods include a sessionToken parameter which I use to check the session. This way, if I want to expose some of the services through web services, I can still use a login. What do you think of this approach.
    5) Any other remarks are very welcome...
    I really need help with this from an experienced programmer. Most things I can handle on my own but with this type of design issue, books just don't cut it. I need experience. I would really apreciate some feedback.
    Raphael
    ps: I would give all my Duke dollars for this (I only have 30), but I'm not sure how. If you want them I can create a dummy question and give them to you.

  • Having some serious issues with my iPhone and need some advice

    I'm going to these two issues which have been occuring with me for the past weeks-
    1.) I am facing a problem with my iPhone 5's lightning port or the cable. This started happening all of a sudden; one second my phone is charging, and the other it is not. Even if it is slightly moved from its position, it would stop charging, and further shaking starts it again, so on and so forth. At first I thought the issue might be with my cable, so I asked my friend to bring his lightning cable to my house so we could test that. It happened again- one shake the phone will charge, another shake stops it. (Note that any kind of movement does this, not only shaking) I'm a bit skeptical about his (my friend's) cable too, though- it shows NOT CHARGING on his iPad while it is in fact actually charging. His cable is only 3-4 weeks old though, so this confuses me even more. I think the issue might be with my port, but as of now I cannot draw a valid conclusion to my problem.
    2.) The second problem is that I've noticed my battery drains a **** lot faster now- ever since the first issue started. I manage to get my phone charging by placing it very carefully on the table and it charges overnight. However, when I pick it up in the morning, and read some news, it drains from 100% to 99% in ~60 seconds. This never happened before. Before this, it used to be at 100% for at least 10-15 minutes (might be even more). If I reboot my phone, it shows 100% again, but it still drains a lot faster now. I know because I've been using this phone for the past 4 months now, and I know when it drains and when it does nots
    Please, help! I need some advice as to how I should approach this problem. My phone is in the warranty period, however, I would like to have an expert's opinion first.

    Hello,
    First: I've experienced the same problem with my iPhone 5. I've bought a new charger and it still did the same thing. I went to the Apple Store to get my iPhone checked out and they said that the pins inside my iPhone we're damaged, and I had to get a replacement.
    ~ Josh

  • Dell Live! Value Soundblater card!!!! Need some advice

    I have an old 400 that has this card installed model #CT4780. I have purchased a new Dell E30 and want to install this card in it. I have downloaded the driver pack <FONT face=Verdana color=#ff0000 size=3>Li'veDrvUni-Pack(ENG).exe. This<FONT face=Verdana color=#ff0000 size=3> was<FONT face=Verdana color=#ff0000 size=3> listed<FONT face=Verdana color=#ff0000 size=3> on<FONT face=Verdana color=#ff0000 size=3> the<FONT face=Verdana color=#ff0000 size=3> website<FONT face=Verdana color=#ff0000 size=3> as<FONT face=Verdana color=#ff0000 size=3><FONT face=Verdana color=#ff0000 size=3> the<FONT face=Verdana color=#ff0000 size=3> correct<FONT face=Verdana color=#ff0000 size=3> one<FONT face=Verdana color=#ff0000 size=3> for<FONT face=Verdana color=#ff0000 size=3> XP.<FONT face=Verdana color=#ff0000 size=3> I notice that in the old computer there is a cable from the card to the CD-Rom and also one from the card to the modem. Are these cables need in the new computer? Also will I have a conflict with the integrated sound card that came with the new computer? I have not done anything expect download the driver pack.
    I know some about computers but do not like to install boards and new computers fearing some thing will go wrong. I need some advice and the procedure before I preceded. Any help would be greatly appreciated. Thanks

    Newer operating systems, computers, & audio cards do not require the use of the cable from the CD Rom to the soundcard. It is now handled via the IDE cable. Being that you only upgraded half of this equation (that being the computer and not the soundcard), this may be a "trial & error" situation. I do not have the experience with modem cards to comment on that one.
    Finally, you will need to disable the onboard soundcard via the motherboard's Bios. Look in the MB's manual to perform this action.
    Message Edited by johnston2 on 0-25-2006 06:49 PM

  • How do you access your .mac email from a PC? We migrated to icloud and need some guidance. Thanks.

    We migrated our .mac email to icloud and need some help in accessing our email from a PC.  Many thanks!

    iCloud account not necessarily needs to be an Apple ID. Make sure, if you have both, to you enter the correct one.

Maybe you are looking for

  • Unknown error (-200) when i start v7

    i can't open itunes v7 because of this "unknown error (-200)". and if i revert to v 6.0.5 i'm having lots of problems as well (that i didn't have before this GRMBL version 7)! what is this unknown error (-200) and what can i do? i've been looking all

  • JSP precompilation ClassNotFoundException

    Hi, I am facing a weird problem. I am using maven2.2.1(ant plugin) to build my portal project. Using Weblogic 10.3. Requirement is to precompile jsps duing build. I added an ant task to precompile jsps which uses weblogic jspc compiler. It generates

  • BPM installation on NW CE 7.2

    I need to  install  BPM for the first time, on a NW CE 7.2 environment on AIX 6.1/ Oracle 11.2.0.2 I am just wondering how much would be the DB size for vanilla installation. Also please let me know how can I find the installation document Thanks, Al

  • Displaying Perfect Numbers and Factors in JTextArea box

    I had to write a program that displays the perfect numbers along with their factors in a scrollable JTextArea Box. I have my program written but when it displays the output all that appears is Number Factors in my box with no numbers of factors liste

  • Netbeans, java3d, menubar, toolbar, jpanel  HELP

    I'm attempting to make an application using netbeans which features a menu, a toolbar, and a jpanel beneath that which displays a Canvas3D. I got this to partially work, but the Canvas3D will not automatically resize. If I .add the canvas3D to the fr