Prob with running 2nd Servlet prog.

Hi,
I am new to Java. Recently I ran my 1st servlet program. I have also run my 2nd servlet program using the following web.xml file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>Brat4</servlet-name>
<servlet-class>Brat4</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Brat4</servlet-name>
<url-pattern>/Brat4</url-pattern>
</servlet-mapping>
</web-app>
However if i change the web.xml to:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>Brat4</servlet-name>
<servlet-class>Brat4</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Brat4</servlet-name>
<url-pattern>/Brat4</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>Brat</servlet-name>
<servlet-class>Brat</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Brat</servlet-name>
<url-pattern>/Brat</url-pattern>
</servlet-mapping>
</web-app>
My 2nd servlet Brat4 runs but my 1st servlet Brat doesnt run. Somebody plz guide me about it.
Zulfi.

Example:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
<web-app>
  <servlet>
    <servlet-name>Brat4</servlet-name>
    <servlet-class>Brat4</servlet-class>
  </servlet>
  <servlet>
    <servlet-name>Brat</servlet-name>
    <servlet-class>Brat</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>Brat4</servlet-name>
    <url-pattern>/Brat4</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>Brat</servlet-name>
    <url-pattern>/Brat</url-pattern>
  </servlet-mapping>
</web-app>

Similar Messages

  • Problem with running multiple servlet in same webapplication with tomcat 3

    Hi all,
    I am using Tomcat 3.0 as webserver with jdk1.3, Servlet 2.0,
    Templates for html file and oracle 8i on UNIX platform.
    I have problem with multiple servlet running same webapplication.
    There are two servlet used in my application. 1) GenServlet.class
                   and 2) ServletForPrinting.class
    All of my pages go through GenServlet.class which reads some property files
    and add header and footer in all pages.
    I want reports without header & footer that is not possible through GenServlet in my application.
    So I have used another servlet called ServletForPrinting --- just for reading html file.
    It is as follow:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ServletForPrinting extends HttpServlet {
    public void service (HttpServletRequest request,
    HttpServletResponse response) throws ServletException, IOException
    // set content-type header before accessing the Writer
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    File f1 = null;
    String report = null;
    String path = request.getPathInfo();
    try{
    String p = "/var/home/latif/proj/webapps/WEB-INF/classes" + path;
    System.out.println(p);
    f1 = new File(p);
    p = null;
    if (f1.exists()) {
    FileReader fr = new FileReader(f1);
    BufferedReader br = new BufferedReader(fr);
    report = new String();
    while ((report = br.readLine()) != null) {
    out.println(report);
    }catch(Exception e) {
    out.close();
    report = null;
    path = null;
    f1 = null;
    } // end class
    It works fine and display report properly.
    But now Problem is that if report is refreshed many times subsequently,
    WebServer will not take any new change in any of java file used in web-application.
    It works with the previous class only and not with updated one.
    Then I need to touch it. As soon as I touch it, webserver will take updated class file.
    Anybody has any idea regarding these situation?
    Is there any bug in my ServletForPrinting.java ?
    Any solution ????? Please suggest me.
    Suggestion from all are invited. That will help me a lot.
    Thanks in advance
    Deepalee.

    Llisas wrote:
    I solved the problem, I just had to wire the blocks in a sequential way (I still don't know why, but it works).
    Feel free to delete this topic.
    I would strongly suggest at least reading this tutorial to give you an idea of why your fix worked (or maybe only appeared to work).  Myself, I never just throw up my hands and say, "Whatever," and wash my hands of the situation without trying my best to understand just what fixed it.  Guranteed you'll run into the same/similar problem and this time your fix won't work.
    Please do yourself a favor and try to understand why it is working now, and save yourself (or more likely, the next poor dev to work on this project) some heartache.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Prob with running jsp Bean

    Hi,
    I am trying to run a bean through a jsp but its giving error at useBean tag of jsp:
    The error is :
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: /Quadratic.jsp(7,0) The value for the useBean class attribute com.brainysoftware.Quadratic is invalid.
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:150)
         org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1227)
         org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         org.apache.jasper.compiler.Generator.generate(Generator.java:3272)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:244)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    My jsp is:
    <HTML>
    <HEAD>
    <TITLE> JSP BEAN Quadratic Example </TITLE>
    </HEAD>
    <BODY>
    <%@ page language="java" %>
    <jsp:useBean id="quadratic" scope="session" class="com.brainysoftware.Quadratic" />
    <jsp:setProperty name="quadratic" property="ia" param="a" />
    <jsp:setProperty name="quadratic" property="ib" param="b" />
    <jsp:setProperty name="quadratic" property="ic" param="c" />
    X1= <%= quad.getDx1( ) %>
    X2= <%= quad.getDx2( ) %>
    End of program
    </BODY>
    </HTML>my bean is:
    package com.brainysoftware;
    import java.io.*;
    class Quadratic{
    int ia;
    int ib;
    int ic;
    String dx1;
    String dx2;
    public int getIa( ) {
    return ia;
    public void setIa( int ii) {
    ia=ii;
    public int getIb( ) {
    return ib;
    public void setIb(int ii) {
    ib=ii;
    public int getIc( ) {
    return ic;
    public void setIc(int ii) {
    ic=ii;
    public String getDx1( ) {
    double detA;
    double result;
    detA= ib*ib -4*ia*ic;
    if(detA<0.0)
    return "Real Roots not possible";
    else {
    result= -ib - Math.sqrt(detA/(2 * ia));
    Double Dresult=new Double (result);
    return Dresult.toString( );
    public String getDx2( ) {
    double detA;
    double result;
    detA= ib*ib -4*ia*ic;
    if(detA<0.0)
    return "Real Roots not possible";
    else {
    result= -ib + Math.sqrt(detA/(2 * ia));
    Double Dresult=new Double (result);
    return Dresult.toString( );
    my directory structure is given below:
    C:\tomcat-5.0.28\jakarta-tomcat-5.0.28\webapps\jsp-examples\WEB-INF\classes\com\
    brainysoftware>dir
    Volume in drive C has no label.
    Volume Serial Number is 4C50-9542
    Directory of C:\tomcat-5.0.28\jakarta-tomcat-5.0.28\webapps\jsp-examples\WEB-IN
    F\classes\com\brainysoftware
    05/22/2005 11:15 PM <DIR> .
    05/22/2005 11:15 PM <DIR> ..
    05/22/2005 11:18 PM 134 CalculatorBean.java
    05/23/2005 12:12 AM 216 Counter.java
    05/24/2005 10:48 PM 358 SimpleJavaBean.java
    06/14/2005 11:16 PM 1,205 Calculator.java
    06/14/2005 11:16 PM 1,323 Calculator.class
    06/16/2005 06:44 PM 534 CalculatorBean2.java
    06/17/2005 08:53 AM 703 CalculatorBean2.class
    06/16/2005 07:00 PM 352 CalculatorBean2.html
    06/17/2005 08:51 AM 588 CalculatorBean2.jsp
    06/17/2005 04:29 PM 97 UploadBean.java
    06/17/2005 04:43 PM 527 FileUploadBean.java
    06/17/2005 04:43 PM 834 FileUploadBean.class
    06/18/2005 12:21 PM 863 Quadratic.java
    06/18/2005 12:21 PM 1,093 Quadratic.class
    14 File(s) 8,827 bytes
    2 Dir(s) 8,615,821,312 bytes free
    C:\tomcat-5.0.28\jakarta-tomcat-5.0.28\webapps\jsp-examples\WEB-INF\classes\com\
    brainysoftware>
    The above clearly shows the presence of Bean in the reqd directory but still I am getting an error. Can somebody help me:
    Zulfi.

    class QuadraticThe class is not public. It is only visible to other classes in the same package as itself, so the servlet (JSP) trying to instantiate and reference it can't see it.
    Make it public.

  • How can I run a servlet with Sun Java System Application Server PE 8?

    I've created a package with a TestServlet.class inside, used the deploytool to create a WAR and deployed this using the autodeploy folder.
    The filestructure has been generated and I find the TestServlet.class in
    [installdir]\domains\domain1\applications\j2ee-modules\testProject\WEB-INF\classes\[packagefolderstructure]\TestServlet.class.
    The context root is working fine, but I have no clue how I can run the servlet directly via the URL.
    I've tried many things like
    http://localhost:8080/testProject/TestServlet
    http://localhost:8080/testProject/servlet/TestServlet
    http://localhost:8080/testProject/servlet/[packagenamewithpoints]TestServlet
    http://localhost:8080/testProject/servlet/[packagenamewithslashes]TestServlet
    etc etc
    Can somebody tell me please how to write URLs to deployed servlets? Or send me an example url and xml descriptor files?
    Thanks a lot in advance!

    in web.xml use servlet mapping
    <servlet-mapping>
        <servlet-name>TestServlet</servlet-name>
        <url-pattern>/doit</url-pattern>
    </servlet-mapping>then use http://localhost:8080/testProject/doit

  • How to run a servlet with jboss

    Hello everybody my name is Noe I'm new in the forums . I want some information about how to configure and run a servlet and a jsp for the jboss server . Please help me, I have about 4 days searching information about this, and there is few information or the tutorials that I read were insuficient. I need one tutorial step by step or someone that explain me how to do this. Please help me with this
    Thank's a lot.

    Which error do you get!
    If you just want to run jsps and servlets the you should use tomcat instead of jboss.
    jboss is an aplication server that uses tomcat and adds an EJB container.
    usually you use a build.xml file to run deployment scripts but if not, then you can manually copy the project folder into the jboss --> instance ---> web zone (I said this way because I dont remember the exactly folder)
    Another thing is that you must have the project estructure built on the correct way defined by the estandar. I mean the WEB-INF folder, the web.xml file, the classes folder, etc.
    next time yo may consider to post this on the j2ee section.
    a web.xml file.
    What problem do you exactly have when doing this, you cant ask for a tutorial step by step, but punctual things. Try it and if you cant then ask.

  • How do you run a servlet with no effect on the browser window?

    Is it possible to send parameters to a servlet (using POST or, if necessary, GET) from an application or html page running in a browser, without causing the current browser to be redirected, and without opening a visible new browser window to run the servlet?
    If so, can you explain how to do this?

    Sure, you could embed it as an image tag.
    <img src="http://yourserver/servlets/MyServlet?param1=foo&param2=bar" height=1 width=1>
    This will probably produce a broken image in some browsers, unless you have your Servlet send a 1x1 pixel image to its output stream.
    -Derek

  • 404 ERROR WHILE RUNNING A SERVLET

    hi
    i have written servlet program that takes a cookie value
    from a HTML page....
    while running the HTML page i have been getting the error
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
    Please try the following:
    If you typed the page address in the Address bar, make sure that it is spelled correctly.
    Open the localhost:8080 home page, and then look for links to the information you want.
    Click the Back button to try another link.
    Click Search to look for information on the Internet.
    HTTP 404 - File not found
    Internet Explorer
    i have placed my servlet prog at
    c:\aruna\AddCookieServlet
    and html prog is also in there itself
    and i have complied them successfully
    i have been tried with following URLs in my html prog
    http://localhost:8080/servlet/AddCookieServlet
    http://localhost:8080/aruna/servlet/AddCookieServlet
    it would be helpful if someone will give me an immediat response
    thanks

    Hi arunapotti,
    I assume that you have downloaded Java server Web Developement Kit 1.0.1. This is a reference implementation of Servlets 2.1 and JSP1.0 specification.
    But the current version of Servlets is 2.3 and that of JSP is 1.1, and the reference implementation for the same is Tomcat4.0.1. You can download this implementation from the following URL. Like JSWDK it is also available free of cost:-
    http://java.sun.com/products/servlet/download.html
    Once you install it properly in
    C:\jakarta-tomcat-4.0.1
    You can write a servlet as :-
    I wrote a servlet named CentralServlet as :-
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class CentralServlet extends HttpServlet {
    public void doGet(HttpServletRequest req, HttpServletResponse res)
    throws ServletException , IOException {
    doPost(req, res);
    public void doPost(HttpServletRequest req, HttpServletResponse res)
    throws ServletException , IOException {
    PrintWriter out = res.getWriter();
    out.println("Yes you have done it");
    Once you compile this properly place it in directory
    C:\jakarta-tomcat-4.0.1\webapps\srvltWEB-INF\classes\CentralServlet
    where srvlt is the directory created by you, this is the context for your application.webapps will already be there when you have successfully installed Tomcat.
    Within srvlt create WEB-INF and with in WEB-INF create classes where you place your servlet.
    To make srvlt a context you will have to make an entry in server.xml file which you can find at the following location
    C:\jakarta-tomcat-4.0.1\conf\server.xml
    Add the following entry in this xml file.
    <Context path="/srvlt" docBase="srvlt" debug="0" reloadable="true" />
    Also write web.xml is as :-
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">;
    <web-app>
    <servlet>
    <servlet-name>srvlt</servlet-name>
    <servlet-class>CentralServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>srvlt</servlet-name>
    <url-pattern>/main</url-pattern>
    </servlet-mapping>
    </web-app>
    Put web.xml in
    C:\tomcat-4.0.1\webapps\srvlt\WEB-INF\web.xml
    Now restart the webserver and you can access the servlet by passing the following url
    http://localhost:8080/srvlt/main
    =========================================
    If still you have some reason to work with Java Server Web Developement Kit then Post a message, I may help you out in that also. But it is highly recommended that you use Tomcat_4.0.1.
    Hope this helps

  • Prob with absolute time

    Hii everyone....
    I have some questions to ask to u guys...firstly, I'm using serial comm to interface data into labview...There is no prob for configuration...but I have 2 mistakes here.1stly, refer to my table.PNG...I build the table using build table express...so..I enabled the date time.When I run the prog...the date/time didn't fuction anymore...It seems like its stuck with the first read...so...i have tried to open the front panel of the build table express to modify n try to put time stamp..but I think that there is no need to replace it because it had Gate waveform time array.vi already...I tried the other basic simulation to confirm it...but the date from table will run also after I start to run the other prog.
    And the other mistake about write to measurement file..the situation was same as above that I tried to show the elapsed time or fractional seconds in the text file at the left side...but it did not happened.that means the fractional seconds always shown as 0.0000 till the target time...
    And my last question it...How can I put a gauge and link with the waveform?because here I can't link this gauge icon with the waveform...and lastly,How could I change universal time format of x-axis from the waveform to current time...thank u very much...
    Attachments:
    text file.PNG ‏32 KB
    IIOA test45.vi ‏188 KB
    table.PNG ‏57 KB

    oh...i'm sorry dennis..i almost forget these thing.Here, I attached my vi n PNG file. Actually I put the gauges 4 my data from my waveform.I think it can be linked with signal without any prob.So, I didn't know that this function just a scalar input. So refer to my table2 PNG. the date / time did not run properly n stuck with the first time/date data...thank u very much
    Attachments:
    IIOA test518.vi ‏247 KB
    table21.PNG ‏35 KB

  • I have copied my iTunes library onto a new computer, but when I play back the songs there seems to be random "miss" or "drop out".  No probs with old computer, just the new one.  I'm onto my third new computer - same problem.  Any suggestions please?

    I have copied my iTunes library onto a new computer, but when I play back the songs using the new computer, there seems to be random "miss" or "drop out" during play back, similar to a small scratch on a vinyl record.  Although when I play the same song over again, the "miss" occurs in a different location during the song.  No probs with old computer, just the new one.  I'm onto my third new computer - same problem.  Any suggestions please?

    You don't say which version of iTunes you are using, but the symptoms you describe have been encountered by some users with the 64-bit version of iTunes 12.1.
    There is an alternative version for 64-bit editions of Windows here:
    iTunes 12.1 for Windows (64-bit — for older video cards)
    that seems to address the most of the playback issues that some users have been reporting with the full 64-bit version of 12.1.0.77 - including problems with Bluetooth speakers where either sound is degraded or completely absent.  The alternative installer here is the same architecture as most previous "64-bit" versions of iTunes, i.e., a 32-bit application with a 64-bit installer.  The "for older video cards" label appears to be something of a misnomer as some people have reported that this corrects problems found on current / high-spec systems.
    Some users have reported that after installing this alternative version it is necessary to adjust the "Play audio using" selection (normally to "Direct Sound" rather than "Windows Audio Session", though this may vary based on your audio hardware/drivers) in Edit > Preferences > Playback to restore glitch-free audio (one part of the reported symptoms is that the "Direct Sound" choice isn't available, usually in Windows 8).  It may also be necessary to ensure that your Bluetooth speakers are active and selected as the default audio device before you run iTunes.
    If this doesn't address the issue, you may want to think about reverting to iTunes 12.0 - see Turingtest2's notes on Troubleshooting issues with iTunes for Windows updates for steps needed to completely remove all installed iTunes components, and for links to the 12.0 installers.

  • How do we run a servlet program in eclipse

    how do we run a servlet program in eclipse.

    Not at all, because servlets require a servlet container. Some Eclipse plugins (Lomboz etc.) do provide integration with those.

  • Airport connection probs with Mac Pro and 10.4.8  too.

    This prob is not just related to iMacs or MacBooks as published in the knowledge base doc. I have exactly the same prob with my 2.66 GHz Mac Pro. I have to reconnect this beast to my wlan router manually every time.
    PLZ Apple fix this asap!

    I had a similar problem which I've fixed!
    I have four machines here which can connect to my Netgear DG834N via Aiport. (I say can because they normally connect via ethernet.) My MacBook Pro always used to be fine when connected wirelessly but recently, not aware of any changes I've made, it connects for about 10 seconds then disconnects. All other machines are fine and hold the connection.
    This is what I tried before finding my solution:
    1) Deleted all references to the network in the keychain and remade them.
    2) Created another user to try
    3) Changed channels on the router even though I can't see any neighbour's networks.
    4) Made sure computer and router were up to date with firmware/software.
    I'm assuming that it has to be a computer problem as the PowerMac, iMac and iPod Touch have no issues at all. However, the cure was in the router.
    I run with SSID broadcast turned off, WPA2 encryption and MAC address filtering. Allowing broadcast of the SSID cures my problem. Turn it off and the computer connects then drops it ten seconds later. Turn broadcast on and it maintains the connection. I've tried it all afternoon, leaving it connected for about 30 minutes at a time before turning SSID broadcast off again. Works every time! Broadcast SSID - fine, no broadcast - drops after ten seconds.
    Now, if only I knew why! And why only the laptop?

  • Problem Running my servlet

    Hi,
    I use Tomcat 5.5.17 to run servlets. I can run the example servlets that come with Tomcat successfully. I have configured the java_home and class path variables. When I create a new servlet in the webapps/servlets-examples folder, I can run it.
    However, when I try creating a new folder under webapps (named trial) and when I try to run my servlet from there I get the 404 Servlet not found error.
    The steps I followed are:
    1.Created a new folder trial under C:\apache-tomcat 5.5.17\webapps
    2.Created the WEB_INF folder under trial and then the classes folder under it.
    3. Put my servlet HelloServlet.class under the classes folder.
    4.Put WEB.XML under the C:\apache-tomcat 5.5.17\webapps\trial\WEB_INF folder and made the following entry
    <servlet>
    <servlet-name>HelloServlet</servlet-name>
    <servlet-class>HelloServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>HelloServlet</servlet-name>
    <url-pattern>/HelloServlet</url-pattern>
    </servlet-mapping>
    5. I tried to access my servlet using the following URL:
    http://localhost:8080/trial/HelloServlet
    and that gives the 404 error.
    Are there any additional steps when we are running a servlet a folder we create?
    I searched the internet and found something about setting the context path but I could not understand how to do it for Tomcat 5.5.17 as the documents I found on the net were for older versions.
    I would be grateful if someone could help me out. Thanks in advance!
    Aniticipating your help!
    Thanks and Regards,
    Asana

    Hi.. You can check your application context path through Tomcat Manager application.
    URL is :
    http://localhost:8080/manager/list
    or
    http://localhost:8080/manager/html/list

  • Using linksys wired router with AE 2nd generation

    Hi. I'm trying to use a linksys befsr41 (non-wireless 4 port router) with a 2nd generation airport express. I have several wired rooms that I want to setup separate networks with other AE's. My configuration is:  cable box-->AE WAN in--AE LAN out-->Linksys-->ethernet cable through the house—>AE WAN in rooms. Can’t seem to make this work. I can do it wirelessly (i.e having the remote AE's joing the first AE network) but several of the rooms have poor signal. As soon as I try and create a new network the remote AE’s can’t connect to the network. I checked the cables and they are all good.
    Thanks.

    We need some additional information to be able to troubleshoot this issue.
    Can you provide the make and model number of the cable modem that you are using?
    Are the other AirPort Express devices that you are trying to connect also 2nd Gen versions?  If not, what version are they?
    The Linksys router needs to be configured to operate in Bridge Mode so that it will function as if it were an Ethernet switch.....not a router.  Is the Linksys set up in Bridge Mode at the current time?
    Looking at the Linksys support forum....example below......I cannot tell whether it is possible to configure the Linksys product in Bridge Mode:
    https://community.linksys.com/t5/Wired-Routers/Use-BEFSR41-in-Bridged-Mode/td-p/ 272061
    Are you trying to configure the AirPorts using AirPort Utility on a Mac....or on an iPhone / iPad?  If you are using a Mac, what operating system is the Mac running?  If you are not sure, click the Apple icon in the upper left corner of the screen, then click About This Mac. Post back with the OS X  version that you see there.

  • Problem in running the servlet

    I have compiled the servlet and put the class file HelloWorld.class inside
    $CATALINA_HOME$/webapps/ROOT/WEB-INF/classes/
    directory, under tomcat6.0.18
    and also mapped servlet in
    $CATALINA_HOME$/webapps/ROOT/WEB-INF/web.xml, as below
    web.xml:
        <?xml version="1.0" encoding="ISO-8859-1"?>
    <!--
    Licensed to the Apache Software Foundation (ASF) under one or more
      contributor license agreements.  See the NOTICE file distributed with
      this work for additional information regarding copyright ownership.
      The ASF licenses this file to You under the Apache License, Version 2.0
      (the "License"); you may not use this file except in compliance with
      the License.  You may obtain a copy of the License at
          http://www.apache.org/licenses/LICENSE-2.0
      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      See the License for the specific language governing permissions and
      limitations under the License.
    -->
    <web-app xmlns="http://java.sun.com/xml/ns/javaee"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
       version="2.5">
      <display-name>Welcome to Tomcat</display-name>
      <description>
         Welcome to Tomcat
      </description>
      <servlet>
        <servlet-name>HelloWorld</servlet-name>
        <servlet-class>HelloWorld</servlet-class>
      </servlet>
      <servlet-mapping>
        <servlet-name>HelloWorld</servlet-name>
        <url-pattern>/HelloWorld</url-pattern>
      </servlet-mapping>
    </web-app>and run the servlet using this url......*.http://localhost/HelloWorld*
    but I got following error code under tomcat 6.0.18
      type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Error allocating a servlet instance
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
         org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         java.lang.Thread.run(Thread.java:619)
    root cause
    java.lang.NoClassDefFoundError: HelloWorld (wrong name: hall/HelloWorld)
         java.lang.ClassLoader.defineClass1(Native Method)
         java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1847)
         org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:890)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1354)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
         org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         java.lang.Thread.run(Thread.java:619)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.is there something I did wrong?
    Edited by: san_4u on Mar 16, 2009 1:20 AM

    root cause
    java.lang.NoClassDefFoundError: HelloWorld (wrong name: hall/HelloWorld)Is your servlet contains first line as package hall;If it is there,remove it from the servlet code. And run your program.
    If you want to keep it, then make a folder named hall in classes folder and put your HelloWorld.class there. Also change <servlet-class> as
    <servlet>
        <servlet-name>HelloWorld</servlet-name>
        <servlet-class>hall.HelloWorld</servlet-class>
      </servlet>

  • Extend my wired Airport Extreme (5th Gen) with a 2nd Wired Airport Extreme (also 5th Gen)

    I have a 5th Generation Airport Extreme in my house hard wired directly from my fiber optic provider
    Then I have that 5th Generation Airport Extreme hard wired directly to my Desktop Computer in a separate building in my back yard (using an Ethernet Cable run through an underground conduit).
    Using that setup, I DO get Wi-Fi for my iPhone 4S & iPad 3 in that separate building in my back yard, but it is sometimes so weak, it really is not useable.
    To improve the Wi-Fi signal for my iPhone 4S & iPad 3, I plan on adding a 2nd 5th Generation Airport Extreme in the separate building in my back yard.
    I will disconnect the Ethernet Cable that is currently plugged directly into my Desktop computer & plug it into the 2nd Airport Extreme.
    Then, I will use a short Ethernet Cable to directly connect my Desktop Computer to the 2nd Airport Extreme.
    The desktop computer is an older Dell Dimension 9200 running Windows XP Professional with Service Pack 3
    With this set-up, will the strong Wi-Fi signal I now get in my house from the 1st Airport Extreme NOT be reduced?
    And since the separate building is only 300 square feet, I assume the Wi-Fi signal there will also be as strong with the 2nd Airport Extreme being so close to everything?
    Could someone point me to SPECIFIC instructions on how to CORRECTLY set this up so that the 2nd Airport Extreme will EXTEND my home network?

    So, I should unplug the 1st Airport Extreme from the outlet before doing anything?
    Yes.
    Since the 2 Airport Extremes will be in 2 separate locations, which do I plug into the outlet first?
    I would suggest plugging the one in the house first, then the second one in the backyard building. Be sure to connect the Ethernet coming from the first into the second before power-on either base station.
    Could I connect the Ethernet both to the 2nd Airport Extreme & then to the desktop, then plug in the current Airport Extreme in the house, then run out & plug in the 2nd Airport Extreme in the separate building?
    The key is to leave everything powered-off; connect the Ethernet cables, and then, start by powering up the house unit, then the backyard unit, and then, the PC. Make sense?
    P.S. I have the Version 5.5.3 of Airport Utility for Windows (using Windows XP Professional with Service Pack 3)
           There does NOT seem to be a later version than that.
           That worked great for the installation of the 1st Airport Extreme several months ago, so I shouldn't have any problems, should I?
    There is a later version (5.6.1) for Windows, but required Windows 7 to run on. Since you can already administer the 1st 5th gen Extreme with the version you have now, you shouldn't have any issues continuing to use it for the second unit.

Maybe you are looking for

  • How to display customize values in report?

    I need to be able to show certain customize values in a report portlet. Preferably just above the table of results. How do I do that? Grateful for any help... Bryan

  • Dups, sharing problems and lost files on NAS drive

    I have been trying ot set up a "shared library" on a network storage drive.  The process has been painful to say the least I have over 17k music files and 400+ audio books. My first problem was creating duplicate files when pointing a new PC to iTune

  • Why does my macbook pro suddenly go to sleep while I am using it

    My 2009 2.53 GHz Intel Core 2 Duo will suddenly go to sleep (or so it seems) while I am using it - like mousing or typing on it.  It is difficult to get it to wake up.  I either have to hit the space bar repeatedly or hit the on button a couple of ti

  • Lsnrctl services does not show service XE - new install of Oracle Express

    It's a time-consuming and problematic installation of Oracle Express 11g, but for the moment just one question: why isn't service XE showing up in lsnrctl services? Here's that output, with Service XE missing: Connecting to (DESCRIPTION=(ADDRESS=(PRO

  • Autocomplete in JComboBox

    Hey folks, I want to enable autocomplete in a simple editable JComboBox (like in MS access). I've been searching google and now here, but cant seem to find anything. Does anyone have any idea how to implement this? Furthermore: i cant seem to capture