Does any one know what is wrong with this servlet code

package com.bt.ros;
import java.util.*;
import java.io.*;
import java.net.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.sql.*;
import javax.sql.*;
import javax.naming.InitialContext;
import javax.naming.Context;
import javax.naming.NamingException;
* This class is a servlet that searches for a Finder Aid.
* @author
public class FinderAidsSearchS extends HttpServlet {
   * This is the static initializer,
   * executed the first time this class is referred to.
   * It makes sure the JDBC pool driver is loaded.
   * This method examines an HTTP request and searches for the
   * specified Finder Aid record in the database. It then redirects
   * the response to the <tt>Results.jsp</tt> JSP page.
  public void service(HttpServletRequest req, HttpServletResponse res)
       throws IOException
    HttpSession session = req.getSession(true);
//res.setContentType("text/html");
//PrintWriter out = res.getWriter( );
//out.println("<HTML>");
//out.println("<HEAD>");
//out.println("<TITLE>");
//out.println("A Servlet Example");
    String year   = req.getParameter("Year");
    String year_range      = req.getParameter("Year_Range");
    String county          = req.getParameter("County");
    Connection conn = null;
    try {
//example code from tomcatmanual
Context initContext = new InitialContext();
Context envContext  = (Context)initContext.lookup("java:/comp/env");
DataSource ds = (DataSource)envContext.lookup("jdbc/rosDS");
//Connection
conn = ds.getConnection();
          Statement stmt = conn.createStatement();
      String select = "select * from abridgment where " +
                      "(a_county = '" + county +
                      "' AND a_year_date = " + year +
out.println("<DEBUG> <select> the select staement is : " + select);
      stmt.execute(select);
      ResultSet resultSet = stmt.getResultSet();
     Results abridgeresults = new Results();
     abridgeresults.setName("NaeemColl");
     Abridgment varabridgment = null;
      int nRows = 0;
      while(resultSet.next()){
        nRows++;
           varabridgment = new Abridgment();
       varabridgment.seta_county(county);
      varabridgment.seta_year_date(Integer.parseInt(year));
        varabridgment.seta_sub_year_volume(resultSet.getInt("a_sub_year_volume"));
       // out.println("varabridgment - attributes are:");
          //out.println("varabridgment - attributes are:" +varabridgment.geta_sub_year_volume());
          //out.println("varabridgment - attributes are:"+resultSet.getInt("a_sub_year_volume"));
          varabridgment.seta_page_id(resultSet.getString("a_page_id"));
        varabridgment.seta_month_date(resultSet.getInt("a_month_date"));
        varabridgment.seta_day_date(resultSet.getInt("a_day_date"));
        varabridgment.seta_year_sequence(resultSet.getLong("a_year_sequence"));
        varabridgment.seta_day_sequence(resultSet.getLong("a_day_sequence"));
        varabridgment.seta_year_volume(resultSet.getInt("a_year_volume"));
        varabridgment.seta_volume_id(resultSet.getString("a_volume_id"));
        varabridgment.seta_summary(resultSet.getString("a_summary"));
        varabridgment.seta_batch_id(resultSet.getLong("a_batch_id"));
        varabridgment.seta_image_id(resultSet.getLong("a_image_id"));
          abridgeresults.addAbridgment(varabridgment);
          //trying to use vector construct
      req.setAttribute("results",abridgeresults);
      //session.setAttribute("results", abridgeresults);
      stmt.close();
      conn.close();
//out.println("</BODY>");
//out.println("</HTML>");
//      String sURL = res.encodeRedirectURL("/rossearch/results.jsp");
        try{
//TEMPCOMM        res.sendRedirect(sURL);
req.getRequestDispatcher("/rossearch/results.jsp").forward(req, res);
//TEMPCODE
//out.println("</BODY>");
//out.println("</HTML>");
      catch(Exception e){
        System.err.println("Exception: FinderAidsSearchS.service: " + e);
    catch (Exception e) {
      System.err.println("Exception: FinderAidsSearchS.service: " + e);
}i really need some assistance at the following areas of code :
where the database results are set to attributes of one bean varabridgment (Type Abridgement) - the declaration and use of this bean.
and where this bean is then added to another bean abridgeresults (Type Results) as a List collection.
i get a null pointer exception when i try to retrieve the List from abridgeresults object of Type Results Bean.
i would really appreciate some assistance in this - i really need to go to sleep now - but cant until i solve this issue. - thanks all in advance.

below is exception outputed to tomcat log file.
it is thrown at the following line of code in the jsp that tries to get the List object :
currently jsp code to retrieve List: <% List myAbridgments = (List) request.getAttribute("results");
for (int i = 0; i < myAbridgments.size(); i++) {
abridgment = (Abridgment) myAbridgments.get(i);
%>
line that gives problem is
(results_jsp.java:95)
//myAbridgments - is variable where i store the List object in jsp scriptlet
for (int i = 0; i < myAbridgments.size(); i++) {
Also, i dont understand why the servlet keeps on forwarding to the results.jsp when i even comment out the line of code to forward request oobject to results.jsp - i recompile copy it over original and restart tomcat - but still i get the null pointer exception in results_jsp - but i'm no longer forwarding anything to this jsp. --- i want to do some out.printline statemets in servelt to see some of the data from the query - but i cant as it just forwrads the request to results.jsp - how can i output the data to look at debug - i dont have a log4j logger setup and dont have IDE to be able to place break points - so wanted to just output stuff to browser to have a look at what was going on - but can't as just forwards request on ?
Exception ....
2005-11-07 02:45:20 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException
     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
     at java.lang.Thread.run(Thread.java:536)
----- Root Cause -----
java.lang.NullPointerException
     at org.apache.jsp.results_jsp._jspService(results_jsp.java:95)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
     at java.lang.Thread.run(Thread.java:536)

Similar Messages

  • Does any one know what is wrong with my iphone 4 camera not working?

    when I use my Iphone and want to take a picture I cant because often times my camera on the back doent work and when it does I cant get the selfie camera to work at all. I like using my camera on my phone I am an avid camera user because I am a part time photographer. But I cant use it at all I have done all the resets there are available I have put it in DFU mode and erased everything and hoped that this worked but not relief. I did this only 8 times and still doenst work does anybody out there have this same problem and think it may be hardware related because I am about to have someone (apple ccertified) open it up to see if it is the camera ribbon cable that might be loose. Is anyone else upset with this issue if they have it? I know I am.

    Hi EMT-B,
    It sounds like you have done all the troubleshooting needed to narrow down your issue with the iPhone camera to hardware. Based on the information you have provided, it appears your iPhone needs to be serviced. The following link should help you get started with the process and has links with additional information on topics such as warranty and service pricing, battery replacement, and express replacement service.
    Apple - Support - Service Answer Center
    http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipho ne
    You may need to change the country when you get to the page.
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • My FaceTime is active but it does not connect. Any one know what is wrong with it or how to solve the problem?

    My FaceTime is active but it does not connect. Any one know what is wrong with it or how to solve the problem?

    Please sign out of FaceTime and sign back in. If there's no change, log out or restart the computer and try again.

  • HT3500 i have a mac pro and have connected to my wireless canon printer. I was able to print but now the printer comes up with the paper in the tray is the wrong size. but the paper is A4. does any one know what is wrong.

    I have connected to my wireless canon printer but it wont let me print from my mac pro. printer comes up with the message that the paper size doesnt match the printer settings. I have tried to change the settings on the printer but that didnt work. can anyone help

    Well... no help was found here.. so I abandoned the wireless- ness of my printer.  I bought a
    small 10 port hub because only 2 USB ports really isn't enough with wireless mouse, wireless internet
    and any kind of printer.   I also bought a long USB cable.  I now print--wired since this can be done
    as an alternative to wireless with this printer.   Because I don't want a cable "hanging around"
    when the printer is not in use, I simple disconnect it and reconnect when I want to print.
    It's a temporary solution others may find helpful as well. Apparently there's been a lot of
    confusion and problems getting this printer set up wirelessly with our MacBooks.
    Shame on HP for not helping us out!

  • Does anybody know what is wrong with my java code?

    Does anybody know what is wrong with my java code?
    --------------------Configuration: <Default>--------------------
    stockApplet.java:47: cannot find symbol
    symbol : variable M_pointThread
    location: class StockApplet
    if (M_pointThread==null)
    ^
    stockApplet.java:49: cannot find symbol
    symbol : variable M_pointThread
    location: class StockApplet
    M_pointThread=new Thread(this);
    ^
    stockApplet.java:50: cannot find symbol
    symbol : variable M_pointThread
    location: class StockApplet
    THE CODE:
    import java.applet.*;
    import java.awt.*;
    import java.io.*;
    import java.net.*;
    public class StockApplet extends java.applet.Applet implements Runnable
    int Move_Length=0,Move_Sum=0;
    String FileName,Name_Str,Content_Date;
    int SP[]=new int[2000];
    int KP[]=new int[2000];
    int JD[]=new int[2000];
    int JG[]=new int[2000];
    int Mid_Worth[]=new int[2000];
    String myDate[]=new String[2000];
    double CJL[]=new double[2000];
    double MaxCJL,MidCJL;
    Label label[]=new Label[10];
    int MaxWorth,MinWorth;
    int x_move0,x_move1,MaxLength=0;
    int x0,y0,X,Y,Record_Num;
    boolean Mouse_Move,Name_Change=true;
    int JX_Five1,JX_Five2,JX_Ten1,JX_Ten2;
    public void init()
    TextField text1=new TextField();
    Thread M_pointThread=null;
    setLayout(null);
    this.setBackground(Color.white);
    this.setForeground(Color.black);
    for(int i=1;i< 10;i++)
    label=new Label();
    this.add(label[i]);
    label[i].reshape(i*80-65,10,50,15);
    if(i==2){label[i].reshape(80,10,70,15);}
    if(i==7){label[i].reshape(510,10,80,15);}
    if(i >7){label[i].reshape((i-8)*490+45,380,70,15);}
    FileName="six";
    Name_Str="six";
    this.add(text1);
    text1.reshape(150,385,70,20);
    text1.getText();
    public void start()
    if (M_pointThread==null)
    M_pointThread=new Thread(this);
    M_pointThread.start();

    Welcome to the forum. I think that George123 has your problem and its solution well in hand. Follow his good advice and you will have solved this problem. One other thing though just for future reference. If you post your code, here, you are going to want someone to be able to read it easily. Please use code tags when posting next time and your code will be much easier on the eye. You can find out about them here:
    http://forum.java.sun.com/help.jspa?sec=formatting

  • My iphone 4 doesn´t connect thorugh Wi-Fi, apple replaced my phone for a new one and it has the same problem. I have an ipod and it doesn´t have this problem. Does any one know what to do?? Thanks

    My iphone 4 doesn´t connect through Wi-Fi, Apple replaced my phone for a new one, but the new one  has the same problem. I have an ipod third generation and it doesn´t have this problem. Having compared both working at the same time, the iphone alsways lags behind or doesn´t even connect to the internet via Wi-Fi. Does any one know what to do?? Thanks

    Have you ever checked to see if there is an update for your router? If yes, then power off router. Then on iPhone go into settings and do a reset network settings. Power router back on, and try connecting phone to router.

  • Does any one know how to communicate with thunderbolt or J.D.Edwards Oneworld?

    Hi,
    Does any one know how to communicate with thunderbolt or J.D.Edwards Oneworld through LabVIEW ? Do I need to use database connectivity toolkit? Can i do it without it?
    Thanks

    Hi Atul,
    we have made a application which uses Oneworld. We didn't use the database connectivity tool because we used ODBC and SQL.
    We have some VIs to do database connectivity using ODBC functions. So you have to know SQL as language and the ODBC functions. If you do not have this knowledge the database connectivity toolkit will make it easier for you.
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • Does any one know what the new Iphone4 back side looks like?

    Does any one know what the new Iphone4 back side looks like?
    I haven't found that any where on the apple gallery.

    The opening page of the gallery shows the front, back and side of the phone:
    http://www.apple.com/iphone/gallery/

  • TS1702 Any body know what is happening with this app "eTodo" ? is no more in the iTunes store !

    Any body know what is happening with this app "eTodo" ? is no more in the iTunes store !
    I have this problem for one year I think and no one can’t solve that,I made 6 screen shots and I will uploading in a few seconds all of them and please just check them !
    My problem is: I bought an application last year and after some time I had lost the app from my iTunes store.
    Now,what I want to do is: I want to get that app again,but I could not find anywhere in the iTunes  store,websites ,nobody could not help me with that
    The app has been deleted from everywhere !

    If the app is no longer in the store then you won't be able to redownload it. You don't have a copy of it in your computer's iTunes library or on your backup of your downloads/library so that you can sync it back to your phone ?

  • I deleted all my playlist by mistake from itunes. tried copying the to on the go on ipod and thought it would copy it on to my itune but it didn't. does any one know how i can do this without redoing all my playlists. thanks

    I deleted all my playlist by mistake from itunes. tried copying them to on the go on ipod and thought it would copy it on to my itune but it didn't. does any one know how i can do this without redoing all my playlists. thanks

    Are the playlists still on the iPod? If so I can probably cook up a script to read them back into iTunes, or you can check the features of the various tools listed at the end of this user tip to see if you can find one that you want to use.
    tt2

  • What's wrong with this simple code?

    What's wrong with this simple code? Complier points out that
    1. a '{' is expected at line6;
    2. Statement expected at the line which PI is declared;
    3. Type expected at "System.out.println("Demostrating PI");"
    However, I can't figure out them. Please help. Thanks.
    Here is the code:
    import java.util.*;
    public class DebugTwo3
    // This class demonstrates some math methods
    public static void main(String args[])
              public static final double PI = 3.14159;
              double radius = 2.00;
              double area;
              double roundArea;
              System.out.println("Demonstrating PI");
              area = PI * radius * radius;
              System.out.println("area is " + area);
              roundArea = Math.round(area);
              System.out.println("Rounded area is " + roundArea);

    Change your code to this:
    import java.util.*;
    public class DebugTwo3
         public static final double PI = 3.14159;
         public static void main(String args[])
              double radius = 2.00;
              double area;
              double roundArea;
              System.out.println("Demonstrating PI");
              area = PI * radius * radius;
              System.out.println("area is " + area);
              roundArea = Math.round(area);
              System.out.println("Rounded area is " + roundArea);
    Klint

  • TS1702 Hello, we have a Mac and an ipad,the Mac is working and wifi is on and the Ipad's wifi is on too, but Ipad Safari can not open because it could not connect to the server, does any one know what have happened?

    Hello, we have a Mac and an ipad, the Mac is working and wifi is on and the ipad's wifi is on too, but Ipad Safari can not open the page because it could not connect to the server, does any one know that?

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are drooping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
    http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    Fix WiFi Issue for iOS 7
    http://ipadnerds.com/fix-wifi-issue-ios-7/
    iOS 6 Wifi Problems/Fixes
    Wi-Fi Fix for iOS 6
    https://discussions.apple.com/thread/4823738?tstart=240
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    iPad: Issues connecting to Wi-Fi networks
    http://support.apple.com/kb/ts3304
    How to Boost Your Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.h tm
    Troubleshooting a Weak Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Sig nal.htm
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    10 Ways to Boost Your Wireless Signal
    http://www.pcmag.com/article2/0,2817,2372811,00.asp
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    Some Wi-Fi losses may stem from a problematic interaction between Wi-Fi and cellular data connections. Numerous users have found that turning off Cellular Data in Settings gets their Wi-Fi working again.
    You may have many apps open which can possibly cause the slowdown and possibly the loss of wifi. In iOS 4-6 double tap your Home button & at the bottom of the screen you will see the icons of all open apps. Close those you are not using by pressing on an icon until all icons wiggle - then tap the minus sign. For iOS 7 users, there’s an easy way to see which apps are open in order to close them. By double-tapping the home button on your iPhone or iPad, the new multitasking feature in iOS 7 shows full page previews of all your open apps. Simply scroll horizontally to see all your apps, and close the apps with a simple flick towards the top of the screen.
    Wi-Fi or Bluetooth settings grayed out or dim
    http://support.apple.com/kb/TS1559
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • What's wrong with my servlet code ?

    <p>
    Hi,
    </p>
    <p>
    I need to redirect user from jsf application to PHP app with some request attributes using POST method. To check how to do at first I prepared simple servlet:
    </p>
    <p>
    public class TestServlet extends HttpServlet {
        public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException,
    </p>
    <p>
                                                                                   IOException {
            req.setAttribute(&quot;p1&quot;,&quot;Value One&quot;);
            req.setAttribute(&quot;p2&quot;,&quot;Value Two&quot;);
            res.sendRedirect(&quot;http://www.mycompany.pl/test.php&quot;);  
        public void doGet(HttpServletRequest request, HttpServletResponse response)throws IOException,
    </p>
    <p>
                                                                                                                                ServletException{
                  doPost(request,response);
    </p>
    <p>
    I also prepared simple PHP page to display these attributes (Im sure this page works correct):
    </p>
    <p>
    &lt;html&gt;
     &lt;body&gt;
      Attribute p1:  &lt;? echo $_POST[&quot;p1&quot;]; ?&gt; &lt;br /&gt;
      Attribute p2:  &lt;? echo $_POST[&quot;p2&quot;]; ?&gt; &lt;br /&gt;
     &lt;/body&gt;
    &lt;/html&gt;
    </p>
    <p>
    Te problem is that attributes from servet don&#39;t displayed  on PHP page - why. What is wrong wit this servlet ?
    </p>
    <p>
    Kuba
    </p>

    Well if this line of code works for you:
    res.sendRedirect("http://www.mycompany.pl/test.php");
    you could append parameters by building the url string dynamically.
    res.sendRedirect("http://www.mycompany.pl/test.php?p1=ValueOne&p2=ValueTwo");
    Isn't PHP a server technology, if yes why don't you do all the work in php (you'll avoid cookie problems)?
    Regards
    Fred
    PS I don't think this forum is the right place for php questions.

  • My mac book is flashing a grey file with a question mark does any one know what this could be?

    my mac book is flashing a grey file with aQuestion mark in it what does that mean does anyone know?

    That folder with the question mark icon means that the MacBook can't find the boot directory. That can either mean it can't find the hard drive or the hard drive data is somehow corrupted.
    Put your install DVD into the drive and reboot. As soon as you hear the boot chime, hold down the "c" key on your keyboard (or the Option key until the Install Disk shows up). That will force your MacBook to boot from the optical drive.
    Once it has finished booting and you are at the Install screen launch Disk Utility from the Utilities menu. Is your Hard Drive in the list on the left?
    If it is then select the First Aid Tab run Repair Disk and if that repairs any problems run it again until the green OK appears and then run Repair Permissions.
    If your hard drive isn’t recognized in Disk Utility then your hard drive is probably dead.

  • When I try to play a dvd Macbook Pro I get  a box with the message,This function is only for activated users. To activate go to Preferences and Donate" That took me to Mr. Gecko"s Facebook page wanting me to donate $1.99! Does any one know what this is? H

    When I try to play a dvd on my Macbook Pro I get a box with the message " This is only for activated users. To activate go to preferences,donate" this takes me to Mr. Gecko's facebook page asking me to donate $1.99-$4.99.
    Any clues on what this is, and/or how to bypass it? If I can report this to someone? Thanks

    Sure sounds like malware, unles you installed something from a questionable site, then it's still malware but in a payware form as playing DVDs is free on Mac's.
    Unless the DVD has software on it perhaps?
    Does this work on any movie DVD or is this a special kind of DVD with software on it from someplace?

Maybe you are looking for