Others cant view my pages (using: TOMCAT 4.1.24 server)

I create pages.. JSP and regular HTML pages but when i give someone over the internet my IP address to view it the get error. However when i use my ip address instead of http://localhost:8080 i can view the pages. What is the problem???

I'm using win98.. on a dialup connection. I get myip
addresss from winipcfg. my ip address is currently
128.235.11.193 and the address of the page is
http://128.235.11.193:8080/myfirst.jsp
or http://...8080/index.jsp (default file that
comes
w/ Tomcat)
thanx again. don't put your ip out there, not a good idea.
not sure, but dialup isps don't usually permit in coming http requests. I can't tell right now, I'm behind a firewall myself.

Similar Messages

  • Using Tomcat as a web server at deployment stage

    Hi everyone,
    Does anyone of you ever used Tomcat as a web server at deployment stage?
    Has he then faced performance problems? or any other of any kind?
    Was he limited in the number of users to get an acceptable request process time? Is there a special configuration to set in the web.xml file?
    Any help would be greatly appreciated.
    Thanks in advance.
    Jennifer

    We have a Tomcat server in production (no Apache/IIS, Tomcat is on port 80) and it runs great. We have about 200 heavy use users on it. The server (version 4.18) is on a Windows 2000 Server / 512 Meg RAM / P3-800 DELL Box. Its connected to a SQL 2000 Server on another box through the built in Tomcat DBCP connection pool.
    We were initially going to run it through IIS; but we found it such a pain to set up we decided to leave it on Tomcat. For our application it probably would not have shown a difference in speed anyways.
    Its very fast and reliable for us.
    As far as tuning, there is a document here that will to you what to do; its very basic actually; just two changes.
    http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html#Production%20Configuration
    Also, make sure you don't have any reloadable="true"'s in your Context's.
    - Chris

  • Viewing Excel Files using Tomcat - Problem with caching

    Hi all,
    A small part of an application I'm writing has links to Excel files for users to view/download. I'm currently using Tomcat v5 as the web/app server and have some very simple code (an example is shown below) which calls the excel file.
    <%@ page contentType = "application/vnd.ms-excel" %>
    <%
    response.setHeader("Pragma", "no-cache");
    response.setHeader("Cache-Control", "no-cache");
    response.setDateHeader("Expires", 0);
    response.sendRedirect("file1.xls");
    %>
    This all works except but I'm having one big problem.
    The xls file (file1.xls) is updated via a share on the server so each month, the xls file is overwritten with the same name but with different contents. I'm finding that when an update is made to the xls file and the user then attempts to view the new file in the browser they recieve only the old xls file. It's caching the xls file and I don't want it to. How can I fix this so that it automatically gives the user the new updated file.
    The only way I've managed to get Tomcat to do this is to delete the work directory and delete the file from my IE temp folder and then restart Tomcat - this is a bit much!
    Any help would be greatly appreciated.
    Thanks.

    I'd a problem with caching a few years back, for a servlet request which returned an SVG file.
    As a workaround, I ended up putting appending "#" and a timestamp / random number after it. The browser assuming each request was new, and didn't use the cache.
    Eg.
    http://myserver/returnSVG.do#1234567
    where 1234567 is a timestamp / random.
    Not sure whether you can do this on a file based URL... but maybe worth a shot...
    regards,
    Owen

  • Calling a class in JSP page using Tomcat 5.5

    Hi,
    I want to call a java class in a JSP page but getting error.
    I am trying to deploy JSP through a WAR file so for that I have created folder structure as per requirement and in WEB-INF folder, I kept web.xml file.
    What entry exactly I have to make in web.xml file as I am using Tomcat 5.5 webserver. When the same code I put in JSP then it works.
    my web.xml entry is
    <servlet>
    <servlet-name>TBS</servlet-name>
    <servlet-class>pack1.GetData</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>TBS</servlet-name>
    <url-pattern>/JSP/TBS_main</url-pattern>
    </servlet-mapping>
    Do I need to change in it or we have to make some more entries in different XML files.
    Please help me to resolve this issue.
    Thanks
    Mukesh

    you dont have to specify the class file in the web.xml just import it on your jsp then instatiate the class on the scriplet and you can call the methods on it.

  • Cant find bean class from jsp page using Tomcat 4

    Hi
    I have searched numerpus forums and seen many posts from people who seem to have the same problem however none of the solutions seem to work for me.
    I have a jsp page which is trying to call a bean method however I get an error
    saying that the class for the bean cannot be found. I have :
    1. put the class in a package called kolaBean under
    C:\Program Files\Apache Tomcat 4.0\webapps\ROOT\begjsp-ch01\WEB-INF\classes\kolaPackage
    2. included the package statement in the java file for the bean
    3. included an empty constructor in the java file for the bean
    4. I have declared the above constructor as public (is this necessary?)
    5. used the full package name:
    kolaPackage.kolaBean bakedBean = new kolaPackage.kolaBean();
    6. imported import java.beans.*; (is this necessary ?)
    7. still got the same error...
    Any pointers really really appreciated
    Thanks
    Kola

    in reply to David Rons email:
    Is this a fresh install of tomcat? If so, it could be a configuration
    problem.Yes it is
    Is the class public in the package (I forget that all the time)?Yes it is. I have also declared the constructor to be public is this
    necessary?
    What's the error message?here is the error message:
    An error occurred between lines: 11 and 14 in the jsp file:
    /begjsp-ch01/kolaBean.jsp
    Generated servlet error:
    C:\Program Files\Apache Tomcat
    4.0\work\localhost\_\begjsp-ch01\kolaBean$jsp.java:59: Class
    kolaPackage.kolaBean not found.
         kolaPackage.kolaBean bakedBean = new
    kolaPackage.kolaBean();
         ^
    2 errors
    Thanks in advance
    Kola

  • Cant view whole page in design view

    Hello, I recenty ran into a proble in DW8 that I cant solve.
    I went to open up one of my pages to update it within
    dreamweaver and when I did all I saw was a table on the left side.
    The body of the page was missing (just a grey background). All code
    appears there including the stuff that is within the body that I
    cant access or see. If I click on a line in the split view I should
    see where that line is in the design portion of the split view.
    Unfortunately I do not, all I see a huge cursor blinking where the
    entire body should be (now grey).
    What happend, how can I fix this? The web site is Ferttek.com
    and the page that is goofed up in DW is the contacts page, also
    called index-4.html. I have attached the entire code from that page
    if that helps.

    Add this to the code you posted........
    ces please leave the following
    information;</p></td>
    </tr>
    </table>
    <table width="430" border="0">
    <tr>
    <td><ul>
    <li class="style1">Name </li>
    <li class="style1">Address</li>
    <li class="style1">Phone number</li>
    <li class="style1">e-mail address (your e-mail will not
    be shared with
    other marketing companies)</li>
    <li class="style1">Nature of request, please be as
    specific as possible
    so we may handle your request as quickly as possible.
    </li>
    </ul>
    <p align="center"><a href="index.html"><img
    src="Discounts available
    starburst.png" width="150" height="150"
    border="0"></a></p>
    <p> </p></td>
    </tr>
    </table>
    <p> </p></td>
    </tr>
    </table>
    </div>
    </div>
    <p align="center"><span class="style33">Guest
    Book </span></p>
    <div style="margin-left:25px">
    <div align="center">
    <p><span class="style30"><span
    class="style28">Please note that the
    guest book feature of this page is under construction and is
    not
    available at this time</span>.</span><br
    style="line-height:16px">
    </p>
    </div>
    <table cellspacing="0" cellpadding="0">
    <tr>
    <td style="width:208px; height:233px"><img
    src="sources_Y82CZ7U8h0/images/title4_3.gif"
    alt=""><br>
    <br style="line-height:12px">
    <strong>Customer Service:</strong><br>
    Telephone:    1-630-841-2988<br>
    FAX:               N/A<br>
    E-mail: <span><a
    href="mailto:[email protected]">[email protected]</a></span><br>
    <br style="line-height:14px">
    <strong>Web site questions:</strong><br>
    Telephone:     +1
    959 603 6035<br>
    FAX:               +1
    101 889 9898<br>
    E-mail: <span><a
    href="mailto:[email protected]">[email protected]</a></span><br>
    </td>
    <td style="width:212px; height:233px;
    background-image:url(sources_Y82CZ7U8h0/images/y1.gif);
    background-repeat:repeat-y"><div
    style="margin-left:30px"> <img
    src="sources_Y82CZ7U8h0/images/title4_4.gif"
    alt=""><br>
    <br style="line-height:15px">
    <form action="" enctype="multipart/form-data"
    id="form">
    <table cellspacing="0" cellpadding="0" class="form">
    <tr>
    <td style="width:173px; height:26px"><input
    name="Input" type="text"
    value="Name:"></td>
    </tr>
    <tr>
    <td style="width:173px; height:26px"><input
    name="Input2" type="text"
    value="E-mail:"></td>
    </tr>
    <tr>
    <td style="width:173px; height:126px"><textarea
    name="textarea"
    cols="0" rows="0">Message:</textarea></td>
    </tr>
    <tr>
    <td style="width:173px; height:19px"><br
    style="line-height:2px">
    <img src="sources_Y82CZ7U8h0/images/spacer.gif" alt=""
    width="100"
    height="1"><a href="#"
    onClick="document.getElementById('form').reset()">clear</a><img
    src="sources_Y82CZ7U8h0/images/spacer.gif" alt="" width="20"
    height="1"><a href="#"
    onClick="document.getElementById('form').submit()">send</a>
    </td>
    </tr>
    </table>
    </form>
    </div></td>
    </tr>
    </table>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    </div></td>
    </tr>
    <tr>
    <td height="51" style="width:471px; height:100%;
    background-image:url(sources_Y82CZ7U8h0/images/bottom1.gif);
    background-repeat:no-repeat; background-position:left
    bottom"> </td>
    </tr>
    </table></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td height="89" style="width:667px;
    height:89px"><div
    style="margin-left:396px" class="policy"> <br
    style="line-height:8px">
    Copyright 2006 &copy; landscape design.<a
    href="index-4.html"> All
    rights reserved.</a> </div></td>
    </tr>
    </table></td>
    <td style="width:48px; height:800px"></td>
    </tr>
    </table></td>
    </tr>
    </table>
    </BODY>
    </HTML>
    chin chin
    Sinclair

  • Can connect via WLAN but cant view web pages - 55...

    I've only ever used my phone to connect to the net via my wifi (wlan).  Today though when I click icons on my home page the white web page browser opens for a few seconds (but stays white) and then disappeared.  I've been into settings - connectivity - wireless LAN - and get a successfull connection, but then if I go to options and start web browsing it just goes back to the WLAN wizard.  I've even restored the factory settings, and even swapped sim cards but the problem is still there - any help would be much appreciated.
    Thank you

    Since you were connected before, I suggest you perform a reset: 1)  *#7780# 12345 restore factory settings, keep data 2)  *#7370# 12345 reformat, lose all data. You can try to clean all private data and bookmarks before the reset.
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • How to view Secured page using J_Security_Check ?

    Dear Everyone,
    In the web application, i am using Form based authentication for security...
    i have configured exactly by giving login page and error page..
    i have also configured <security constraint> , < login -config>...
    But i receive error page while i give username and password....
    Please give ur suggestions.. i will show u my code..
    <security-constraint>
          <web-resource-collection>
              <web-resource-name>Protected Area</web-resource-name>
                  <!-- Define the context-relative URL(s) to be protected -->
                  <url-pattern>/jack.jsp</url-pattern>
                  <http-method>GET</http-method>
                  <http-method>POST</http-method> 
          </web-resource-collection>
    <auth-constraint>
          <role-name>user</role-name>
    </auth-constraint>     
    </security-constraint>
          <login-config>
          <auth-method>FORM</auth-method>
          <realm-name>Example Form-Based Authentication Area</realm-name>
          <form-login-config>
          <form-login-page>/index.jsp</form-login-page>
          <form-error-page>/error.jsp</form-error-page>
          </form-login-config>
          </login-config>
       <security-role>
            <description>user</description>
            <role-name>user</role-name>
      </security-role>   

    Reply to m00dy
    Thank u for ur suggestions...
    Every thing had been correct.., but still not working and i am receiving error page..
    please give ur suggestiopns
    the code is
    <table border="0" cellspacing="5">
        <tr>
          <th align="right">Username:</th>
          <td align="left"><input type="text" name="j_username"></td>
        </tr>
        <tr>
          <th align="right">Password:</th>
          <td align="left"><input type="password" name="j_password"></td>
        </tr>
        <tr>
          <td align="right"><input type="submit" value="Login"></td>
          <td align="left"><input type="reset"></td>
        </tr>
      </table>

  • How to view unseen pages using Smart Print

    I have a HP Photosmart C4480 All-In-One Printer, running Vista 64-Bit and Windows 9.  Once Smart Print has highlighted text, I have not found the method of viewing text that is out of screen view.  Ex:  An email, including recipients is three pages long.
    How do I get to the next page to deselect/select?  Thank you.

    Hey sgt_sid,
    Welcome to the BlackBerry Support Community Forums.
    Thanks for the question.
    Is the Browser set to Desktop mode? Open the browser and press the 3 dots and choose settings and open developer mode. Also can you provide an example of a WML website?
    Do you get a specific error as well?
    I look forward to your reply.
    Cheers.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • Viewing xsl page in tomcat

    i have a login screen code written in xsl . I copied the file into tomcat 4.1.12 and it doesn't display page design but instead the source code
    how to enable it to show the page????

    You need to write a servlet or jsp page which takes an XML document, and applies the stylesheet to it. You can find examples and sample code to do this on apache's Xalan project page.
    http://xml.apache.org

  • Cant view the page after upload!

    hi
    i recently did a design in catalyst.
    from the tutorials i watched they always say "you have to upload all the files". when i upload them i get the error message frow the browser "directory listing denied".
    why do i get an error like this, how can i solve this do ou guys have any ideas?
    thanks

    Hi,
    Good to hear you have this fixed.  Sounds like this has to do with the default page name on server where you are posting the files?
    There are three commonly used default page names that you can use on most Web servers:
    index.html
    index.htm
    default.htm (on some Windows servers)
    It's a good idea to stick with index.html or index.htm on most servers, as default.htm is most often used on Windows servers, and isn't as common as it used to be.  Take a look at this thread for more on renaming.

  • The webpages become so wide and overlap the screen. I think the 100% width is messed up. Now I cant view the page content of any website I have FF 5 .0.1. Why?

    The page content is moved to left about 40%. But there is no horizontal scroll bar below the browser so its impossible to see the content on the right side of the page. I think its a bug.

    @James - So is Flash Firefox's Achilles' Heel? It's a bit disappointing if Safari and Chrome could run PS.com without a problem. I was hoping it was a setting I could change or tweak to make everything flawless again. I really don't want to migrate to another browser.... :(

  • Problem accessing HTML pages using Tomcat 4

    I am very new to programming. I have created an html file (ThreeParamsForm.html) and placed it in development directoy. I am unsure of how to access that file. When i am typing http://localhost/ThreeParamsForm.html it is giving me HTTP Status 404 error. I have tried using servlets in similar way it is working fine. Please help.....

    did you include the port number if other than 80 ?
    i.e. http:\\localhost:8080\whatever

  • How to view web page in emulator/device using j2me

    hi
    i wanna view web page using j2me
    i am using code ----instead of getting teh page i am getting source code of the page and i am not getting any thing in real device so do i need a browser??cant i view this page inside my application??
    HttpConnection connection = null;
         InputStream inputstream = null;
         try
              this.platformRequest("http://www.lntinfotech.com");
              /* System.out.println("aaaaaaaaaaa11");
         connection = (HttpConnection) Connector.open("http://www.lntinfotech.com");
         System.out.println("aaaaaaaaaaa112");
         //HTTP Request
         connection.setRequestMethod(HttpConnection.GET);
         System.out.println("aaaaaaaaaaa113");
         connection.setRequestProperty("Content-Type","//text plain");
         System.out.println("aaaaaaaaaaa1133");
         connection.setRequestProperty("Connection", "close");
         System.out.println("aaaaaaaaaaa11444");
         // HTTP Response
         System.out.println("Status Line Code: " + connection.getResponseCode());
         System.out.println("Status Line Message: " + connection.getResponseMessage());
         if (connection.getResponseCode() == HttpConnection.HTTP_OK)
              this.platformRequest("http://www.google.com");
              System.out.println("aaaaaaaaaaa11444555");
         System.out.println(
         connection.getHeaderField(0)+ " " + connection.getHeaderFieldKey(0));
         System.out.println(
         "Header Field Date: " + connection.getHeaderField("date"));
         String str;
         inputstream = connection.openInputStream();
         int length = (int) connection.getLength();
         if (length != -1)
         byte incomingData[] = new byte[length];
         inputstream.read(incomingData);
         System.out.println("aaaaaaaaaaa1144555");
         str = new String(incomingData);
         else
         ByteArrayOutputStream bytestream =
         new ByteArrayOutputStream();
         int ch;
         while ((ch = inputstream.read()) != -1)
         bytestream.write(ch);
         str = new String(bytestream.toByteArray());
         bytestream.close();
         System.out.println(str);
         }

    instead of getting teh page i am getting source code of the page and i am not getting any thing in real device so do i need a browser??Yes.
    cant i view this page inside my application??Not unless you can write a browser component to parse and display the HTML. (you can't, it's too big a job)
    db

  • How to call Servlet from jsp page and how to run this app using tomcat..?

    Hi ,
    I wanted to call servlet from jsp action i.e. on submit button of JSP call LoginServlet.Java file.
    Please tell me how to do this into jsp page..?
    Also i wanted to execute this application using tomcat.
    Please tell me how to do this...? what setting are required for this...? what will be url ..??
    Thanks.

    well....my problem is as follows:
    whenever i type...... http://localhost:8080/appName/
    i am getting 404 error.....it is not calling to login.jsp (default jsp)
    but when i type......http://localhost:8080/appName/login.do........it executes servlet properly.
    Basically this 'login.do' is form action (form action='/login.do').....and i wanted to execute this from login jsp only.(from submit button)
    In short can anyone please tell me how to diaplay jsp page using tomcat 5.5
    plz help me.

Maybe you are looking for

  • Laserjet 4L, win 7, will only print test page(s)

    When I try to print anything else,  I get an error, with no particular message. The documents will just remain in the queue until I delete them. Right after installing, when I would try to print a doc, I would get an error message with options to tro

  • Hidden files

    In Windows Explorer I can see a TIF file. The file properties are set to show the file. It is not a hidden file. However, the file does not appear in Bridge CS4. In Bridge "View | Show Hidden Files" is selected. The cache has been purged and then reb

  • Firefox lags when scrolling

    Hi! I've just installed Firefox Beta on my HTC Desire HD and I have a problem. Even though everything seems to work quickly, scrolling lags a lot, even on very simple mobile websites. It's strange, because at the moment when it's not lagging, scrolli

  • Bluish tint on screen when Photoshop CS6 running

    Hi! I just bought a MacBook Pro three weeks ago. I'm running Mountain Lion. Also, I have my copy of Adobe Photoshop CS6. Something very unusual is happening. I'm a Graphic Designer and currently doing an Interior Design major. I calibrated my monitor

  • Opening an image email attachment on 6280

    Trying to get to grips with my new 6280 on t-mobile uk. I would like to be able to open email attachments that i pick up via pop3 but the only option i can see is to save attachments and then go into gallery to view... any one have any ideas. my only