What to put in the action tag of an HTML form

hi everyone,
I would like to use a standard html form (not htmlb) in my jsp page.  I need to call back the component, but I don't know how to build the url and put it in the action tag. 
Thank you
Mariana

Prakash,
thank you very much for your help so far, but it is not working.:(
I am putting the package.classname of my controller in the componentURI.setContextName("com.ba.portal.barcode.controller.BarcodeController");
the action attribute becomes:
<form action="/irj/servlet/prt/portal/prtroot/com.ba.portal.barcode.controller.BarcodeController">
Unfortunately the same error occurs.  I am using eclipse to "par" up the files, and the name of the par IS Barcode.par, meaning "projectname.par".
Is there maybe a way to send the url of the controller as a parameter to the jsp?
Thank you in advance.
Mariana

Similar Messages

  • I have completely lost my safari.  I was getting an error and I lost the address bar.  I tried to fix it by changing the home page on the preferences.  I don't know what to put in the home page now.  How do I get safari back?

    I have completely lost my safari.  I was getting an error and I lost the address bar.  I tried to fix it by changing the home page on the preferences.  I don't know what to put in the home page now.  How do I get safari back?

    I tried editing my first post but couldn't get there...
    If you can open Safari go to the top of your screen, click Safari / Preferences then select the General stab. You can type in the web address for your Home page there.

  • I want to point my pre-existing GoDaddy domain to my BC site, but I just don't know what to put in the GoDaddy DNS Manager.

    I want to point my GODADDY Domain to my Muse site. I don't know what to put in the DNS information. I go on vacation tomorrow and I really need to fix this before hand. Thanks

    If you have already added the domain to your site then please point the domain to BC name servers ;
    ns1.worldsecuresystems.com
    ns2.worldsecuresystems.com
    ns3.worldsecuresystems.com
    This document include the steps :
    http://helpx.adobe.com/business-catalyst/using/change-site-domain.html
    Thanks,
    Sanjit

  • How could I reset my scerity question if I forgot what I put as the answers

    How could I reset my scerity question if I forgot what I put as the answers

    Hi Kushedout,
    Contact iTunes Support to have your Security Questions reset:
    By Phone: http://support.apple.com/kb/HT5699?viewlocale=en_US
    Or by email: https://ssl.apple.com/emea/support/itunes/contact.html
    Cheers,
    GB

  • HT1338 where do I find what to put in the incoming server on Mail?

    I can't get any of my mail from  my @me.com account or even my gmail accout through Mail. I have deleted all but one email which I never use trying to get the stupid thing to work now I am trying to add my accounts back to Mail and I cant find what to put in the incoming server. I can't find where to find what to put there or anything of help or a bit useful. What the heck is the stupid thing and can I have it tattooed to my harddrive so I never have to look for it again?
    Thanks for any help.
    Cora

    Thanks Topher,
    But..I tried that...It fixed the me.com but not the gmail or ymail I am not sure what the deal is. I am also having issues with my computer freezing up, weird icons (spotlight in the top right of the screen, a USA flag by the time and date) I Just got rid of the Flag by clicking on it and un checking the show icon box but I have done that everyday for weeks and it is just now taking it off the screen. I got rid of the spotlight bar by restarting my computer. Sometimes I cant even shut down my computer because Mail or Safari wont allow it even though I shut all the windows and even quit the apps.
    Half the time It wont stay connected to the internet either... and when it does it runs so slow its mind numbing.
    I am wondering if there is a trojan or something going on other than I cant figure out how to work Mail after using it for 4 years...O.o
    Any ideas?

  • With installation of 10.1 I lost finder search function. The finder window appears, but no matter what I put in the search window, nothing is found. I re-installed it with initial success, but it failed again very soon.

    With installation of 10.1 I lost finder search function. The finder window appears, but no matter what I put in the search window, nothing is found. I re-installed it with initial success, but it failed again very soon.
    MacBook Pro (15-inch, Mid 2010)
    OS X 10.10.1

    Hey Reoh, 
    Thank you for contributing to the Apple Support Communities. 
    If searching for files in Finder doesn't return any results, try using the steps in this article to reindex the Spotlight search index of your MacBook Pro hard drive:
    Spotlight: How to re-index folders or volumes - Apple Support
    Sincerely,
    Jeremy

  • Sharepoint and Robohelp 11 - The Server tag is not well formed

    Hello!
    We have published our project in Sharepoint library with Publish - Sharepoint (Native) settings and System Master Page
    When we try to open any .aspx file from this library, we get an error:
    "An error occured during the processing of /sites/it/Robohelp/desktop/Izmenenia.aspx. The Server tag is not well formed ."
    In Sharepoint logs we don't see any errors, only this request:
    2014-09-30 12:51:00 ****IP GET /sites/it/Robohelp/desktop/Izmenenia.aspx - 80 ***user  ***IP Mozilla/5.0+(Windows+NT+6.2;+WOW64;+rv:32.0)+Gecko/20100101+Firefox/32.0 - 200 0 0 93
    Anyone else got this problem?

    Hi,
    You are generating Responsive HTML5, right? Can you open one of the generated ASPX topics with notepad? In the first line, which of the following do you see:
    <%@ Page Language="C#" masterpagefile="~masterurl/custom.master"
    or:
    <!DOCTYPE HTML>
    I have tested this issue and on RoboHelp 11, the SharePoint native generation for Responsive HTML5 simply doesn't work. (It generates regular topics instead of ASPX files only with the extension ASPX.) This is a bug so please report it at https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
    Kind regards,
    Willam

  • A little problem getting the style tag of a html file seperate from rest

    I'm making a program that will take in a URL and then search through that URL for all a, link, embed, frame, and img tags, find their sources, and download them. I also want to search through the style and find anything that uses a URL (ex. background-image:url('somepic.jpg')) and download that file. In the end, you should be able to go to the directory you saved it all in, open index.html, and see an exact replica of the original site. Now, my problem is that my program isn't getting the style tag's contents. Here's my code: import java.io.*;
    import java.util.*;
    import java.net.*;
    public class Test
         //-->>>> MAIN <<<<--//
         public static void main(String...a)
              try{
                   System.out.print("Enter URL: ");
                   String target = new Scanner(System.in).next();
                   URL url = null;
                   try{
                        url = new URL(target);
                   }catch(MalformedURLException x){
                        url = new URL("http://" + target);
                   Scanner scan = new Scanner(url.openStream());
                   scan.useDelimiter("<");
                   ArrayList<String> tokens = new ArrayList<String>();
                   while(scan.hasNext())
                        String str = scan.next();
                        str = str.trim();
                        Scanner tags = new Scanner(str);
                        if(tags.hasNext())
                             String tag = tags.next();
                             if(tag.equalsIgnoreCase("a") || tag.equalsIgnoreCase("img") || tag.equalsIgnoreCase("link") || tag.equalsIgnoreCase("embed") || tag.equalsIgnoreCase("frame"))
                                  tokens.add(str);
                             else if(tag.equalsIgnoreCase("style"))
                                  tokens.add(str);// This isn't adding anything
                   for(String str : tokens)
                        System.out.println(str);
              }catch(UnknownHostException x){
                   System.err.println("Host not found.");
              }catch(Exception x){
                   x.printStackTrace();
         //-->>>> FindURLAttributes <<<<--// <--- Under construction
         private static ArrayList<String> findURLAttributes(String tag)
              ArrayList<String> tokens = new ArrayList<String>();
              tokens.add(tag);
              return tokens;
    }

    I've never tried it, but it seems like using an existing html parser would be a lot easier. I've worked with xml dom parsers, and it's not really that hard. I don't imagine working with an html dom would be too difficult either, at least it wouldn't be as hard as doing it by hand. Google for java html parser and see if any of them suit your needs.

  • How to personalize the Actions LOV in Sales Order Form.

    Hi All,
    I've a requirement wherein I need to remove the "Payments" fuction from the Actions button( from list of values) in Sales Order lines Form.
    Navigation: Order management Super User--> query or enter a Sales Order-->Line Items--> Click on Actions button--> Lov is popped up. Now from this LOV I want to remove the Payments Function. User should not be able to see this value in the Actions LOV.
    Please let me know if there is a way to achieve this requirement.
    Regards,
    Tech D.

    See if this helps
    Go to System Adminstartor->Menus
    query ONT_SALES_ORDERS
    go down to find the payments function..mostly prompt and submenu will be empty..
    Uncheck the grant option and save it..it should compile the menu
    Now check by going to resp..
    HTH
    Mahendra

  • Don't know what to put in the "name" spot on login

    I was attempting to change my login settings so when the computer boots up, it shows my name and all I have to do is enter my password to gain access. However, I accidentally selected the option that says: Display login as: Name and Password instead of the list of users option. Now, when I boot up my computer it asks for a "Name" and password. I have tried many different things in the "name" field but nothing seems to work. What is the default login user name? Thanks.

    There is no 'default login user name'. The username is based on your own account name, therefore no one can tell you specifically what it might be.
    If you didn't specifically set a username then you'll need to guess what your username might be. The standard would be firstnamelastname (e.g. John Smith's username might be johnsmith), but there's no guarantee this will work for you.

  • How to get the upload file from a html form ?

    I have a <input type=file ...> control in my form, and the user use that
              control to submit a file
              to my web server. The porblem is the getParameter() function of
              HttpServletRequest only return the
              filename. Does anyone know how to get the file body ?
              Frances
              

    http://www.servlets.com/jsp/examples/ch04/index.html#ex04_17
              Frances Fan <[email protected]> wrote:
              > I have a <input type=file ...> control in my form, and the user use that
              > control to submit a file
              > to my web server. The porblem is the getParameter() function of
              > HttpServletRequest only return the
              > filename. Does anyone know how to get the file body ?
              > Frances
              Dimitri
              

  • What do i put in the Incoming Mail Server...?

    I have Road Runner and I dont know what to put in the Incoming Mail Server box...any ideas...?

    Contact RoadRunner or check it's help web site for the server addresses. There should be a POP server and an SMTP server for POP mail. For IMAP mail (I don't know if they support this format) there will be an incoming mail and outgoing mail server (the outgoing mail server is usually the same as the SMTP server.)

  • How to specify the servlet in the ACTION field in FORM in jsp, html pages?

    I have problem when I return back to the page prova3.html from the servlet because in the address bar it give me this path:
    http://192.168.161.209:8988/Workspace3-Project1-context-root/servlet/servlet/Servlet1
    two times servlet/ why? and what I have to put in the action field?
    This is my form in page prova3.html:
    <form action="servlet/Servlet1" method="post" id="search" style="font: bold 80% Arial,sans-serif; color: #334d55;" >
    <input type="hidden" name="pagina" value="1"/>
         user<input name="username" type="text" size="10" style="font-size: 12px;"/> 
    password<input name="password" type="password" size="10" style="font-size: 12px;"/>
         <input name="login" type="submit" value="Login" style="font-size: 12px; font-family: Arial,sans-serif;"/>
    </form>
    The redirection form servlet to pages is:
    private void toProvaPage(HttpServletRequest request, HttpServletResponse response) throws
    ServletException, IOException {
    RequestDispatcher rd = getServletContext().getRequestDispatcher(
    "/prova.jsp");
    rd.forward(request, response);
    private void toIndexPage(HttpServletRequest request, HttpServletResponse response) throws
    ServletException, IOException {
    RequestDispatcher rd = getServletContext().getRequestDispatcher(
    "/prova3.html");
    rd.forward(request, response);
    Thanks, but I can solve this problem.

    This is my web.xml file where the mapping is specified, this is the thing that I can't understand.
    <web-app>
    <description>Empty web.xml file for Web Application</description>
    <display-name>public_html</display-name>
    <servlet>
    <servlet-name>Servlet1</servlet-name>
    <servlet-class>servlet.Servlet1</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Servlet1</servlet-name>
    <url-pattern>/servlet1</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>
    </web-app>
    Thanks

  • HT5312 why can't I sign into my account and add a rescue email so I will be able to redo my security questions? I have been unable to buy anything from Itunes because it's asks me for security questions that I don't remember what I put

    why can't I sign into my account and add a rescue email so I will be able to redo my security questions? I have been unable to buy anything from Itunes because it's asks me for security questions that I don't remember what I put in the first place

    1. Because if you could, someone who breaks into your account could do it as well.
    2. You need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    (96882)

  • How define the action of a h:form?

    Hi, I have a page that is accessed with http that contains a form which needs to be posted to a https action. As there is no way to define the action attribute for a h:form tag, how can I implement this using the h:form tag? Is there a way to make the commandButton tag action attribute point to a url?

    With JSP+Servlets in Tomcat I would do something like this
       <form action="https://${pageContext.request.serverName}:8443${pageContext.servletContext.contextPath}/Login?action=login" method="post">
             <label for="username"><fmt:message key="user_username"/>:</label><input type="text" name="username" id="username" value="${username}"/>
             <br/>
             <label for="password"><fmt:message key="user_password"/>:</label><input type="password" name="password" id="password" value=""/>
             <br/>
             <input type="submit" value="<fmt:message key="login"/>"/>     
       </form>how I do something similar using JSF html tags?

Maybe you are looking for