Tomcat doesnt show modified pages

Hi there
Im using Tomcat 4.1 and i have a question
I installed the examples, that came along with the whole package and tried to figure out how an application works, so that i could set up my own.
But here the problems begin
C:\Programme\Apache Group\Tomcat 4.1\webapps\examples
is the folder of Examples, with subdirectories Images,jsp,servlets, WEB-INF
I tried to modify the index.html in servlets, but it had no effect at first
then i restarted tomcat, emptied its cache, still no effect
But the strange thing is , that when i open index.html, its changes are there, so the actual file is changed, but the Browser-version isnt!??
what trickery is this?
Maybe you know a solution, id appretiate it
regards
Maz

What URL are you using? Just "http://localhost:8080/examples"? Maybe there's an index.jsp page that's getting shown instead of index.html? Or maybe the browser is just caching it?

Similar Messages

  • Strange problem--tomcat not showing pages.....

    hi friends,
    Today morning-on i started encountering a strange problem of tomcat not showing the pages in the browser.
    When i startup the tomcat it starts up fine without any warnings or alert messages.
    But when i access the web pages/jsps that i want to view, it is showing a blank white page without any trail for me to findout what went wrong.
    And on analysis, i found out that catalina_log.2003-09-16.txt had the follwing error messages.
    2003-09-16 18:39:18 CoyoteAdapter An exception or error occurred in the container during the request processing
    java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getUserPrincipal()Ljava/security/Principal;
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:455)
         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.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)
    2003-09-16 18:43:22 CoyoteAdapter An exception or error occurred in the container during the request processing
    java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getUserPrincipal()Ljava/security/Principal;
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:455)
         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.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)
    Of course this is the message of a freshly installed server, as all the known tricks to show up the pages failed, i did for more than 4 times the reinstallation of tomcat.the version i am using is 4.1.24.I have already put the same server with apache on window OS in the production server.Now the testing is going on for the site.
    How can i make the tomcat work properly to show the pages smoothly.Any developer friend can please help me?
    thanks and regards
    sathiyam K G

    Hi friends!!
    I would like to know what is the problem with my tomcat server or environment,by that it is not showning the pages to me, in spite of not giving any errors at the server console.
    Pl refer to my first post for the problem.Since i narrated with the error message log, i am requesting you to refer to the same again.
    I am sorry that i do not have enough duke points to assign.Bear with me.
    sat

  • I have a Macbook pro thats prints fine to my HP printer, but when I try and print from my iMac it doesnt see the pages and just prints two blank pages. Even thou the document is a number of pages

    I have a HP Officejet Pro 8500A and I had no problems printing to it from my Mac or Macbook pro. The macbook is wifi and the Mac is cable, I have recently had the printer replaced with an exact model. Since doing that I can only print from the macbook pro, when I try and print from teh mac it doesnt see the pages. It could be a 10 page document and it will just show two blank pages. I have googled the question and have tried deleating the printer and reinstalling without any luck. When I got the new printer I insalled all the latest drivers thats the only thing different.
    Could you please help
    Michelle

    Right click the printer in System Prefences -  Print & Scan and use Reset Printing System... and then reinstall the printer, should take less than 5 minutes. Here is a photo showing how to Reset Printing System....

  • Toolbar button/hotkey for "show cover page in two page view" in Acrobat X?

    In Acrobat X, how about make a toolbar button/hotkey for "show cover page in two page view"?  I find toggling this option to be useful for changing up the order of adjacent pages in magazines/books in which a two page spread has to match for a full large picture.  Due to frequent toggling, I would like a button/hotkey for this for easier access.

    Hotkeys for existing menu items are not modifiable, but you can add a scripted button which toggles it with the following code:
    if (layout.substr(-5)=="Right") layout = layout.replace("Right","Left");
    else layout = layout.replace("Left","Right");
    For info on how to add a button with a folder-level script, see the Acrobat SDK documentation. Scripted buttons will appear in a new panel on the tools pane in Acrobat X, not on the tool bar.

  • HT5312 what about if you have added a rescue email address and verifyed it and the forgot your security question thing still doesnt show because i dont no my security questions ???????????????????????

    what about if you have added a rescue email address and verifyed it and the i forgot my security questions still doesnt show up and i dont no the answers !?!?!?!?!?!?!?! what do i do then because i dont want to phone up !?!?!?! please help !!??!?!?!

    If you have just added an address to your account then it will be an alternate email address - a rescue email address can only be added by answering 2 of your questions. You will need to contact iTunes Support or Apple to get the questions reset.
    e.g. you can try contacting iTunes Support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Account Management , and then 'Forgotten Apple ID security questions'
    or try ringing Apple in your country and ask to talk to the Accounts Security Team : http://support.apple.com/kb/HE57
    When they've been reset you can then use the steps half-way down the page that you posted from to add a rescue email address for potential future use, or you could change to 2-step verification : http://support.apple.com/kb/HT5570

  • How to show total pages in a report

    Hi Experts,
    I have to show the pages in the formart current page/ Total pages. I am not able to claculate the total pages. Please help me and give the code.
    Thanks a lot.
    Krishan

    The code below shows how to display the total number of pages in a report like "Page 1 of 8."  However, it doesn't work if you execute the program as a background jobs.
    CODE
    " Declare a variable
    DATA L_PAGE_COUNT(5) TYPE C.
    "  Copy this code to the end of program
    "  Page count will be printed on each page here
        WRITE SY-PAGNO TO L_PAGE_COUNT LEFT-JUSTIFIED.
        DO SY-PAGNO TIMES.
            READ LINE 1 OF PAGE SY-INDEX.
            REPLACE '-----' WITH L_PAGE_COUNT INTO SY-LISEL.
            MODIFY CURRENT LINE.
        ENDDO.
    TOP-OF-PAGE.
        WRITE: /(70) 'Heading' CENTERED, 70 SY-PAGNO,'of ', '-----'.
    Refer : http://www.sap-basis-abap.com/sapab007.htm

  • SSO authtication doesnt show "invalid password" message

    We have 2 SSO servers
    In once, if the user enters invalid password, then same page comes up with message "invalid username/password"
    This is the expected behaviour
    In other, same page comes up, but without any message
    This is misleading and the user keeps thinking why he is not able to proceed without realizing that the password was incorrect
    I am sure this is related to some settings
    But dont know what needs to be changed
    Or what shall I compare bteween the server where its working fine as against the server, where it doesnt show up the right message
    Please suggest

    So, I assume then that your login page is ok. You tried it and it was there, but you are not being redirected to this page. Can you try re-registering your site using the SSO registration tool. For example:
    e.g. for unix:
    $ORACLE_HOME/sso/bin/ssoreg.sh \
    -site_name application.oracle.com \
    -host ukp16016.uk.oracle.com -port 1521 -sid iasdb \
    -success_url http://application.oracle.com:7779/osso_login_success \
    -cancel_url http://application.oracle.com:7779 \
    -logout_url http://application.oracle.com:7779/osso_logout_success \
    -home_url http://application.oracle.com:7779 \
    -config_mod_osso TRUE \
    -oracle_home_path $ORACLE_HOME \
    -u root \
    -sso_server_version v1.2 \
    -verbose TRUE
    e.g. for Windows (with no line breaks):
    %ORACLE_HOME%\sso\bin\ssoreg.bat
    -site_name application.oracle.com
    -host ukp16016.uk.oracle.com -port 1521 -sid iasdb
    -success_url http://application.oracle.com:7779/osso_login_success
    -cancel_url http://application.oracle.com:7779
    -logout_url http://application.oracle.com:7779/osso_logout_success
    -home_url http://applicationk.oracle.com:7779
    -config_mod_osso TRUE
    -oracle_home_path %ORACLE_HOME%
    -u system
    -sso_server_version v1.2
    -verbose TRUE
    2. If this OHS should protect any URLs in addition to /oiddas edit the mod_osso.conf file at this point.
    3. Then update the DCM repository for the appropriate Apache server:
    Unix:
    $ORACLE_HOME/dcm/bin/dcmctl updateconfig -ct OHS -v
    Windows:
    %ORACLE_HOME%\dcm\bin\dcmctl updateconfig -ct OHS -v
    4. Now restart the instance:
    Unix:
    $ORACLE_HOME/dcm/bin/dcmctl stop -v
    $ORACLE_HOME/dcm/bin/dcmctl start -v
    Windows:
    %ORACLE_HOME%\dcm\bin\dcmctl stop -v
    %ORACLE_HOME%\dcm\bin\dcmctl start -v
    If you have metalink access, this is covered in Note:249408.1

  • I just purchased a MacBook Pro Retina. Checked my OSX and it is version 10.8.1... trying to find a way to upgrade to a higher version. In the app store it doesnt show the update nor downloading the new Mountain Lion OXS doesnt work. Please help

    I just purchased a MacBook Pro Retina. Checked my OSX and it is version 10.8.1... trying to find a way to upgrade to a higher version. In the app store it doesnt show the update nor downloading the new Mountain Lion OXS doesnt work. Please help

    hienn,
    Not yet. There was an upgrade page to 10.8.2 for the late 2012 models but it's down now. I have to assume that Apple pulled it because of some bugs. I would look for something next week, more likely than not. In the meantime, the OP should be good with 10.8.1 until the update shows up again.
    Clinton

  • Servlet showing HTML page

    I ma using Tomcat as standalone server.
    have servlet showing HTML page which has frames in it . All frames are linked to some html pages. These pages are stored in
    webapps/project directory and servlet is in
    \Tomcat 4.1\webapps\Project\WEB-INF\classes
    Tomcat can show the servlet with al frames witherror402 means it is unable to take html pages from webapps/project
    what's wrong
    my codes are
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Htmlservlet extends HttpServlet {
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException,IOException {
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    out.println("<HTML>\n"+
    "<HEAD> <TITLE>A frameset document</TITLE></HEAD>\n"+
    "<FRAMESET rows= \"20%,40%,40%\" >" +
    "<FRAME src=\"contents_of_frame3.html\" frameborder=\"0\" scrolling =\"no\">"+
      "<FRAMESET cols=\"*,200\">"+
          "<FRAME src=\"contents_of_frame1.html\" scrolling=\"no\">"+
          "<FRAME src=\"contents_of_frame2.gif\" >"+
    "</FRAMESET>"+
      "<FRAME src=\"contents_of_frame4.html\" frameborder=\"0\"> </FRAMESET>"+
    "</HTML>");
    }

    Hi,
    Please please try this
    <FRAME src=\"/contents_of_frame1.html\"
    thanks,
    nvseenu

  • Issue when opening word document where it doesnt show the template part of the word document

    I have a user who when she opens a document that should have a letter head template load in the background the template doesnt show, using another profile on the same machine the template does open, the view can be replicated from the working profile by
    selecting page layout/Margins/custom Margins/layout and unticking the different first page box. this setting is correct on the affected profile. I have recreated the users profile but still get the same issue, this issue is affecting all documents the user
    opens, is there a setting i am missing? I have also tried resetting word in the registry but this also has had no effect.

    Hi,
    Could you tell me what version of Word are you using?
    Templates (including Normal.dot) are stored in C:\Documents and Settings\user name\Application Data\Microsoft\Templates.
    It’s possible that normal.dot file under your profile is corrupted. You can copy the normal.dot file under the normal profile to your store path.
    If there is anything else that I can do for you regarding this issue, feel free to post back.
    Best regards,
    Greta Ge
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Lwapp 1242ag doesnt show mesh

    Hi
    I'm using a wlan controller with 1242ag converted to lwapp, i'm trying to enable 5.8 but when i change the from local to bridge the lwapp disapear from controler. Someone told me that the firmware does not support mesh !
    I'm folowing the 4402 wlan manual at page 641
    Sent from Cisco Technical Support iPhone

    Yes it was registered when i change it to bridge
    Eduardo
    By IPhone
    Em 11/10/2011, às 09:22, gstefanick escreveu:
    Cisco Support Community
    Re: lwapp 1242ag doesnt show mesh
    created by George Stefanick in Other Wireless - Mobility Subjects - View the full discussion
    Did you add the MAC to mac address filter on the WLC?
    Reply to this message by going to Cisco Support Community
    Start a new discussion in Other Wireless - Mobility Subjects at Cisco Support Community

  • Show More Pages

    In some of the community discussion listings, in the "Discussions" view, the available pages only include the current page, the next page, and (if not already positioned on the first page) the previous page.  If I know that I want to move several pages, I either have to click "Next" several times, or I have to modify the URL.  (I haven't actually tried that.)  It would be nice if the page listing showed more pages.  Curiously, in the "Using Apple Support Communities" list that's already the case, but not (for example) in "Mac OS X v10.6 Snow Leopard".

    Correction:  It seem that prior page numbers accumulate to the left of the current page.  For example, in another discussion section I'm now seeing numbers for these pages: 1  2  3  4  5  6  when viewing page 5.  However, sometimes I'd like to see numbers for pages 7  8  9.

  • My itunes doesnt show anything it has been hapening for a week already and ive done everything on the itunes support even reinstalling it please help

    my itunes stores doesnt show anything and ive tryed everything on the apple support page even reinstalling it please help

    Microsoft Windows Vista Home Premium Edition Service Pack 2 (Build 6002) HP-Pavilion RK573AA-ABA a1710n iTunes 10.4.0.80 QuickTime 7.7 FairPlay 1.12.20 Apple Application Support 2.0.1 iPod Updater Library 10.0d2 CD Driver 2.2.0.1 CD Driver DLL 2.1.1.1 Apple Mobile Device 3.4.1.2 Apple Mobile Device Driver 1.57.0.0 Bonjour 3.0.0.2 (333.2) Gracenote SDK 1.9.1.485 Gracenote MusicID 1.9.1.102 Gracenote Submit 1.9.1.133 Gracenote DSP 1.9.1.43 iTunes Serial Number 002DB3D803DAE110 Current user is not an administrator. The current local date and time is 2011-08-12 01:17:45. iTunes is not running in safe mode. WebKit accelerated compositing is enabled. HDCP is not supported. Core Media is supported. Video Display Information NVIDIA, NVIDIA GeForce 6150 LE  **** External Plug-ins Information **** No external plug-ins installed. iPodService 10.4.0.80 is currently running. iTunesHelper 10.4.0.80 is currently running. Apple Mobile Device service 3.3.0.0 is currently running. **** Network Connectivity Tests **** Network Adapter Information Adapter Name: {56717430-C007-489A-97FF-BD28BDD088D5} Description: NVIDIA nForce 10/100/1000 Mbps Ethernet IP Address: 10.0.0.4 Subnet Mask: 255.255.255.0 Default Gateway: 10.0.0.1 DHCP Enabled: Yes DHCP Server: 10.0.0.1 Lease Obtained: Thu Aug 11 17:07:44 2011 Lease Expires: Fri Aug 12 17:07:44 2011 DNS Servers: 10.0.0.1 Active Connection: LAN Connection Connected: Yes Online: Yes Using Modem: No Using LAN: Yes Using Proxy: No SSL 3.0 Support: Enabled TLS 1.0 Support: Enabled Firewall Information Windows Firewall is on. iTunes is enabled in Windows Firewall. Connection attempt to Apple web site was successful. Connection attempt to browsing iTunes Store was successful. Connection attempt to purchasing from iTunes Store was successful. Connection attempt to iPhone activation server was successful. Connection attempt to firmware update server was unsuccessful. The network connection timed out. Connection attempt to Gracenote server was successful. Last successful iTunes Store access was 2011-08-11 18:38:20.

  • Role iView doesnt show up

    Hi!
    I have a peculiar problem...I created an iView, a page for the iView and a workset for the page. Then I created a role, assigned the workset to the role and finally assigned the role to a user.
    However when I log in as the user, I dont see the page/iView. In fact I see nothing at all. Giving the user "eu_role" brings up the normal "Home" workset but assigning him to my role shows absolutely nothing. I see the portal desktop and stuff (everything default). The only role I want to assign to him is my role but the page/iView doesnt show up.
    Any ideas?
    Sameer

    Hi,
    strange thing, in my desparation I restarted the whole server and now everything is working right. The user can see the role and the page...
    Bye
    Sameer

  • My iphone doesnt show up in my itunes. It shows up when i plug it into another laptop. Similarly, when i use someone else's iphone, that shows up in my itunes. Obviously my itunes wont recognise my iphone. Please help

    My iphone doesnt show up in my itunes. It shows up when i plug it into another laptop. Similarly, when i use someone else's iphone, that shows up in my itunes. Obviously my itunes wont recognise my iphone. Please help

    Hello ashbyy123,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/ts1538
    2. Check the USB cable
    3. Verify that Apple Mobile Device Support is installed
    4. Restart the Apple Mobile Device Service
    5. Verify that the Apple Mobile Device USB Driver is installed
    6. Check for third-party software conflicts
    Have a nice day,
    Mario

Maybe you are looking for