RSS Feed
<%@ page import="java.net.*"%> <%@ page import="java.io.*"%> <%@ page import="javax.xml.parsers.DocumentBuilderFactory"%> <%@ page import="javax.xml.parsers.ParserConfigurationException"%> <%@ page import="org.xml.sax.SAXException"%> <%@ page import="org.w3c.dom.*"%> <%@ page import="java.util.*"%> <%! // The following code was graciously provided by Armond Avanes (http://www.armondavanes.com) private String tla_ads( HttpServletRequest request, HttpServletResponse response ) throws IOException, ParserConfigurationException, SAXException { // Number of seconds before connection to XML times out // (This can be left the way it is) int CONNECTION_TIMEOUT = 10; // Local file to store XML // This file MUST be writable by web server // You should create a blank file and CHMOD it to 666 String LOCAL_XML_FILENAME = "local_239861.xml"; String INVENTORY_KEY = "9O2U8RK1TZBZWIW985HV"; File localXmlFile = new File( getServletConfig().getServletContext().getRealPath(LOCAL_XML_FILENAME ) ); if( !localXmlFile.exists() ) { return( "Script error: " + localXmlFile.getName() + " does not exist. Please create a blank file named " + localXmlFile.getName() + "." ); } if( !localXmlFile.canWrite() ) { return( "Script error: " + localXmlFile.getName() + " is not writable. Please set write permissions on " + localXmlFile.getName() + "." ); } if( localXmlFile.lastModified()<(new Date().getTime() - 3600*1000) || localXmlFile.length()<20 ) { String request_uri = (request.getRequestURI()!=null) ? request.getRequestURI() : ""; String user_agent = (request.getHeader("User-Agent")!=null) ? request.getHeader("User-Agent") : ""; URL url = new URL("http://www.text-link-ads.com/xml.php?inventory_key=" + INVENTORY_KEY + "&referer=" + response.encodeURL( request_uri ) + "&user_agent=" + response.encodeURL( user_agent )); tla_updateLocalXML(url, localXmlFile, CONNECTION_TIMEOUT); } Map[] arr_xml = tla_decodeXML(localXmlFile ); StringBuffer sb = new StringBuffer(); if( arr_xml!=null && arr_xml.length>0 ) { sb.append( "\n
    \n" ); for( int i=0; i" ); sb.append( map.get("BeforeText") ); sb.append( " " + map.get("Text") + " " ); sb.append( map.get("AfterText") + "\n" ); } sb.append("
"); } return sb.toString(); } private void tla_updateLocalXML(URL url, File file, int time_out) throws IOException { file.setLastModified( new Date().getTime() ); String xml = file_get_contents_tla(url, time_out); if( xml!=null && !xml.trim().equals("") ) { FileWriter fw = new FileWriter(file); fw.write( xml ); fw.close(); } } private String file_get_contents_tla(URL url, int time_out) throws IOException { URLConnection urlConnection = url.openConnection(); //urlConnection.setConnectTimeout( time_out * 1000 ); //urlConnection.setReadTimeout( time_out * 1000 ); InputStream is = urlConnection.getInputStream(); StringBuffer content = new StringBuffer(); int ch; while( (ch=is.read())!=-1 ) content.append( (char)ch ); is.close(); return content.toString(); } private Map[] tla_decodeXML(File file) throws ParserConfigurationException, IOException, SAXException { Document dom = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse( file ); Node linksRoot = dom.getFirstChild(); NodeList links = linksRoot.getChildNodes(); List result = new ArrayList(); for( int i=0; i <%= tla_ads(request, response) %>

How Can You Reduce Debt?

Now that is something anyone who has ever been in debt would like to know. How about making a list of all your essential payments, for a start? Mortgage payments are one - if you default, your home stands the risk of repossession. Next comes all secured loans - if you default, you lose your assets. Include loans similar to these in the order of importance, and make a plan to clear the highest priority ones.

Don't use your credit card. Leave it at home. Since you have made a budget, you know how much money you need to carry in your wallet. When you are already in debt and only clear the minimum payment due on your credit card bill each month, you pay hefty rates of interest on the outstanding balance, right from the day you use your credit card. It is a good idea to hide your credit cards until you have cleared your outstanding payments. You won't believe how effective this can be unless you actually practice it. All it takes is determination. Did you know that credit cards, though so convenient, charge daily compounded interests? What you want is to work towards debt relief, not add to your problems. Therefore, the moral of the story is - use cash to buy things you 'need', not 'want'; this will save you the extra money you are forced to pay as interest charges as well as prevent you from those impulse buying sprees until you are debt free.

Follow that Budget

Earlier on, we talked about making a budget. Now break this down into shorter time frames, which means, make weekly budgets that you find reasonable to follow, bearing in mind that you are making the effort to reduce your credit card debts. On a daily basis, re-visit your budget at the end of the day. Are you sticking to the budget? Then ask yourself how much money you can spare to clear off some of your debts. It would be great if you can make a repayment that is in excess of what your creditor expects. But reality can be different, so try and set aside a specific amount towards clearing your debts and make sure you make the payments regularly. Gradually the debts will reduce and you can strike them off your list. As you strike each one off, allocate the money towards repaying other debts still on the list.

Don't Waste Money On Interest

Creditors are ingenious in the options they give you. They tell you that you only have to make a minimum payment that seems very low each month. Do you know why? It is because their own income comes from charging you a high rate of interest on the balance money you owe them! On the other hand, you end up spending a sizeable amount of money paying interest charges while the actual debt is just sitting there, due. Don't use the part payment option. Either clear off the entire bill or increase your monthly repayments so that you avoid losing money on interest charges.

While in the process of budgeting, you can also set aside money towards credit cards charging a high interest rate. This is a good way towards debt relief. Discuss this with your creditor.

Timely payments

Try to clear off your bills as soon as you receive them rather than wait for the date on which they are due and incurring late fee. You don't gain anything by delaying your payment. For those with a good credit rating, it is possible to make a balance transfer of your outstanding balance to a card that comes at a low rate of interest. But here too, stick to your commitment of clearing off your bills within the time frame provided, or you defeat the entire purpose.

Suggested Reading

Mortgage Loan Debt Consolidation - Oct 04' 2008

Loans come handy whenever one is short of money. Nowadays there are a variety of loans coming up. One such loan is mortgage loan debt consolidation that one can use to pay off the other loans. Read more....

California Debt Consolidation Help- Effective Ways To Eliminate Your Debt - Aug 28' 2008

California debt consolidation help enables one to get a debt consolidation loan to pay off one's debts. It is also possible to obtain free debt consolidation help. Read more....

Find Debt Consolidation Help By Taking The Online Route - Aug 23' 2008

People generally find debt consolidation help when they are unable to pay their mounting debts. By taking one debt consolidation loan, you can clear all your debts. Read more....

Not A Homeowner? Don't Worry, Go For A Debt Consolidation Loan Without Mortgage

A debt consolidation loan without mortgage is an unsecured debt. An unsecured debt means that a lender will give you the required money without keeping any security. Read more...

How To Go About Debt Consolidation

When your debts reach a point when you need professional help, debt consolidation is one of the best solutions towards debt relief. Read more....