Deploying simple website made up of JSF pages

Hi all,
I have made a simple website containig only JSF pages.
But I could not able to deploy it on the oracle app server 10.1.3.0.
At the time of deploying it is not showing any error message.
But the website is not showing when I enter the given URL.
Can you plesase help me out.
Can you tell me any propper user guide to deploy JSF pages on oracle app server 10.1.3.0.
Thanks in advance.

Hi,
Except for specifying deployment plan, the procedure to deploy from JDev is the same. So, if your JSF application is running fine on the Embedded OC4J, then try deploying from JDev to App Server.
Check if the JSPX files are extracted properly in the applications folder of the OC4J home.
Check http://download.oracle.com/docs/cd/B31017_01/core.1013/b28764/deploy_em.htm#CACJCCEJ for more info
Rgds
Vikas

Similar Messages

  • TS2167 I am running OS X 10.8.2 and IWeb 3.0.4 (601) and everytime I try to publish my website I get an unexpected error and it does not publish my changes. My website is pretty simple, mostly made up of iPhoto albums in different categories.

    I am running OS X 10.8.2 and IWeb 3.0.4 (601) and everytime I try to publish my website I get an unexpected error and it does not publish my changes. My website is pretty simple, mostly made up of iPhoto albums in different categories.

    Where are you publishing to?  Can you publish successfully to a folder on your hard drive? Have you read this webpage: Publish iWeb site using FTP. It may have a clue to where the problem is.
    A quick troubleshooting fix is
    Try the following:
    1 - delete the iWeb preference file, com.apple.iWeb.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - delete iWeb's cache file, Cache.db, that is located in your
    User/Home/Library/Caches/com.apple.iWeb folder (Snow Leopard and Earlier).
    3 - launch iWeb and try again.
    NOTE:  In Lion and Mountain Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    However, when you delete the preference file you probably will have to use the app described below to select and open your domain file with iWeb:
    In Lion and Mountain Lion the Home/Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    To open your domain file in Lion or Mountain Lion or to switch between multiple domain files Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an application.
    do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"delay 1
    tell application "iWeb" to activate
    You can download an already compiled version with this link: iWeb Switch Domain.
    Just launch the application, find and select the domain file in your Home/Library/Application Support/iWeb folder that you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
    WARNING: iWeb Switch Domain will overwrite an existing Domain.sites2 file if you select to create a new domain in the same folder.  So rename your domain files once they've been created to something other than the default name.
    OT

  • "Errors on page" with simple JSF page

    Hi
    I wrote a very simple JSF page as shown below. It works as is with MyFaces. Now I tried to make it work with Sun RI as well.
    Here's the problem: The page appears perfectly fine (it shows two columns of links). Only one single link works, though: the first one in the left column.
    When I click on that first link, the action handler method ("userClick") is called and executed fine.
    But when I click on any other link, the method is not called at all. All I get is an "error on page" message in the browser status bar. No log message on the command line or log file.
    Am I doing something wrong? With MyFaces it works fine.
    ===============================
    Here's the page:
    ===============================
    <%@ page language="java" pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <f:view>
         <f:loadBundle basename="ca.gc.nrc.iit.eConservatoire.frontend.bundles.MessageBundle" var="bundle" />
         <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
         <html>
              <head>
                   <title><h:outputText value="#{bundle.menu_frame}" /></title>
                   <link rel="stylesheet" href="style.css">
              </head>     
              <body>
                   <h:panelGrid border="1" columns="2" columnClasses="td">
                        <h:dataTable value="#{MenuBackingBean.menuTabItems}" border="0" var="menuTabItem" >
                             <h:column>
                                  <h:form>
                                       <h:commandLink action="#{MenuBackingBean.userClick}" >
                                            <h:outputText value="#{menuTabItem.itemName}" />
                                            <f:param name="itemID" value="#{menuTabItem.itemID}" />
                                       </h:commandLink>
                                  </h:form>
                             </h:column>
                        </h:dataTable>
                        <h:dataTable value="#{MenuBackingBean.menuItems}" border="0" var="menuItem" >
                             <h:column>
                                  <h:form>
                                       <h:commandLink action="#{MenuBackingBean.userClick}" >
                                            <h:outputText value="#{menuItem.itemName}" />
                                            <f:param name="itemID" value="#{menuItem.itemID}" />
                                       </h:commandLink>
                                  </h:form>
                             </h:column>
                        </h:dataTable>
                   </h:panelGrid>
              </body>
         </html>
    </f:view>
    ==================================
    Here's the faces-config
    ==================================
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config >
         <application>
              <locale-config>
                   <default-locale>en</default-locale>
                   <supported-locale>en</supported-locale>
                   <supported-locale>de</supported-locale>
              </locale-config>
              <message-bundle>ca.gc.nrc.iit.eConservatoire.frontend.bundles.MessageBundle</message-bundle>
         </application>
         <managed-bean>
              <managed-bean-name>DetailsBackingBean</managed-bean-name>
              <managed-bean-class>ca.gc.nrc.iit.eConservatoire.frontend.DetailsBackingBean</managed-bean-class>
              <managed-bean-scope>session</managed-bean-scope>
         </managed-bean>
         <managed-bean>
              <managed-bean-name>MenuBackingBean</managed-bean-name>
              <managed-bean-class>ca.gc.nrc.iit.eConservatoire.frontend.MenuBackingBean</managed-bean-class>
              <managed-bean-scope>session</managed-bean-scope>
         </managed-bean>
         <managed-bean>
              <managed-bean-name>ContentBackingBean</managed-bean-name>
              <managed-bean-class>ca.gc.nrc.iit.eConservatoire.frontend.ContentBackingBean</managed-bean-class>
              <managed-bean-scope>session</managed-bean-scope>
         </managed-bean>
         <navigation-rule>
              <from-view-id>/menu.jsp</from-view-id>
              <navigation-case>
                   <from-outcome>showDetails</from-outcome>
                   <to-view-id>/details.jsp</to-view-id>
              </navigation-case>
              <navigation-case>
                   <from-outcome>menu</from-outcome>
                   <to-view-id>/menu.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
         <navigation-rule>
              <from-view-id>/details.jsp</from-view-id>
              <navigation-case>
                   <from-outcome>showMenu</from-outcome>
                   <to-view-id>/menu.jsp</to-view-id>
              </navigation-case>
              <navigation-case>
                   <from-outcome>showContent</from-outcome>
                   <to-view-id>/content.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
         <navigation-rule>
              <from-view-id>/content.jsp</from-view-id>
              <navigation-case>
                   <from-outcome>showMenu</from-outcome>
                   <to-view-id>/menu.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
    </faces-config>
    =======================================
    I don't think I need to show the backing bean with the userClick() method since the error is that this method is not even called (I added a system.out.println() to this method - which is never executed)
    So the problem must be before
    BTW I am using Sun RI 1.1.01 as shipped with the MyEclipseIDE extensions.
    Thanks a lot for your very much appreciated help
    scrut

    The problem is that you have two forms. Put a single form.

  • Only some pages of my website made with Muse can't be edit in the Business Catalyst Admin Console... How access all my pages edit possibilities ?

    My website is made with Adobe Muse and published with Business Catalyst.
    Some pages can be edit on the Business Catalyst Console, but, unfortunately, some other pages can't.
    Why some pages and not others ?
    Thanks for yours answers.

    Hi,
    I have try the edit mode with Firefox and Chrome and no one doesn’t work.
    For the french pages, I must reload the page to have the blue blocks. And if I do that on an english one, it switches on the french one...
    Caroline Duhamel
    +33 (0)6 08 34 33 61
    Le 24 oct. 2014 à 09:40, rohit776 <[email protected]> a écrit :
    Only some pages of my website made with Muse can't be edit in the Business Catalyst Admin Console... How access all my pages edit possibilities ?
    created by rohit776 in Help with using Adobe Muse CC - View the full discussion
    Hi,
    I have just checked at my end and it seems everything is working fine and I am able to edit even the English version pages.
    Can you please try some other browser or in a different system to edit your site and check if you are able to do so.
    Regards,
    Rohit Nair
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6862093#6862093
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Help with using Adobe Muse CC by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Reg first JSF page deployment

    hi,
    when I try to run my firstjsf application it says the following error;
    org.apache.jasper.JasperException: null(-1,-1) This absolute uri (http://java.sun.com/jsf/html) cannot be resolved in either web.xml or the jar files deployed with this application
    I think, this error means that there is no mapping for the <tag-uri> to the "tld" file in web.xml, so
    I copy the "html_basic.tld" and "jsf_core.tld" into my application path and map it in web.xml
    still the same error occures... how to resolve this?
    More question;
    - I found that no uri mapping in web.xml file in the sample jsf pages provided by jsf-1.1 specification? Is this mapping is necessary one or not?
    regards,
    arun.

    I have resolved myself what i have asked before in this forum...
    Actually the URL mapping to the TLD file is set in jsf-api.jar and jsf-impl.jar files, So no need to set the taglib mapping tags in "web.xml".
    And I have tested my sample application both in Tomcat 4.1.x and Tomcat 5.0.x, it's works fine...
    Any way thanks to this forum to expose various ways to identify the bugs when deploying JSF web application into the server.
    - Arun.

  • How to deploy portalized JSF page to WLS_portlet managed server

    Hi,
    I'm a newbie in webcenter development and I'd like to ask what are the proper steps in deploying a portalized JSF page. Here are the steps I did
    1. Create a WebCenter application using WebCenter template
    2. Create JSF page
    3. Create Web Service Data Control (the page should invoke a webservice or BPEL process)
    4. Drag and Drop the data control onto the page as an ADF Parameter form
    5. Create Portlet Entry. Save All. Run the page in JDeveloper -> it's working fine. the service/process is being called successfully
    6. I created the necessary JAR,WAR and EAR files.
    7. Started WLS and Managed Servers (WLS_Portlet and WLS_Spaces)
    8. Deploy the custom application using Fusion Middleware Control to WLS_Portlet
    9. Bounce POrtlet managed server
    10. Register the portlet producer using Fusion Middleware Control
    11. Login to WebCenter Spaces
    12. Create New page and add Component - my new portlet
    Now, the page loads my portlet, but when I click the button that will supposedly call the service, I either receive SOAP version mismatch error (for the webservice connection) or nothing happens/no response (for the BPEL process).
    Did I miss anything? Do have to configure other things in order to make it work?
    Please advise.
    Thanks!
    Rian

    Sorry, this seems to be working now. I just have to close all applications in order for the memory to call the actual BPEL process

  • Deploy jsf pages in oracle apps

    Hi all,
    I am new to ADF and Oracle apps can anyone help me how to integrate/ register/deploy adf jsf pages in oracle apps, If yes please share the steps to register JSF Pages in oracle apps in 12.2.4
    Thanks
    Pankaj

    Please see:
    Oracle Application Framework Release Notes for Release 12.2.4 (Doc ID 1676223.1)
    Information Center: Overview EBS Technology Stack - Framework (Doc ID 1478639.2)
    Thanks,
    Hussein

  • Using workflow from jsf pages...

    We have built a simple JSF page on OC4J app server..
    We want to call our workflow program from this page.
    How should I use the CREATE PROCESS() AND START PROCESS() inside the JSF page?
    We are using 10.1.2. application server. And We SSO connection between
    OC4J 10 1. 3.2
    we deploy our java application to this OC4J..
    But we when we call workflow functions we get get_remote_user error.
    Can we call direct PL/SQL API over JDBC connection without using OWF Java API.
    Or we need (must) use Java aPI to supply this.
    Thanks...

    We see that we can call CREATE PROCESS() OR START PROCESS() inside the JSF page..
    But the problem are about notifications which needs authentication now
    How can we use notifications from java...
    Can we call direct PL/SQL API over JDBC connection without using OWF Java API.
    Or we need (must) use Java aPI to supply this.
    Thanks...

  • Using Business Components in JSF pages

    I have several questions about using BCs in JavaServer Faces pages. I'm new to the JSF-BC development world.
    Here's what I'm trying to accomplish: a salesperson gets a call from a customer requesting a quote. The salesperson selects the URL for my RFQ form and begins filling it out. If there is an existing customer record in the company's database, the salesperson wants to be able to load customer info into the form from the database, rather than typing it all in. Reasonable enough, and probably simply enough.
    But it's kickin' my butt. I've created the domain objects (including one for the customer database, call it "CU") and the model objects (a View Object that filters out all fields but those needed on the form, an Application Module with a View Object Instance). Initially I am routing from the main form window to a dialog window where I am hosting the customer selection components, intending to return to the main window with the selection. On the dialog window I've dropped the VO and configured it to be an ADF Navigation List (which gets implemented as an af:selectOneChoice component). So far so good. The navigation to and from is working fine. The selectOneChoice list is being populated with the first range of returned records. Here's where I'm stuck.
    First of all I can't figure out how to kick the iterator into sending additional records after it's first range. You can scroll down to the end of the list in the selectOneChoice component but nothing happens after that. I know I can set the iterator's range to 0 to get all of the records dumped in at once, but that takes way too long. Any ideas?
    Secondly, when a selection is made, how do I access the selected data? I have set up a ValueChangeListener method in my dialog's backing bean that gets the NewValue() from the event object, but that value turns out to be the index into the collection of selectItems. How do I get the value of the data that shows in the list? Is that the label of the selectItem? If so, how do I access it? What I really want is to get the entire row of data represented by the returned index, but I'm lost as to how to do that. Any help would be much appreciated.
    At some point I want to let the salesperson type in a partial customer name and then retrieve only records matching the query's where clause. I see where I can create a bind variable on the view object, but am not sure how to pass the partial name value from the main form to the dialog. Currently I use an EL expression in the Action attribute of an af:selectInputText component to navigate to the dialog and I don't think I can pass parameters with that. I guess I would have to switch to using a method binding to a backing bean, eh? But even if I can get the partial name value to the dialog, how do I bind that value to the bind variable of the VO? (the VO that is already bound to the af:selectOneChoice component in the dialog.)
    And I am totally open to alternative suggestions for how to accomplish the original intention of all of this. Thanks for any guidance.
    Johnny Lee

    Thanks, Shay. That has gotten me a few steps further along. I modified my VO by creating a bind variable and modified the SQL to use this variable in it's where clause. I generated Java for my AppMod (which I hadn't done before, preferring to keep things simple) and created a method to supply a value to my VO's new bind variable. I need a little more hand-holding, though, to wire an input text field & button (or af:selectInputText?) to both the AppMod's new method AND the data component that will display the query results.
    "...drag the exposed method as a button onto a JSF page." That's easy enough, but I haven't yet figured out from the examples how to associate the value of an input component with the parameter of the AppMod's new method. It's getting late, I'm starting to see cross-eyed so I will sleep on this and take another look in the morning. Thanks for your help.
    Johnny Lee

  • HTML result gets truncated after including of the JSF page

    Hi there,
    I'm trying to create a page that will include dynamically content of JSF pages from another web application.
    Thus, there is a web application (Pages) that is deployed under web context: /test-pages and another web application (Faces) that is deployed under web context: /test-faces.
    The source code of /test-pages/IndexPage.jsp
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
    <title>
    IndexPage
    </title>
    </head>
    <body>
    <h3>Page Start</h3>
    <jsp:include page="header.jsp"/>
    <br>
    <h1>Index Page of the test-pages application</h1>
    <br>
    <jsp:include page="footer.jsp"/>
    </body>
    </html>
    The source code of /test-pages/header.jsp
    <%
    ServletContext servletContext = request.getSession().getServletContext().getContext("/test-faces");
    RequestDispatcher reqDispatcher = servletContext.getRequestDispatcher("/faces/header.jsp");
    reqDispatcher.include(request, response);
    %>
    The source code of /test-pages/footer.jsp
    <h2>Simple Footer</h2>
    The source code of /test-faces/header.jsp
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <f:subview id="myID">
         <f:verbatim>
              <h2>Faces Header</h2>
         </f:verbatim>
    </f:subview>
    The HTML execution result (http://localhost:7001/test-pages/IndexPage.jsp):
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
    <title>
    IndexPage
    </title>
    </head>
    <body>
    <h3>Page Start</h3>
         <h2>Faces Header</h2>
    Could you help me understand, why the result gets truncated after including of the JSF page.
    Thanks,
    Sasha

    Thanks you for reply!
    Unfortunately, still no luck!
    Any other ideas will be highly appreciated!

  • Invoke secured WS from ADF JSF Page

    Hello,
    How can I invoke secured Web Service from simple adf jsf page?? Service is secured by wss_username_token_service_policy.
    I'll be glad if somebody could give me some tutorial how to build this page. I mean inputs for username and password.
    Best regards,
    MK

    Hi,
    I've read your article: http://www.oracle.com/technology/products/jdev/howtos/1013/protectedws/access_protected_web_services_from_adf.htm I added to the Model - Web Service Data control and as a service give a link to my composite application deployed on soa_server (http://localhost:8001/soa-infra/services/default/registerMyPassComposite/registerMyPassWebService?WSDL). When i click on Define Web Service security I only have a window to add policies and there is no wizard steps as you shown i your article Figure 9. I cannot chose Authentication type but I can only define policies for my dataControl.
    How to resolve it?

  • Reusing JSF Page Code

    I have 3 JSF pages which have the same block of Code.
    Is there a way I could use to make one JSF page say main.jsp with the main block of code and then use something like the include tag to just reuse and insert the main.jsp in my other 3 pages.
    The code is:
    <h:form id="frmRR">
        <f:loadBundle basename="com.eds.send.controller.Resource."
                      var="messages"/>
        <tr:panelHeader styleClass="titleText" text="RR"/>
        <tr:panelHorizontalLayout valign="top">
            <tr:panelHorizontalLayout valign="top">
                <tr:panelGroupLayout layout="vertical">
                    <tr:panelGroupLayout layout="horizontal">
                        <tr:panelGroupLayout styleClass="columnSpace boldAlignLeft"
                                             layout="vertical"
                                             inlineStyle="width:200px">
                            <tr:outputText value="To:"/>
                            <tr:spacer height="18"/>
                            <tr:outputText value="From:"/>
                            <tr:spacer height="18"/>
                            <tr:outputText value="Subject:"/>
                            <tr:spacer height="18"/>
                            <tr:outputText value="Business:"/>
                            <tr:outputText value="#{messages[\date\']}:"/>
                            <tr:outputText value="PN:"/>
                        </tr:panelGroupLayout>
                        <tr:panelGroupLayout styleClass="normalAlignLeft"
                                             layout="vertical"
                                             inlineStyle="width:350px">
                            <tr:outputText value="#{messages[\'hp.email\']} "/>
                            <tr:spacer height="18"/>
                            <tr:outputText value="#{rR.userName}"/>
                            <tr:spacer height="18"/>
                            <tr:outputText value="R R"/>
                            <tr:spacer height="18"/>
                            <tr:outputText value="#{rR.subList.description}"/>
                            <tr:outputText value="#{rR.cyc}">
                             </tr:outputText>
                            <tr:outputText value="#{rR.pN}"/>
                        </tr:panelGroupLayout>
                    </tr:panelGroupLayout>
                    <tr:panelGroupLayout layout="vertical">
                        <f:facet name="separator">
                            <tr:spacer width="10" height="1"/>
                        </f:facet>
                        <tr:outputFormatted inlineStyle="font-weight:bold" styleClass=" columnSpace font_size"
                                            value="Email Message:"/>
                        <tr:inputText id="emailMessage"
                                      value="#{rR.emailMessage}"
                                      columns="50" rows="10" wrap="soft"/>
                    </tr:panelGroupLayout>
                    <tr:panelButtonBar>
                        <tr:commandButton text="Confirm"
                                          action="#{rRBean.createAction}"/>
                        <tr:commandButton text="Cancel" action="home"/>
                    </tr:panelButtonBar>
                </tr:panelGroupLayout>
            </tr:panelHorizontalLayout>
            <f:facet name="separator">
                <tr:spacer width="8"/>
            </f:facet>
            <tr:panelHorizontalLayout valign="top" halign="right">
                <tr:panelGroupLayout layout="vertical">
                    <tr:outputText inlineStyle="width:270px; font-size: 8pt; font-weight:bold; text-align: left"
                                   styleClass="subnav"
                                   value="#{messages[\'rReq.terms\']}"/>
                    <tr:outputText inlineStyle="width:270px; font-size: 8pt; font-weight:normal; text-align: left"
                                   styleClass="subnav"
                                   value="#{messages[\'rReq.body\']}"/>
                </tr:panelGroupLayout>
            </tr:panelHorizontalLayout>
        </tr:panelHorizontalLayout>
    </h:form>I want to be able to put this code in a Main jSP and then just include the tag in other JSPs where ever I want the above fields to be populated.
    How can this be achieved ?
    Thanks

    you already are blessed with the rare event of a Sun employee answering a question for you, now don't push it by demanding more. A simple google query can give you all the answers you need. For example this page can give you some hints:
    http://www.ibm.com/developerworks/java/library/j-facelets/
    The facelets website also has lots of documentation.
    https://facelets.dev.java.net/nonav/docs/dev/docbook.html

  • Can't load website with .jsp - get blank page?  Doesn't happen all the time

    When I try to open American Eagle Outfitters website, I get a blank page and it will not open. The site is ending in index.jsp. I have 3 computers and it does it sporatically on all 3. ie. 1 may open the website, 2 won't or 2 might open website and 1 won't or none of the 3 will open. I know this has to be something simple but it has been doing this for about 3 months and it is driving me nuts because I can't get on there to pay my bill or even shop! Help!!
    Thanks

    I'm having the exact same problem! I've been using the website a lot recently, and then just about a week ago the website just wouldn't load. The page would go white and would say "Done" at the bottom of the screen. I tried googling the website to try and go in through there, and I can only seem to enter the site through "Find a Store Near You". Only this page seems to work, and whenever I click on "Women" or "Clearance" or "WishList" or anything else the page just goes white again and won't load. I've googled "websites won't load" and I've tried all the suggested steps and nothing seems to be working. I order off AE all the time and was ready to place an order, which I now can't do because I can't even sign in to the website.
    If you figure out how to fix it, email me at [email protected]

  • How can i delete a website made in iWeb from MobileMe but not from iWeb

    The problem is that I have made changes to several pages (almost all of them) on my site and since the changes my site no longer displays correctly in Internet Explorer.
    I have looked in the IE CSS file and the CSS file for IE is completely messed up and would take a long time to correct by correcting the code for every page, so I decided just to delete the whole site from MobileMe and then republish it as a new site, rather then as an altered site.
    The problem is I don't want to delete the site from iWeb, because it has took me months to build it and I don't want to have to start again. I just want to delete the site from MobileMe, so I can republish it as a new site (and hopefully correct the screwed up code).
    So how can I delete a website created in iWeb and published on MobileMe from MobileMe without deleting it from iWeb.
    Huge thanks
    Jay

    Hey thanks for your reply, unfortunately I have already tried to delete my site from iDisk >> Web >> Sites. But it said that i didn't have permission and it wouldn't delete the files.
    I am loged in as an Admin and I still cant delete them
    Thanks again
    Jay

  • How to call a struts action from a JSF page

    I am working on a small POC that has to do with struts-faces. I need to know how to call a struts ".do" action from a JSF page..
    Sameer Jaffer

    is it not possible to call a action from the faces submit button and/or the navigation?
    This a simple POC using struts-faces exmaples.
    Here is my struts-config and faces-config file.
    <struts-config>
    <data-sources/>
    <form-beans>
      <form-bean name="GetNameForm" type="demo.GetNameForm"/>
    </form-beans>
    <global-exceptions/>
    <global-forwards>
      <forward name="getName" path="/pages/inputname.jsp"/>
    </global-forwards>
    <action-mappings>
      <action name="GetNameForm" path="/greeting" scope="request" type="demo.GreetingAction">
       <forward name="sayhello" path="/pages/greeting.jsp"/>
      </action>
    </action-mappings>
    <controller>
        <set-property property="inputForward" value="true"/>
        <set-property property="processorClass"
                value="org.apache.struts.faces.application.FacesRequestProcessor"/>
    </controller>
    </struts-config>faces-config
    <faces-config>
    <managed-bean>
      <managed-bean-name>calculate</managed-bean-name>
      <managed-bean-class>com.jsftest.Calculate</managed-bean-class>
      <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <managed-bean>
      <managed-bean-name>GetNameForm</managed-bean-name>
      <managed-bean-class>demo.GetNameForm</managed-bean-class>
      <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <navigation-rule>
      <from-view-id>/calculate.jsp</from-view-id>
      <navigation-case>
       <from-outcome>success</from-outcome>
       <to-view-id>/success.jsp</to-view-id>
      </navigation-case>
      <navigation-case>
       <from-outcome>failure</from-outcome>
       <to-view-id>/failure.jsp</to-view-id>
      </navigation-case>
    </navigation-rule>
    <navigation-rule>
      <from-view-id>/inputNameJSF.jsp</from-view-id>
      <navigation-case>
       <to-view-id>/pages/greeting.jsp</to-view-id>
      </navigation-case>
    </navigation-rule>
    </faces-config>in my inputNameJSF.jsp (faces page)
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
    <%@ taglib prefix="s" uri="http://struts.apache.org/tags-faces" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Say Hello!!</title>
    </head>
    <body>
    Input Name
    <f:view>
         <h:form >
              <h:inputText value="#{GetNameForm.name}" id = "name" />
              <br>
              <h:commandButton id="submit"  action="/greeting.do" value="   Say Hello!   " />
         </h:form>
    </f:view>
    </body>
    </html>I want to be able to call the struts action invoking the Action method in the that returns the name
    package demo;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public class GreetingAction extends org.apache.struts.action.Action {
        // Global Forwards
        public static final String GLOBAL_FORWARD_getName = "getName";
        // Local Forwards
        private static final String FORWARD_sayhello = "sayhello";
        public GreetingAction() {
        public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
            String name = ((demo.GetNameForm)form).getName();
            String greeting = "Hello, "+name+"!";
            request.setAttribute("greeting", greeting);
            return mapping.findForward(FORWARD_sayhello);
    }Edited by: sijaffer on Aug 11, 2009 12:03 PM

Maybe you are looking for