Blank index.jsp and some jsf pages within WebContent folder

Hi dear all,
I have a problem with a blank index.jsp forwarding to a jsf file i.e. <jsp:forward page="/pages/xxx.jsf" />
I have tested with index.html (is showing with right contents), index.jsp (page loaded but blank), index.jsf (page loaded but blank).
Web Server details : Tomcat 6.0.18 running on Linux.
Folder structure is
Webapps
|-----<application>
|---------WebContent
|---------pages (same level as WEB-INF)
|---------WEB-INF (same level as WEB-INF)
within WEB-INF, web.xml is as follows:
============================
<?xml version="1.0"?>
<!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>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config.xml</param-value>
</context-param>
<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>
<!-- Faces Servlet -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup> 1 </load-on-startup>
</servlet>
<!-- Faces Servlet Mapping -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
     <session-config>
<session-timeout>35</session-timeout>
</session-config>
</web-app>
But direct access to jsf files within pages directory is showing, which is not desirable.
Can someone advise me why?
Many thanks and have a good day,
May

Mei_Liew wrote:
I have a problem with a blank index.jsp forwarding to a jsf file i.e. <jsp:forward page="/pages/xxx.jsf" />You forgot to tell more about the problem. What happens? What happens not?

Similar Messages

  • "b2b/admin/index.jsp" and "XCM" throwing error

    Hi,
    I am trying to set up my local NWDS with sneak preview of SAP WEB AS 7.0 SP9.
    I have deployed
    SAP-SHRAPP - SP12
    SAP-CRMDIC - SP12
    SAP-SHRWEB - SP12
    SAP-SHRJAV - SP12
    SAP-IPCMSA - SP12
    Now I am trying to access "http://<host>:50100/b2b/admin/index.jsp"; and I am not getting any thing on it. i.e. no content at all. Only SAP header and "Main Menu" text on left frame and then nothing on page.
    When I try to access "http://<host>:50100/b2b/admin/xcm/init.do";  or "http://<host>:50100/b2b/b2b/init.do"; I am getting below error.
    Application error occurred during request processing.
      Details:   Error [javax.servlet.ServletException: Initialization of Extended Configuration Management failed.].
    Exception id: [00A0D12CD9A9004F0000032300001358000458B1834E9FB5]
    I do not know why I am getting this error. Am I forgot some component to deploy along with mentioned above.
    Please let me know what I can do to resolve this issue.
    I really appreciate any help or guidance to resolve this issue.
    Thanks.
    Ecommerce Developer

    Hi Devender,
    Thanks for your reply.
    I have installed Sneak Preview NW2004s 7.0 SP9 on my lap top and I have deployed below component on my laptop through SDM.
    SAP-SHRAPP
    SAP-IPCMSA
    SAP-SHRJAV
    SAP-SHRWEB
    SAP-CRMDIC
    SAP-CRMAPP
    SAP-CRMJAV
    STRUTS
    TEALEAF
    All are SP12
    After deploying all above SCA files still I am getting only Header and Main Menu text when I access "http://localhost:50100/b2b/admin/index.jsp"
    When I try to access "http://localhost:50100/b2b/admin/xcm/init.do" I am getting same error which I have mentioned.
    No change at all.
    Can you tell me am I still missing some components?
    Please guide me.
    Again thanks for your help and time.
    Regards.
    Ecommerce Developer

  • Problem with index.jsp and JSF

    hi all
    I have an index page "index.jsp" in the root directory of deployed project and in that page there is just a <jsp:forward> tag:
    <jsp:forward page="pages/mainPage.jsf" />I am using facelets and I have a template.xhtml
    when I run the browser nothing will be desplayed. by looking at Tomcat console, it seems that it renders the template.xml. if I place the path of the page directly in the address bar of browser, everything is OK
    http://localhost:8080/myproject/pages/mainPage.jsf
    but if I put following, it doesnt work.
    http://localhost:8080/myproject/
    I set the welcome-page to index.jsp in web.xml, and my pages are located in a directory namely "pages"
    any help will be appreciated.
    regards
    Mohammad

    I'm not sure what the problem is exactly. This topic might help though:
    http://forum.java.sun.com/thread.jspa?threadID=696586
    Be sure to read right to the bottom. You may be able to try a couple other things.
    Hope this helps,
    CowKing

  • When i click a link inside clickbank and some other pages it opens in a window with no page link-just blank-i have set options to open in a new tab.

    in some web pages this opens a new window when i click the link-the new window has no address and is blank.i have marked my uptions for a new tab to open instead of a window.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • How to design a complicated and attractive jsf pages in jdeveloper

    Hi All,
    I have tried to deisgn jsf pages to looking attractive. But i cannot able to achieve that and it took me more time to design little complicated.
    Can anyone refer me any link or tell me how to design more complicated page.
    what is the layout procedure for that.
    My jdev version - 11.1.2.0.0
    Thanks in advance,
    SAN

    san-717 wrote:
    Hi All,
    I have tried to deisgn jsf pages to looking attractive. But i cannot able to achieve that and it took me more time to design little complicated.
    Can anyone refer me any link or tell me how to design more complicated page.
    what is the layout procedure for that.Well… there's a lot to this. First, you'll have to have an idea of what should be on your page; how it is presented is ultimately a design decision, not one of layout. Once you have a design (paper sketches?), then you can proceed to start 'cutting up' your designs into larger components. Perhaps your applicaiton will have a larger page template that holds 'content' of other pages/page fragments.
    (If you're coming from OAF, for example, this is a pretty big difference - in ADF page design is very flexible, and how information is presented is largely up to developers/designers. There's no single method for laying out a page.)
    To add to the link above, there is also a list of 'design patterns' than can help with some common problems and ways of presenting information:
    http://www.oracle.com/technetwork/topics/ux/applications/gps-1601227.html

  • Move and rename JSF page

    How can I rename a JSF page? and how can I move a JSF page from one viewController project to another?

    Hi
    I am using JDev 10 and there is no refactor menu for refactoring a *.jsp page. You can create a new page and copy the content out of the old page into the newer. But dont forget to customize the faces-config.xml and your corresponding backing bean before you delete the old page.
    Regards
    Majo

  • Iolo System Mechanic app failed and has caused FF not to act right - not loading buttons and some web pages to be a list instead of what the UI should look like.... I have reinstalled but still have the problem and not sure what to do

    Basically certain web pages are not loading proper since app Iolo System Mechanic failed. I have reinstalled FF but still not loading right. Buttons are not showing and some pages are in a list instead of the GUI view.

    I installed and uninstalled Firefox several times - finaly after I selected NOT to have Firefox as the default browser, the installation worked and pages loads correctly now! I made Firefox the default browser after the successful installation!

  • Is it possible to export and import jsf page and application module?

    Hi,
    I want to export a application module and then import it to another application,so deos jsf pages.If I can do this ,then my team could do the diffent work at the same time.one group response for data model then commit as application module,one group for page create and edit and so on .Who has any good idea?
    Thanks advance
    lixinzhu
    2007/09/19

    hi,frank
    thank you.
    You know a page include a .jspx file,a page definition file and depend faces-config.xml,faces-config.oxd_faces and other I don't know information,so if i only put the first two file into cvs,but how can i get other information in the last two file?When I get the first two file and needed information in the other file,how can i merge these into new project and let jdeveloper "reconize it"?Applicaion is more complex,it not only depend its self java class,xml and many entity object and view object,how to handle the "export" and "import" process?Just like oracle form,only a fmb is enough,database object only need to "put into database","export" and "import" are very simple,so i need jdeveloper to supply these "import" and "export" function.I'm not familar with cvs,does it can know object dependency like application module?if it can,how to let jdev "reconize" imported in object?
    lixinzhu
    2007/09/19

  • TS3274 A line of pixels about one inch flash red on FaceTime and some web pages

    Just as the title suggests a line of pixels an inch long flash red on some web pages and all the time on FaceTime

    Uninstall Mackeeper and Avast.
    Myth of the Dirty Mac
    MacKeeper – Do Not Install
    MacKeeper – Do Not Install (2)        See  SDW2001’s post
    MacKeeper – Do Not Install (3)
    MacKeeper Removal
    Avast! Uninstall
    uTorrent and iAnti Virus probably aren't helping either.  Go to the developer's web site to find un-install instructions to make sure you completely remove all portions of the program.
    Safari 5.0.1 or later - Slow or partial webpage loading, or webpage cannot be found
    Safari - Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues
    Safari Problems

  • Wikipedia and some myspace pages "all greek" in safari!

    Hi everyone,
    anyone know how i can fix a possible corruption in safari? All wikipedia pages in whatever language are coming through in greek lettering, and some my space pages i've noticed are looking greek too. I've opened the same pages in firefox and they are fine and the same pages on my home computer open fine in safari too!
    Any ideas on how to remove the corruption??
    thanks

    Have a look at this article.
    http://www.creativetechs.com/iq/garbledfonts_troubleshootingguide.html
    It could be you need to clean up your font cache (example 1)
    or you have SOME kind of Phonetics font on there, conflicting.
    If your problem looks different than any of the examples,
    maybe you could post a screen shot here.

  • Why is my university not listed on the "Universities and Colleges" landing page within iTunes U when they have a page on iTunes U?

    I was looking for the iTunes U page of Southwestern Baptist Theological Seminary, but the institution was not listed on the "Universities and Colleges" landing page on iTunes U.  However, I was able to search for the page and found it.  Why is Southwestern not listed on the main landing page?  Is there someone I need to contact about this?

    Me too. Anyone else got this problem?
    I have 3 panels and no matter how i order the layers it always loads the right-most one first

  • Access JSF Pages within WEB-INF directory

    Hi,
    I am generating a project using JHeadstart 10.1.3
    with the default setting for the UI Pages directory (/WEB-INF/page).
    This means that the generated pages are placed in the page directory
    within the WEB-INF directory.
    The generated pages use ADF Faces and the problem is that I can't
    get access to the pages in the WEB-INF directory
    When I try to deploy to OC4J standalone, the pages in the WEB-INF directory
    are not accessible.
    I read that I have to construct a index.jspx file that forwards to
    the first page (Home.jspx)
    This is my index.jspx:
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
    <jsp:scriptlet> request.getRequestDispatcher("WEB-INF/page/Home.jspx").forward(request,response);
    </jsp:scriptlet>
    </jsp:root>
    This works, but I now have the problem of not getting a valid FacesContext:
    500 Internal Server Error
    javax.servlet.jsp.JspException: Cannot find FacesContext
    at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:405)
    at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:105)
    at web2d_inf._page._Home_jspx._jspService(_Home_jspx.java:100)
    [SRC:/WEB-INF/page/Home.jspx:9]
    at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.0.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:662)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:370)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
    etc. etc.
    What is the required way of setting up the forward (and having a valid FacesContext)?
    I know that this is a JHeadstart problem, but maybe you guys know how to solve it.
    Part of my web.xml:
    <description>Empty web.xml file for Web Application</description>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml,/WEB-INF/custom-faces-config.xml,/WEB-INF/JhsCommon-beans.xml,/WEB-INF/AppModule-Breadcrumb-beans.xml,/WEB-INF/Bpas-beans.xml,/WEB-INF/BpasLookup-beans.xml,/WEB-INF/GroupsLookup-beans.xml,/WEB-INF/PersonsLookup-beans.xml,/WEB-INF/OrganizationsLookup-beans.xml</param-value>
    </context-param>
    <context-param>
    <param-name>CpxFileName</param-name>
    <param-value>sumawest.view.DataBindings</param-value>
    </context-param>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <servlet-name>ordDeliverMedia</servlet-name>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>ordDeliverMedia</servlet-name>
    <servlet-class>oracle.ord.html.OrdPlayMediaServlet</servlet-class>
    <init-param>
    <param-name>releaseMode</param-name>
    <param-value>Stateful</param-value>
    </init-param>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>ordDeliverMedia</servlet-name>
    <url-pattern>ordDeliverMedia</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <welcome-file-list>
    <welcome-file>index.jspx</welcome-file>
    </welcome-file-list>

    I do something similar in my index.jspx file - but I needed to add "faces" to the url path. This will have the faces servlet process it and setup the faces context.
    Have you tried changing
    request.getRequestDispatcher("WEB-INF/page/Home.jspx").forward(request,response);to
    request.getRequestDispatcher("faces/WEB-INF/page/Home.jspx").forward(request,response);

  • TIFF images are shown as blank when embedded in some web pages

    After I upgraded to Snow Leopard, I see blank the TIFF images displayed in some web sites, like for example any patent image in the www.uspto.gov web site.
    This happens on both Safari and Firefox. They both use the QuickTime plugin (I have version 7.6.3).
    However, if I drag and drop the TIFF image and save it in the local hard drive, local applications like Preview display the page correctly.
    It seems to be an issue with QuickTime and possibly the MacBook model (I have a first generation MacBook Air, with the GMA X3100 Intel graphic card).
    Has anybody experienced this bug?

    Any patent image in the www.upsto.gov web site. For example, this link goes to the first page of the U.S. Patent 161,739 Improvement in Transmitters and Receivers for Electric Telegraphs by A.G. Bell:
    http://patimg1.uspto.gov/.piw?Docid=00161739&homeurl=http%3A%2F%2Fpatft.uspto.go v%2Fnetacgi%2Fnph-Parser%3FSect1%3DPTO1%2526Sect2%3DHITOFF%2526d%3DPALL%2526p%3D 1%2526u%3D%25252Fnetahtml%25252FPTO%25252Fsrchnum.htm%2526r%3D1%2526f%3DG%2526l% 3D50%2526s1%3D0161739.PN.%2526OS%3DPN%2F0161739%2526RS%3DPN%2F0161739&PageNum=&R type=&SectionNum=&idkey=NONE&Input=Viewfirstpage
    All I see a blank page.

  • When Login to apps it goes to AppsLocalLogin.jsp and not Home page

    Hi Friends,
    When i Login to oracle apps using the following URL it says Page Cannot be displayed http://hostname:port . But when i login to login page it goes fine. that is
    http://vis.hostname:8000/AppsLocalLogin.jsp then it goes fine to the Login page. Could any one say what may be the reason.
    Thanks
    Saravanan

    Saravanan,
    First of all, check Apache log files for any errors (especially access_log file).
    $IAS_ORACLE_HOME/Apache/Apache/logs
    $IAS_ORACLE_HOME/Apache/Jserv/logs
    $IAS_ORACLE_HOME/Apache/Jserv/logs/jvm
    Clear the log files (take a backup first), reproduce the issue, then check the log files contents.
    If no errors can be found in the log files, then you may try the note referenced above (you can postpone this for now until you verify the log files contents).
    index.html file can be located under $COMMON_TOP/portal/<CONTEXT_NAME> directory.
    Regards,
    Hussein

  • Leopard cant see SOME xp files within shared folder

    I had a bunch of external hard drives connected via usb to my mac mini, formatted ntfs, which i have recently moved to my networked xp computer, plugged them in via usb, and shared drives on the network in order to remove clutter from my living room mac mini setup.
    theres a little problem though. network was a piece of cake, everything detected easily without a hitch, the only problem is ive realized there are some files within certain folders that leopard just refuses to see. when i go into those directories it shows up as an empty directory even though there are supposed t be a singular file or wfolder within that directory. there is nothing extraordinary about these directories. the structure is drives/directory/directory2/directory_n
    once i get to the directory n level i can see all directories but there are about 8 out of 40 directories that show up as empty even thoguh they have files in them as verified by xp. i have tried removing any special attributes from these files even thoguh they had nothing out of the ordinary, i.e. tried to remove hidden system archive aattributes. no help. have tried unplugging, replugging, turning off on restarting etc but no help. very very wierd, driving me nuts please help.

    Can you list those files in the Terminal?
    The command is ls, short for list. The mount-point is in /Volumes, so an example would be:ls -al /Volumes/nameOfShare/path/to/folder/
    The -a tells it to list all files, including invisible, and the l tells it to display in list form.
    You can also start typing the first few letters of each directory and type tab and it will fill in what it can, stopping on a letter where there is an option as to which directory/file name it might be.

