Jsp files displaying a blank page

Hi I have integrated tomcat5 and Apache 2 using mod_jk in Fedora 7.
I had no problem starting Tomcat5 and Apache 2 server. The problem is when I tried to browse my
jsp file.. it display a blank page. I try to see the log files but there is no error related to this.
here is my jsp file..
<%@ page contentType="text/html; charset=iso-8859-1" language="java" errorPage="" %>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Hello World JSP</title>
</head>
<body>
<h1><% out.println(" Hello world JSP!"); %></h1>
</body>
</html>please help me.. Thanks in advance for your help..

here is my new HelloWorld.jsp..
<%@ page contentType="text/html; charset=iso-8859-1" language="java" errorPage="" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Hello World JSP</title>
</head>
<body>
<h1><% out.println(" Hello world JSP!"); %></h1>
</body>
</html>
it still display a blank page.
here is my context path..declared in server.xml
<Context path="" docBase="/var/www/myweb" debug="0" reloadable="true"/>
My HelloWorld.jsp is save in /var/www/myweb
what is the problem? thanks..

Similar Messages

  • Struts -- LogonView.jsp Displays A Blank Page

    I am using the Struts. My LogonView.jsp displays a blank page. I have no idea why nothing is written while the MessageResources.properties file is found. (I would have gotton HTTP Status 500 if the MessageResources.properties is not found or the value of the corresponding key in the bean:message tag cannot be picked up.)
    Here is my MessageResources.properties file:
    button.submit=Send for Verification
    button.reset=Clear the Form
    logonForm.userId=User Name
    logonForm.password=Password
    logonForm.confirm_password=Confirm Password
    logonForm.emailAddress=E-mail Address
    logonForm.hear_from_us=How did you hear about the StudentScholar.org?
    logonForm.subscriber=Subscribe to the StudentScholar.org newsletter
    logonForm.send_updates=Occassionally send me updates
    logonForm.fname=First Name
    logonForm.lname=Last name
    logonForm.streetAddress=Street Address
    logonForm.city=City
    logonForm.state=State
    logonForm.zip=Zip Code
    logonForm.country=Country
    logonForm.phone=Telephone
    logonForm.degree_type=Degree Type(s)
    logonForm.major=Majoring Field(s)
    logonForm.cumulativeGPA=Cumulative GPA
    logonForm.collegeID=College ID
    logonForm.permissionID=Permission ID
    logonForm.last_logon_date=Last Logon Date
    heading.logon=<H2>Enter your user information</H2>
    title.logon=Logon Screen
    error.invalid.logon=<li>The User ID and/or Password are invalid. Please try again.</li>
    errors.header=<h3><font color="red">Validation Error</font></h3>You must correct the following error(s) before proceeding:<ul>
    title.mainmenu=Welcome
    heading.mainmenu=<H1>Welcome!</H1>
    label.userType=<H2>You are authorized to use this system as a</H2>
    errors.prefix=<LI>
    errors.suffix=</LI>
    errors.footer=</UL><hr>
    errors.minlength={0} can not be less than {1} characters.
    errors.required={0} is required.
    errors.date={0} is not a date.
    errors.double={0} must be an double.
    errors.email={0} is an invalid e-mail address.Here is my LogonView.jsp:
    <!-- LogonView.jsp -->
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <html>
    <head><title><bean:message key="title.logon" /></title>
    <html:javascript formName="logon" />
    </head>
    <body bgcolor="white">
    <bean:message key="heading.logon" />
    <html:errors />
    <html:form action="/logon" onsubmit="return validateLogon(this)" >
    <table border="0" width="100%">
        <tr>
            <th aligh="right">
               <bean:message key="logonForm.userId" />:
            </th>
            <td align="left">
            <html:text property="userId" size="10" />
         </td>
        </tr>
        <tr>
            <th aligh="right">
               <bean:message key="logonForm.password" />:
            </th>
            <td align="left">
            <html:password property="password" size="10" />
         </td>
        </tr>
        <tr>
            <th aligh="right">
               <bean:message key="logonForm.confirm_password" />:
            </th>
            <td align="left">
            <html:password property="confirm_password" size="10" />
         </td>
        </tr>
        <tr>
            <th aligh="right">
            <bean:message key="logonForm.emailAddress" />:
            </th>
            <td align="left">
            <html:text property="emailAddress" size="25" />
         </td>
        </tr>
        <tr>
            <th aligh="right">
            <bean:message key="logonForm.hear_about_us" />:
            </th>
            <td align="left">
               <html:text property="hear_about_us" size="25" />
         </td>
        </tr>
        <tr>
            <th aligh="right">
               <bean:message key="logonForm.subscriber" />:
            </th>
            <td align="left">
               <html:checkbox property="subscriber" />
         </td>
        </tr>
        <tr>
            <th aligh="right">
            <bean:message key="logonForm.send_updates" />:
            </th>
            <td align="left">
               <html:checkbox property="send_updates" />
         </td>
        </tr>
        <tr>
            <th aligh="right">
               <bean:message key="logonForm.fname" />:
            </th>
            <td align="left">
            <html:text property="fname" size="15" />
         </td>
        </tr>
        <tr>
            <th aligh="right">
            <bean:message key="logonForm.lname" />:
            </th>
            <td align="left">
            <html:text property="lname" size="15" />
         </td>
        </tr>
        <tr>
            <th aligh="right">
            <bean:message key="logonForm.streetAddress" />:
            </th>
            <td align="left">
            <html:text property="streetAddress" size="50" />
         </td>
        </tr>
        <tr>
            <th aligh="right">
            <bean:message key="logonForm.city" />:
            </th>
            <td align="left">
            <html:text property="city" size="15" />
         </td>
        </tr>
        <tr>
            <th aligh="right">
            <bean:message key="logonForm.state" />:
            </th>
            <td align="left">
               <html:text property="state" size="25" />
         </td>
        </tr>
        <tr>
            <th aligh="right">
            <bean:message key="logonForm.zip" />:
            </th>
            <td align="left">
            <html:text property="zip" size="10" />
         </td>
        </tr>
        <tr>
            <th aligh="right">
            <bean:message key="logonForm.country" />:
            </th>
            <td align="left">
            <html:text property="country" size="25" />
         </td>
        </tr>
        <tr>
            <th aligh="right">
            <bean:message key="logonForm.phone" />:
            </th>
            <td align="left">
            <html:text property="phone" size="15" />
         </td>
        </tr>
        <tr>
            <th aligh="right">
            <bean:message key="logonForm.degree_type" />:
            </th>
            <td align="left">
            <html:textarea property="degree_type" rows="9" cols="90" />
         </td>
        </tr>
        <tr>
            <th aligh="right">
            <bean:message key="logonForm.major" />:
            </th>
            <td align="left">
            <html:text property="major" size="15" />
         </td>
        </tr>
        <tr>
            <th aligh="right">
            <bean:message key="logonForm.cumulativeGPA" />:
            </th>
            <td align="left">
            <html:text property="cumulativeGPA" size="4" />
         </td>
        </tr>
        <tr>
            <th aligh="right">
            <bean:message key="logonForm.collegeID" />:
            </th>
            <td align="left">
            <html:text property="collegeID" size="5" />
         </td>
        </tr>
        <tr>
            <th aligh="right">
            <bean:message key="logonForm.permissionID" />:
            </th>
            <td align="left">
            <html:text property="permissionID" size="5" />
         </td>
        </tr>
        <tr>
            <th aligh="right">
            <bean:message key="logonForm.last_logon_date" />:
            </th>
            <td align="left">
            <html:text property="last_logon_date" size="15" />
         </td>
        </tr>
        <tr>
            <td align="right">
                <html:submit>
                    <bean:message key="button.submit" />
                </html:submit>
            </td>
            <td align="right">
                <html:reset>
                    <bean:message key="button.reset" />
                </html:reset>
            </td>
        </tr>
    </table>
    </html:form>
    </body>
    </html>

    Any feedback. Your help would be much appreciated.

  • How appears a  new JSP  file  in the same page?

    Hello all,
    I have a JSP file in a portal page.From this file I want to open another one.The new file must be opened in the same portal page with the same size and exactly in the same place. But it always openes a completely new page and the portal page disappears.I know that the mistake is from the provider file, but I don't know what should I change.
    Thanks for your help!
    K.Chrostani

    In my.jsp you could put a form with n submit buttons whith different values of parameter "name", like this:
    ---My.jsp------
    <form method="yourMethod" action="My.jsp">
    <input type="submit" value="Button1" name="button1">
    <input type="submit" value="Button1" name="button2">
    <input type="submit" value="Buttonn" name="buttonn">
    </form>
    <%if(request.getParameter("button1")!=null){%>
    <jsp:include page="f1.jsp">
    <%}%>
    <%if(request.getParameter("button2")!=null){%>
    <jsp:include page="f2.jsp">
    <%}%>
    <%if(request.getParameter("buttonn")!=null){%>
    <jsp:include page="fn.jsp">
    <%}%>
    I didn't try it but it might work.

  • CF 8 not rendering page, displays a blank page

    Okay I have something that started to happen today and it
    seems others have seen it happening on IE. I try to go to a page on
    our site it doesn't display anything, just a blank page. If you hit
    refresh it works fine and continues to work as it should until you
    close the browser. If you close the browser and try to access the
    page again you will get a blank screen, refresh fixes it. Nothing
    in the code or on the server has changed since yesterday. But we
    have had similar reports of this happening to users hitting a
    submit button and getting a blank screen. This however is the first
    time I have been able to replicate the issue. I have tried this
    issue on IE, Firefox, and Flock and all give the same issue. Also
    there are no errors and any log files. Anyone know what may be
    causing this???

    We resolved our problem by adding memory to our server. We
    had a number of strange problems including the one noted above that
    were only resolved by restarting CF services regularly. The
    problems all went away after we noticed our server's physical
    memory was insufficient and increased it substantially. The
    application we have running on this server is pretty memory
    intensive (storing a lot of very large queries in APPLICATION scope
    variables).

  • Safari displays white blank page

    I'm using OSX 10.8.5 on Macbook pro Intel Core 2 Duo.
    Since almost a year ago, I didn't see pages in Safari, it display white blank screen but it has contents.
    Safari loaded contents, but it didn't render contents into page.
    I found that, Safari update entry of 'com.apple.afari.plist' file in the Preference folder and it cause Safari fail to render pages.
    When Safari start, it changes
              <key>com.apple.Safari.ContentPageGroupIdentifier.WebKit2AcceleratedCompositingEnabled</key>
    entry to
    <false/>
    and next time I start Safari, white blank page displayed.
    If I change
              <key>com.apple.Safari.ContentPageGroupIdentifier.WebKit2AcceleratedCompositingEnabled</key>
    entry to
    <true/>
    and start Safari, I can see pages well, but I can't stop Safari to update the value to false.
    Any solutions to solve this issue ?

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, or by corruption of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and Wi-Fi on certain models.  The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • BI 7.0 Analysis Authorization issue: some reports displaying a blank page.

    Hi All,
    This is regarding BI 7.0 Analysis Authorization issue.
    Overview:
    we have restricted some queries at infoobject level.
    Issue:
    a. For some of the queries, we can see the selection screen but when we try to execute the query by clicking on the execute button (Queries WAD) we get a blank page, meaning nothing is displayed on the output (white/Blank screen).
    b. When we execute the same query through RSRT, we get a message which says "Disconnecting from BW server..".
    c. Let me explain further on this. Basically we are doing this in order to have limited access to Auditors at the client side. At the same time normal users should not get impacted due to this, hence we created two roles. One for normal users and other for Auditors.
    d.  Now the thing is that we execute the same report with normal user ID's the report executes properly and displays the output. it does not show the blank page.
    e. But when we execute the same report with Auditors ID then we get a blank page.
    Any idea why this is so?

    Hi Neha,
    I tried the below also,
    GL Acnt
    I EQ 0000134010
    I EQ :
    but still it didn't work.
    No Infoobject is missing in Authorization Object.
    For your point, "rsecadmin - > analysis -> execute as -> check for the desired user & analyze the log" it didnu2019t allow me to analyze, since as soon as click on execute button a pop-up comes up saying "Disconnecting from the BW server..."
    As mentioned earlier also it is giving me the below message,
    ""I>> Row: 103 Inc: AUTHORITY_02 Prog: CL_RSR_RRK0_AUTHORIZATION                                                                       RS_EXCEPTION        301CL_RSR_RRK0_AUTHORIZATION                         AUTHORITY_02"
    Kindly suggest, since this is a show-stopper for us!
    Thanks,
    Ishdeep Kohli.

  • My story file stuck a blank page 1 at the beginning.

    How do I get rid of a blank page 1 at the beginning of my story file? It won't let me get rid of it.

    I'm having the same problem, only it's the page immediately after the title page.  Everything had been working beautifully with Adobe Story but coincidentally, when I got on Adobe Story this morning, it asked to update.  Is this just a coincidence? 
    Also, this glitch is several years old, per previous forums.  Was it ever fixed???
    I tried both copy and cutting and pasting to that second page to work around it.  Instead, it added some of the beginning of the script to the title page and did not paste the rest of the script, however, it did paste this same peice on the second page.  I couldn't edit this either, nor delete it.  I could only undo to get back to the original problem.

  • Certain PDF files only print blank pages

    I recently upgraded to Adobe Pro 9 Windows.  Everything was great until I received a couple pdf files by email this morning that I needed to print and sign.  All other pdf files on my computer print fine.  These two pdf files go to the printer but only print out blank pages.  Any thoughts?

    My printer light blinks like it's receiving something, but then never prints.  The light stops blinking and the printer icon in the corner goes away like it thinks it printed. 
    I'm puzzled too.  I've never not been able to print a PDF file.  I've also never worked so hard to do so!  Frustrating to say the least. 
    Each page printed as an image (the only way it will print at all) takes about 2-3 minutes to print ... EACH PAGE.  Ugh.  A real time waster for sure.

  • Why does the website display white blank pages only?

    Hello:
    I use Firefox 13.0.1 on a Mac OS X, and I often go to www.wenxuecity.com for news. But, in the past couple of days, when I type in that address in the URL window, only a white blank page shows up. Nothing else! If I use Google to find direct links to a few news items at that website and click the links, I also get white blank pages. No error message or anything else.
    Could you tell what is going on here?
    Many thanks!

    Is the page completely blank or is there still some content visible?
    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    You can also try to check the Net log in the Web Console (Web Developer > Web Console;Cmd+Shift+K) to see if that bring up errors about loading files.<br />
    You can double click a net log entry to see more details.
    *https://developer.mozilla.org/en/Tools/Web_Console
    *https://developer.mozilla.org/en/Using_the_Web_Console
    You need to reload web page(s) and bypass the cache to refresh all files with the Web Console panel open.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Cmd + Shift + R" (MAC)

  • RoboHelp for Word: The Help file opens a blank page

    Hello,
    The Help files were working fine all these days. Today when i
    click on the help on the webpage, it shows a blank page. I am using
    RoboHelp for Word X5. I do not get any error message on the screen.
    I can just see the progress bar just blinking and also our website
    link which says transferring. None of my help files on the live
    applications are working
    Please help.
    Regards
    Chandrika

    That link works for me in IE and FF so I think we can rule
    out your output.
    If the problem is the call, anyone who accesses it via the
    link you gave me should be OK and only see the problem when the
    help is called via the application.
    If the problem is the help, anyone will see it, no matter how
    they access the help.
    I think both can be ruled out as they do not fit what you
    describe. I would therefore be inclined to forget the RH8 idea.
    You said
    "The clients are having the same problem again. It seems that
    the help page keeps refreshing again and again in their systems.
    When i checked it at office network, the systems that are connected
    through proxy are giving the problem. The other systems which are
    not connected through proxy are working fine."
    This is consistent but it is something IT will have to
    resolve.

  • Firefox opens, then it loads, then it displays a blank page , and then disappears????

    Firefox opens, then loads a blank page with prior tabs, then after 5 seconds it disappears off the screen! Poof never to be seen again!

    Firefox opens, then loads a blank page with prior tabs, then after 5 seconds it disappears off the screen! Poof never to be seen again!

  • My home page is set to google & is always open, after i open new tabs to other web pages & then go back to the original home page tab it is frozen or if not frozen you try to do a search & it displays nothing (blank page white background)

    If the above problem occurs I can open a new home(ie google) in a new tab & it works every time.
    When original home page isnt frozen & will let you do a google search but displays blank you cannot return to the original page (ie using back button or home button).
    When the page is frozen you can do nothing with it.

    # Click the orange Firefox button, then select Options to open the options window
    # Go to the General panel
    #Change the setting "When Firefox starts" to "Show my home page"

  • Contribute CS4 is overwriting my files with a blank page

    Hello,
    I'm hoping that someone can help resolve this issue we're having with Contribute CS4. My client has successfully used the software for several months and recently the issue started.
    Now, when he tries to publish a page that he has made edits to, Contribute overwrites the previous file (HTML file) and puts a completely blank HTML page in it's place. He's using a Windows XP PC and the hosting (Network Solutions) is fine. I can connect using my FTP client and am able to make edits using Dreamweaver CS4.
    He gets an error message that says:
    “Contribute encountered a network or file system error.  Please try the operation again, and contact the administrator if the problem continues to occur.”
    Thanks for any help in advance!
    - Al
    http://www.ampatentdrawings.com/

    Do you Know how to Close a app in the Background? Try this at First
    If Same issue, restart
    If still Same issue, reset (hold Home+powerbutton for a VEW seconds, Till you See the Apple)

  • Include a jsp file in the same page by click on a button

    Hello Everybody
    I'd like to control "my.jsp" page by clicking on some buttons. So if I click on Button1, f1.jsp go to be includeing in "my.jsp" or Button2 to include f2.jsp on "my.jsp" and so on
    Thank you in addvance

    In my.jsp you could put a form with n submit buttons whith different values of parameter "name", like this:
    ---My.jsp------
    <form method="yourMethod" action="My.jsp">
    <input type="submit" value="Button1" name="button1">
    <input type="submit" value="Button1" name="button2">
    <input type="submit" value="Buttonn" name="buttonn">
    </form>
    <%if(request.getParameter("button1")!=null){%>
    <jsp:include page="f1.jsp">
    <%}%>
    <%if(request.getParameter("button2")!=null){%>
    <jsp:include page="f2.jsp">
    <%}%>
    <%if(request.getParameter("buttonn")!=null){%>
    <jsp:include page="fn.jsp">
    <%}%>
    I didn't try it but it might work.

  • [Deploy WAR File with Tomcat]  Blank page  after login to DSCC

    i installed Sun Java System Directory Server Enterprise Edition 6.3 ( Zip Distro) in SuSe Linux 10 sp2 (64bit )
    and I've deployed DSCC web console in tomcat with following installation guide
    http://docs.sun.com/app/docs/doc/820-2761/6nebf1543?a=view
    open browser , go to http://hostname:8080/dscc, The Directory Service Manager Login page displays.
    i entered username/password , after that, nothing come up in the page...
    Anyone got idea ?
    Edited by: ikcat on Jan 16, 2009 12:06 AM

    Usually restarting Tomcat will help. Do the Tomcat logs have anything of interest?

Maybe you are looking for

  • InDesign1.5 / Windows7 / won't open existing files

    'Cannot open the file "bn66y.indd". InDesign may not support the file format, or a plug-in that supports the file formay may be missing.' I have been using InDesign1.5 for some years on an XP system, and recently on one under XPx64 with no problems.

  • How to get the edit channel link from within the channel?

    Following problem: I want to include a link to edit the settings of a channel in the channel contents. The link should be the same as the edit button on the frame of the channel container. Searching through the provider jsps I found that the edit lin

  • Error in Opening VI

    Hey all, While opening a VI I got this error, I don't have any idea how this happened. Is there any way to recover the VI ??

  • Can you merge AIR projects with RH 8

    I have two projects, both produed in RH8, and each of which gives good AIR output. I want to merge the projects and generate one sigle merged AIR file. Is this possible? [From my source files I can generate merged WebHelp, but when I select AIR as th

  • Getting Locked Up in Programs and then I get kicked out or must Force Quit

    I don't know if this is Leopard related or not. I upgraded a Macbook and an iMac G5 to Leopard a couple months ago. My Macbook has had no issues, but my iMac seems to constantly run into lock ups where either I'll eventually get kicked out of the pro