How can I set a JSF page to accept requests from outside

I have a file upload page in my application(JSF and MyFaces). It works fine when I navigate to page and select the file to upload and submit. Do I need to make any changes to this page to post from an external system?
I created a perl script to send a file to this page. When I called the URL for this page, it returned the page content. How can I submit from the perl script?
<h:form id="apppostform" name="apppostform" enctype="multipart/form-data" >
          <h:panelGrid styleClass="mbformdata" columns="2" border="0" cellspacing="25" cellpadding="0">
          <h:outputText value="#{appmsg.prompt_upload_file}"/>
          <t:inputFileUpload id="fileupload"
          value="#{fileUploadForm.upFile}"
          storage="file"
          styleClass="fileUploadInput"
          />
               <h:commandButton type="submit" value="submit" action="#{fileUploadForm.uploadFile}"/>
               </h:panelGrid>
</h:form>
Thanks,
rm

I created uploadservlet. I specified in web.xml:
<servlet>
<servlet-name>uploadservlet</servlet-name>
<display-name>UploadServlet</display-name>
<servlet-class>servlet.UploadServlet</servlet-class>
</servlet>
When I try to access uploadservlet, I am getting 404 error.
I have few questions:
How does it know about uploadservlet if it is not inherited from facesservlet while using JSF?
Do I need to add any info about this in faces-config.xml?
Please help!
Thanks