Maybe you are looking for

  • A FIX for iPhoto 11 opening older libraries

    Had the same problem everyone else has had. Then I was thunk in the forehead by an obvious trick. I use iPhoto Library manager. I opened IPLM and and clicked on the icon for creating a NEW LIBRARY (upper left corner of IPLM screen). I named it TestLi

  • Need help in Data selection in Smartforms

    Hi All, this data selection is for displaying data in smartforms. I have a internal table passed on to the Smartforms where i have the Main item and its batches. posnr text 10 line text1 90004 90005 20 line text2 90006 90007 And in the coding i have

  • Apple's BlueTooth Headset - GREAT!

    "No question, just a comment. Have been using the Apple Bluetooth headset now for the last couple of days and very impressed with the smallness, sound and ease of use qualities. It is much smaller than you can believe, light as a feather to the point

  • EEWB - name for the created Z objects

    Using EEWB, Z objects are created. For example extending BP the table ZBUT000... has been created. Is there any configuration to add other prefix so that the above object would have been Z<custom prefix>BUT000.... ? This is to comply with the naming

  • I think my motherboard might be done. :(

    Here's my post from another forum: I started having problems with my computer a few weeks ago, and they just kept getting worse and worse. Here are my specs: Intel Q6600 MSI P6N SLI Platinum 500W Ultra PSU (crappy, I know) I originally had 2x2GB Cors