Problems creating Struts ActionForm in JDeveloper 9.0.3.3

I am very new to JDeveloper, where recently i am learning on how to use the struts technology. The problem occurs when i right-click the project file at the navigator and i choose NEW then at the Web-Tier i choose Struts, and at the item columns i choose ActionForm. The thing is the dialog doesnt prompt and it goes back to the main Window. What's the problem? Any patches that i need to upgrade? I use JDeveloper 9.0.3.3 is because my company doesnt want to migrate to 10g for the time being. So, I have limitation in using 10g instead.
Regards,
RoLand
Java Developer

Hi Roland.
Yes, you are right. This does not seem to be working in the 9.0.3.x code base. I checked the 9.0.3.4 release and all the available patches and I don't see it as being fixed.
It is working in the 9.0.4.x release though and that is not 10g... Would that work for you?
Alternatively, you can could the action form class manually. Check out the 9.0.4 release on OTN to see what is generating and replicate that your 9.0.3.x product.
Hope that helps.
Pete

Similar Messages

  • Problems creating BC4J package in JDeveloper

    I am using the JDeveloper Business Components Package Wizard with 9i Lite. I am trying to create a BC4J package for the DEPARTMENTS table in the HR schema. I get an error: "No primary key attributes and does not support ROWID." I have checked the DEPARTMENTS table & it does indeed have a primary key. I suspect 9i Lite is the problem. Any clues?

    You might want to complete the BC4J Tutorial in the Developer's Guide for Web-to-Go, Chapter 6 before you try on a custom application. Yes, every base table must have a PK using 5.0.2 onwards.

  • Newbie Struts ActionForm creation question in JDeveloper

    Hey guys,
    I am playing around with Struts and the JDeveloper functionality for that framework. So I am getting the hang of the diagramatic way of viewing the entire Web application by graphically creating the struts-config.xml file. That is great.
    But now I have a question. Suppose I have a simple Login jsp page and I created it using the Struts html tag library. So I guess I am to have a corresponding ActionForm object for that page. How does one go about creating an ActionForm object corresponding to a particular JSP page diagramatically in struts-config.xml? I hope my question makes sense.

    Hmm, I guess you just specify what ActionForm you are wanting to take the parameter values from by just editing the properties of the Action object itself. I think I figured out the answer guys. Thanks anyway.

  • XMl parser version problem for running struts project in jdeveloper 10.1.3

    Dear All.
    I am trying to run a struts (v 1.2.9) based project in Jdeveloper 10.1.3.1.0.The struts version in Jdeveloper is 1.1.
    when i am trying to run the index.jsp i get an error:
    org.xml.sax.SAXNotRecognizedException: http://apache.org/xml/features/validation/dynamic
    I think the XML parser version is a problem.Jdeveloper has OracleXMLParser v2 and i think the XML Parser apis used in building the project is different.I have placedcustiom xml parser apis and the xerces.jar in the jdevbin/jdev/lib folder and included these jar in the bootclasspath as follows:
    AddVMOption -Xbootclasspath/p:../lib/xml-apis.jar
    AddVMOption -Xbootclasspath/p:../lib/xerces-2.6.2.jar
    But even then the Exception persists.Is the syntax for Xbootclasspath wrong or i need to place these custom api's in some other location of jdev.
    I am not being able to figure out the XMl parser problem.
    Any help wud be great.
    Is it that i cant run the project in jdeveloper.Just to mention the application is deployed in OC4J on the server and runs fine..But its only that i kant run it locally through jdeveloper

    I am also facing the same issue on my laptop. I searched for forum but no luck.
    appreciate if anybody can throw some light on this.

  • How to create pdk java struts portlet in jdeveloper 11g

    Hi All,
    Im newbie ,I am unable to follow the steps in creating struts portlet on using Oracle portal developers guide in Jdeveloper 11g .can any one tell me the step by step procedure of creating struts portlet or any other related links.
    FYI:I stuck up in the guide which didn't explain how to create struts-config.xml( and its structure) and also how to create view and page flow .
    In the book they gave as :"To create a new view, first create a new set of ActionMappings (page flow) that will redirect the various actions and requests to Portal-specific JSPs. "
    Please help me on this, Thanks in Advance,
    Regards,
    siva
    Edited by: siva on Sep 25, 2011 10:51 PM

    You are mixing versions.
    JDev 11g needs the 11g SOA version (download from here )or use JDev10g together with Oracle SOA Suite 10.1.3.1.0
    Timo

  • Problem creating jar using JDeveloper

    I'm creating jar using JDeveloper..I need to keep two dll files in the jar. But if I create the jar in JDeveloper, it can't include the dll files. If the jar is created from command prompt, it can include the dll files. Can anyone tell me how can I include these dlls in my jar?

    Putting DLLs in your classes directory is dangerous (eg. Run->Clean Project.jpr will remove it). I use a different way to achieve that:
    When you double click on the deployment profile you'll see a dialog window containing a list of items. The one of interest is the one called File Groups. Select this item, click on the New button and add a new file group just for your DLLs.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • "Serious Problem in Struts" + "Please help me"

    Hi all,
    I m facing one problem in struts. I have A DTO with Attributes(data transfer Object) which contains one Array List. In that Arraylist i have other B DTO with Attributes.
    In my Screen I have fields which are using some of the attributes from A DTo and B Dto
    In the JSP
    I m creating controls like this
    <html:text name="facilityForm" property="dto.installationSite" />
    in the ActionForm I m setting values which are typed in the screen to the dto.
    I have to create one control(textbox) which is using B DTO Attribute..
    How to do that?
    if its the attribute of DTO i can create like this
    "dto.installationSite"
    But A Dto contains ArrayList that contains B Dto objects
    <html:text name="facilityForm" property="dto.ARRAYLIST(B DTO).Attribute" />
    Please help me...

    try this... (not sure though)
    <html:text name="facilityForm" property="dto[0].Attribute" />
    or is it this:
    <html:text name="facilityForm" property="dto(0).Attribute" />
    ... I'm not really sure about this, however. ...Maybe instead, loop thru the outer list and create a field for each object.

  • Struts actionform and checkboxes

    hi!
    I'm having trouble creating an actionform for a jsp that i have. Basically, my jsp lists files which have their corresponding checkboxes. The user can click multiple checkbox representing the files he wants to download. On clicking the download button, it submits it to my DownloadAction.
    My problem is that only the first checkbox is stored in my actionform.
    here's my actionform:
    package mybeans;
    import org.apache.struts.action.ActionForm;
    import java.util.*;
    public class FilesForm extends ActionForm
        Vector files = new Vector();
        String file = null;
        public String getFile() {
             System.out.println( "getting file" );
             return file;
        public void setFile( String string ) {  
             System.out.println( "setting file" );      
             file += string + ",";
             files.add( string );
        public Vector getFiles() {
             return files;
    }my jsp is a bit big. here's the form part:
    <html:form action="/download">
      <table>
        <tr>
          <td><input type="checkbox" name="file" value="someDynamicID"></td>
          <td>filename</td>
        </tr>
      ...more files here...
      </table>
    </html:form>Thanks in advance!

    Make your setter take a String[] argument and your getter return a String[] argument (I think List or Set might also work).

  • Problem in struts using JDeveloper10.1.2

    hi
    Iam completly new to jdeveloper
    Iam using jdev 10.1.2 for my simple struts application
    I have
    action class -- LoginAction
    form bean -- login (using DynaActionForm)
    login.jsp to enter username
    success.jsp for welcom msg
    failure.jsp --- in this i use one submit btn when i press this it will go to login.jsp for relogin
    <form action="/login.jsp">....
    the problem is
    In LoginAction
    String password=(String)((DynaActionForm)form).get("password");
    // String pwd =request.getParameter("username");
    if(password.equalsIgnoreCase("oracle"))
    return mapping.findForward("success");
    else
    return mapping.findForward("failure");
    iam import all the class for the respective reff variables.
    But it will indicate err underline(blue) under text which are in bold saying msgs as
    --method get(java.lang.string) not found in org.apache.struts.action.DynaActionform
    the samething for remaining two showing on ActionMapping
    plese tell me where is the problem
    running on Embedded OC4J SERVER
    error message is
    http://hostname:8988/hello_struts1-ViewController-context-root/login.do
    07/07/19 17:12:31 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) initialized
    Jul 19, 2007 5:12:32 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    Jul 19, 2007 5:12:32 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    Jul 19, 2007 5:12:32 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='view.ApplicationResources', returnNull=true
    Jul 19, 2007 5:12:32 PM org.apache.struts.action.RequestProcessor processException
    WARNING: Unhandled Exception thrown: class java.lang.NullPointerException
    thanks

    Duplicate post:
    problem on struts using jdeveloper 10.1.2
    user583549,
    I see you got an answer from Shay in the other post.
    Good Luck,
    Avi.

  • UIX and Struts ActionForm

    Hi,
    Can I use Struts ActionForm and ADF UIX?
    Thanks

    The "Simple Hello World sample using ADF UIX and JDeveloper 10g Preview" application integrates Struts with ADF UIX.
    http://jjacobi.blogspot.com/2003_11_30_jjacobi_archive.html
    Simple ADF UIX User Input Application
    http://www.oracle.com/technology/products/jdev/howtos/10g/adf_uix_userinput_ht/index.html

  • No option to create new workspace in JDeveloper; turning BPEL Designer "on"

    I'm trying to do some BPEL work on Linux, using JDeveloper Studio 10.1.3.4.
    A couple of issues:
    1) although the BPEL Designer shows up as a component in the "About", and BPEL Process Modeler shows up as a loaded extension in the same place, BPEL Process Project is a grayed-out option in New Projects. This may simply be due to the fact that BPEL Designer apparently needs to be turned "on", and I've yet to figure out how to do that on Linux (since the documentation is mostly for Windows).
    So if this problem is solved by turning the JDeveloper BPEL Designer "on", I sure wouldn't mind knowing how to do it on Linux. It's easy enough to start the BPEL Process Manager - I have that running right now - but I see no shell script anywhere in the SOA Suite installation that remotely looks like it might start BPEL Designer.
    2) Many of the tutorials say that one should create a workspace in JDeveloper. According to them this is available as an option under File > New. Well, in Linux JDeveloper Studio 10.1.3.4 it's not available at all. It doesn't even exist as a disabled option. I find this curious, and somewhat disturbing.
    Any ideas as to why something so central doesn't show up?
    Regards,
    Arved

    OK, good to know, John. Eventually a person figures it out one way or the other. I realize all of this stuff exists in documentation someplace, but there's only so many hours in the day. And if you're using JDeveloper 10.1.3, with JDeveloper 11 already available, you don't necessarily expect a lot of the articles you run across to be so old that they still refer to workspaces. I'm not saying that these are necessarily Oracle articles.
    As an aside I've found Oracle documentation to be pretty good. I use Oracle software on Windows, Mac OS X and Linux. For ESB and BPEL on Linux the main problem with the docs is that they are incomplete. It's disconcerting to see continual references to having to turn BPEL Designer on, in Windows, and have no instructions concerning that for Linux, as one example. As it happens, doing a "startall" for opmnctl does everything I need, so if there's a separate BPEL Designer started up by that (as opposed to the BPEL Process Manager) I guess that's where it gets fired up. That may also be covered in documentation someplace, for Linux, but I haven't found it.
    Arved

  • Struts ActionForm wizard

    In jdev 9.0.3 you used to be able to select File..New..Struts..ActionForm which would then create a skeleton class extending struts.action.actionform.
    Any way of doing this jdev 10g ???
    I know I can do new..Java class then extend it myself but the previous way was a lot easier.
    Thanks
    Conrad

    Using the Struts Diagram:
    --If you already have the Action element in the Struts diagram, Rt click on the Action element to invoke the context menu and select "Go to Form Bean".
    --A dialog ("Create Struts Form Bean") opens, enter Action Form details and click OK
    --You should see the skeleton class for your action form.
    HTH,
    Prashanth

  • Problem Creating Hyperlink to another workbook

    I am having a problem creating a hyperlink to a worksheet in another workbook.
    Here is what I have done:
    Created the master and detail reports in 2 different workbooks.
    Executed the master worksheet to display the data
    Right clicked the field in the first row where I want to create the hyperlink, and chose Manage Links
    Clicked the New Link button
    Chose Worksheet for Where do you want to link to?
    Clicked Browse by the Destination Worksheet
    Clicked the detail report from the list of workbooks but the select button is grayed out
    Does anyone have any idea why it won't let me select the detail report to link to?
    I have OracleBI Discoverer Plus 10g
    Any suggestions would be deeply appreciated.

    Yes, I did add a parameter to the detail report so that I could get detail just for that one item. The part that is giving me trouble is specifying the Destination workbook/worksheet. I see the detail report when I browse but the Select button is grayed out so I haven't made it to the part where you identify what values to pass to the detail report yet.

  • I'm exhausted of trying to find a solution to a problem created by Apple. I have moved to iCloud, following your instructions and now I can not use my mobileme e-mail address. How can I contact directly with Apple, not just an automatic reply phone number

    I'm exhausted of trying to find a solution to a problem created by Apple. I have moved to icloud following all your instructions and now I can not use my mobile me e-mail address. I can not activate icloud because when I put my e-mail address it answers that somebody is already using my address. I have my old e-mails, but I can not receive any e-mail or send them.
    I have contacted Apple Technical Support in Spain and I was sent an e-mail saying that I have to call a phone number and when I call it is always an answering machine who answers that says that I have to pay 50€ for a consultation or wait for 10 minutes. When I have made the consultation it was never mentioned that I have to pay 50€ for a phone consultation. If I don't want to wait I have to pay for the Apple Tecnical Support which cost 250 €, this was not mentioned in the technical support page.
    Can somebody let me know how can I contact Apple in another way in order to talk with a human being or chat directly? I was very happy just using my mobileme e-mails, I didn't need any clouds and I was force by Apple to registered if I want to continue using my mobileme e-mail address.

    Sandra,
    See this Apple support document for information on reporting an issue with your iTunes purchase.
    http://support.apple.com/kb/HT1933
    B-rock

  • I would like to create a playlist of some of my voicememos to hear on my iphone5. I have no problem creating the list and can listen on playlist on computer but not when i sync to my phone. How can I listen to voicememos in a playlist on my iPhone?

    I would like to create a playlist of some of my voicememos to hear on my iphone5. I have no problem creating the list and can listen on playlist on computer but not when i sync to my phone. How can I listen to voicememos in a playlist on my iPhone?

    Hi czigrand,
    Thanks for visiting Apple Support Communities.
    Currently, you can gift dollar amounts or individual items (EG. songs) on the iTunes Store. See this article for more information:
    In the iTunes Store, you can gift a dollar amount or specific music, movies, TV shows, or apps from your iPhone, iPod touch, iPad, Mac, or PC. Follow these steps to send a gift from the iTunes Store.
    iTunes: Sending iTunes Gifts
    http://support.apple.com/kb/HT2736
    Best Regards,
    Jeremy

Maybe you are looking for

  • How to get int value from [session.getAttribute("String")]

    i am not able to get int value from the following statiment int i=session.getAttribute("String"); i also try by casting it into int but it dont work, can somebody help me in this regard

  • Header in pivot table

    Hello, I have pivot table with header like this: Customer, A - Credit Limit, B - Credit Limit , Amount. On the top A- Credit Limit, B - Credit Limit I want put Credit Limit as first header. In second header I want have Customer, A, B, Amount. Is this

  • Linking to files outside a jar

    Hey all, this is the problem: I have a jar called, lets say, Test.jar that contains a class TestClass.jar. TestClass references a properties file where it gets information about where to find required resources etc. Test.jar is in a directory C:\Java

  • IChat video conference corporate firewall help please!

    Hi Folks, I'm trying to get an iChat video conference going, and I keep getting the pesky Error -8 problem. Here's the info i have: - My computer is an intel iMac. The other computer is an intel MacBook Pro, both have all software updates installed a

  • HT201209 I have $66 credit in itunes but dont have code

    I cant access the my credit  I have in tunes as I threw the card away after I redeemed it how can I access this without a code?