Similar Messages

  • I 'm using ipad 2 and am using iwork pages.  how can i set up iwork pages so that a page scroll left to right or right to left instead of just scrolling up?

    I am using ipad 2 and am using iwork paged.  how can i set up iwork pages so that a page will scroll left to right or right to left instead of just up?

    Here you are in a forum dedicated to Pages for OSX.
    Most of us don't use Pages for iOS.
    Better ask in the iWork for iOS forum :
    https://discussions.apple.com/community/app_store/iwork_for_ios
    Yvan KOENIG (VALLAURIS, France) lundi 18 juillet 2011 22:38:20
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Pls advise on how can i set my default page

    may i know how can i set my default page if i m using Apache as my web server n tomcat as my servlet container. thank u in advance

    hi....i tried but cannot.
    even when i jus change the "DirectoryIndex Index.html" to "DirectoryIndex abc.html it still gives me the page which shows the file in my directory of htdocs.
    i guess if someone can advise me on how to change away this page first....
    thank u

  • How can I set the value to a session bean from backing bean

    Hi Experts,
    How can I set the value to a session bean from backing bean where I have created getter and setter
    methods for that variable.
    Basically I am using ADFUtils class where I am able to get the value from session bean
    using following expression
    String claimType =
    (String)ADFUtil.invokeEL("#{ClaimValueObj.getClaimType}");
    Thanks
    Gayaz

    Gayaz,
    Wrong Post !!
    Post in JDeveloper and ADF
    Thanks
    --Anil                                                                                                                                                                                                                               

  • How can i set authrization to delete/change email address from broadcasting

    How can i set authorization to delete/change email address from information broadcasting. I would like to set an authorization because other bi users also have an authority to change my auto mail settings. How can i restrict this?

    Auth object for Broadcasting in 7.0 server
    RSRD_ADMIN - Broadcasting (7.x) Administration
    Check the authorizations for Broadcasting in the below SAP notes.
    Authorization check for broadcasting settings
    SAP Note Number: 1053944
    Please go through this thread for additional info.
    Authorizations for Broadcasting

  • How can i access my docs (pages) in my iCloud from my iPad? I do no have pages in my iPad? help please

    How can i access my docs (pages) in my iCloud from my iPad? I do no have pages in my iPad? help please

    Why would you want to access your Pages documents on the iPad if you don't have Pages?
    If you wanted to email them to someone, you could have done that on the Mac. If you want to edit them on the iPad you need the app on the iPad.

  • Hi please help me , how can i set my ringing tone on my iPhone from my playlist. I wanna set some normal music from  my floder not some ringing tones from iPhone origin . Please help me . Thank you :)

    Hi please help me , how can i set my ringing tone on my iPhone from my playlist. I wanna set some normal music from  my floder not some ringing tones from iPhone origin . Please help me . Thank you

    You need to make your own ringtones in iTunes then sync them to your phone. Follow the directions here:
    http://osxdaily.com/2010/09/04/make-free-iphone-ringtones-in-itunes-10/

  • How can i set action on UITaBar and get event from that

    Hi All,
    I m doing one apps in which i have to add three UITabBarItem and this is UITabBarSystemItem.
    Now i cannot understand that how can i set action and get event from the?
    And how can i set various views on three tab bar item.
    I have to use UITabBar means i have to use UINavigationController+UITabBar
    My code id
    tabBar =[[UITabBar alloc] initWithFrame:CGRectMake(0,370,320,50)];
    tabBar.backgroundColor =[UIColor blackColor];
    UITabBarItem *search =[[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemSearch tag:0];
    UITabBarItem *recents =[[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemRecents tag:1];
    UITabBarItem *favorites =[[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemFavorit es tag:2];
    tabBar.items =[[NSArray arrayWithObjects:search,recents,favorites, nil] retain];
    tabBar.selectedItem = search;
    [myView addSubview:tabBar];
    [tabBar release];
    I add a action:
    UITabBarItem *search =[[UITabBarItem alloc] InitWithTabBarSystemItem:UITabBarSystemItemSearch tag:0 action:@selector(select:)];
    So it error: Warning -no'InitWithTabBarSystemItem:tag:action:' method fount
    So any can help me regarding it?

    Thanks RickMaddy very much.
    I read and do with sample at the View Controller Programming Guide . But when run it only view TabBar with title but haven't got any TabBarItem on it. I searched a few example about TabBar and i did, but i want do a form with a button then press on button it view a form with 2 TabBarItem on TabBar and press each TabBarItem will show correlative form page 1, page 2.
    UITabBarController *tabBarControl = [[[UITabBarController alloc] initWithNibName:nil bundle:nil] autorelease];
    tabBarControl.title = @"Tab bar";
    ViewControl1 *view1 = [[[ViewControl1 alloc] initWithNibName:@"ViewControl1" bundle:nil] autorelease];
    ViewControl1 *view2 = [[[ViewControl1 alloc] initWithNibName:@"ViewControl2" bundle:nil] autorelease];
    tabBarControl.viewControllers = [NSArray arrayWithObjects:view1,view2,nil];
    [self.navigationController pushViewController:tabBarControl animated:YES];

  • HT5622 how can I set a computer into my apple ID from someone else's Apple ID?

    Hi there,
        My father passed away a few months ago and I have inherited his iMac. How can I set his iMac now to my Apple ID instead of his? I am currently still under his Apple ID yet he no longer has e-mail, etc... and I would like to see my things instead.

    The first thing you should do after acquiring a used computer is to erase the internal drive and install a clean copy of OS X. How you do that depends on the model. Look it up on this page to see what version was originally installed.
    If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard installation disc, which you can get from the Apple Store or a reputable reseller — not from eBay or anything of the kind.
    If the machine shipped with OS X 10.6, you need the gray installation discs that came with it. If you don't have the discs, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
    To boot from an optical disc, insert it, then reboot and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
    If the machine shipped with OS X 10.7 or later, it should boot into Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
    Once booted from the disc or in Internet Recovery, launch Disk Utility and select the icon of the internal drive — not any of the volume icons nested beneath it. In the Partition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive, which is what you should do.
    After partitioning, quit Disk Utility and run the OS X Installer. When the installation is done, the system will automatically reboot into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
    You should then run Software Update and install all available system updates from Apple. If you want to upgrade to a major version of OS X newer than 10.6, buy it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the previous owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed — you have to repurchase them.

  • HT4356 How can I set up a Canon MX410 to print from my iPad?

    How can I set up this printer on my iPad?

    If it is not an AirPrint enabled printer
    iOS: AirPrint 101
    you need an app to print via. Search the App store. Start searching for a  cannon printer app and general print app like Print Central

  • Basic question .... How can I set up a page for visitors to enter data?

    Is it possible in iWeb 08 to set up a page that visitors enter data in specific fields and allow me to retrieve that information? Like filling out a form, then emailing the form to my .mac mail.
    Thanks.

    Yes Douglas you can set up a form that collects information. Use an html snippet and get the form code from such places as
    Wufoo.com
    Formlogix.com
    Createforms.com
    bravenet.com
    and others you may find by googling it.
    Mireille

  • How can I set the home page in iPad safari?

    Opening Safari, the screen shows the last page used. Is it possible to set a home page so that, for example, Sfari always opens with the Google search page?

    Safari doesn't have a homepage as such, but you can create a homescreen shortcut for a particular page : go to the page that you want and then tap the icon of the box with the arrow coming out of it to the left of the URL address field and you should get an option to 'Add To Home Screen'. You can then just tap shortcut on your homescreen to open Safari on that page (it will still re-open any other tabs that you had open when you closed Safari)

  • How can I set up a page so it will copy a crossword puzzle with dark background

    I can't print crossword puzzles for my students. I need to know how to make the background show up.
    Chrome can't do it or safari, but I think there is supposed to be a way to do it on firefox.
    I'm using crosswordpuzzlegames.

    FYI - this is the Feedback about Discussions area for Using Apple Discussions.
    Here is the Tiger Printing & Faxing discussions area.
    http://discussions.apple.com/forum.jspa?forumID=756
    Here is the Using your MacBook discussions area, since there isn't a Printing & Faxing discussions area just for the MacBook.
    http://discussions.apple.com/forum.jspa?forumID=1167

  • How can I include a jsf page?

    I need to include a jsp page that contains jsf code, I try with:
    <c:import url="faces/include.jsp" var="prova" />
    but the server response:
    javax.servlet.ServletException: Cannot find FacesContext
    There something that is wrong?
    Thank's
    Teo

    I read the document but is not my case.
    My java server faces works well until I put the tag
    <c:import url="./include.jsp" var="jsf" />
    from tag library, ans I don't know why
    Thank's
    Matteo

  • How can I set my Iphone 4s to delete hotmail from phone but NOT server at home?

    I can't seem to figure out how to set phone so that I can delete messages (hotmail) from phone but have them remain on server (home computer)?  I've had to recently delete and then re set my hotmail account and when I did this, I seem to have lost the ability to delete from phone and save on home computer.  thanks

    You're using an IMAP account.  Not sure if you can set up hotmail as a POP account.

Maybe you are looking for