How to run struts in eclipse3.1.2

hi,
I have to know how to run struts project in Eclipse(lomboz-wtp-emf-gef-jem-eclipse-SDK-3.1.2-win32).How i will create struts-config.xml file here & how i will run this project. Is there anyone who can help me about this? where i will keep this config file. Please Help me.
With regards
Bina

When u want to create Struts Application in Eclipse..
1. Select Project : Enterprise Project..
which will create u 1. StrutsConfig.xml
2. all tld files
3. Go for Project properties
1. add all jar files
2. select all lib files and then submit.
if u come to Application side
1. JSp - Java Script (Ajax optional)
|
2. Action Form
|
3. Action Class - Application Properties - Struts-config.xml
|
4. DTO
|
5. Facade
|
6. Home.
|
7. Session Bean
|
8. DAO
|
9. DB
This is heirarchy of the project.........

Similar Messages

  • How to run Struts program with the help of tomcat

    Hello Everybody
    This is Adesh.I am a newcomer of java and facing a problem with struts, so if any one know how to set the path of struts and how to run struts program, so plz inform me.
    THX in Advance.............................................

    struts-config.xml
    <struts-config>
    <action-mappings>
         <action path  = "/welcome"
                    type  = "Welcome"
                    scope="session">
                <forward name="success" path=".welcome"/>
                <forward name="failure" path=".base.error"/>
         </action>
    </action-mappings>
        <plug-in className="org.apache.struts.tiles.TilesPlugin">
            <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml"/>
            <set-property property="definitions-debug" value="1"/>
            <set-property property="definitions-parser-details" value="0"/>
            <set-property property="definitions-parser-validate" value="true"/>
        </plug-in>
    </struts-config>tiles-defs.xml
    <tiles-definitions>
         <definition name = ".base" path = "/include/template.jsp">
              <put name = "title" value = "${title}"/>
              <put name = "header" value = "/include/top.jsp"/>
              <put name = "body" value = "${body}"/>
              <put name = "footer" value = "/include/footer.jsp"/>
         </definition>
    </tiles-definitions>web.xml
    <servlet>
            <servlet-name>action</servlet-name>
            <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
            <init-param>
                <param-name>config</param-name>
                <param-value>/WEB-INF/struts-config.xml</param-value>
            </init-param>
    <init-param>
                <param-name>definitions-config</param-name>
                <param-value>/WEB-INF/tiles-defs.xml</param-value>
            </init-param>
            <load-on-startup>1</load-on-startup>
        </servlet>
    <servlet>
            <servlet-name>init</servlet-name>
            <servlet-class>Init</servlet-class>
            <load-on-startup>2</load-on-startup>
        </servlet>
        <servlet-mapping>
            <servlet-name>action</servlet-name>
            <url-pattern>*.do</url-pattern>
        </servlet-mapping>
      <jsp-config>
        <taglib>
            <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
            <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
            <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
            <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>/WEB-INF/wall.tld</taglib-uri>
            <taglib-location>/WEB-INF/wall.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>/WEB-INF/c.tld</taglib-uri>
            <taglib-location>/WEB-INF/c.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>/WEB-INF/fn.tld</taglib-uri>
            <taglib-location>/WEB-INF/fn.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>/WEB-INF/fmt.tld</taglib-uri>
            <taglib-location>/WEB-INF/fmt.tld</taglib-location>
        </taglib>
    </jsp-config>
        <resource-ref>
            <description>DB Connection</description>
            <res-ref-name>jdbc/SQLServerDB</res-ref-name>
            <res-type>javax.sql.DataSource</res-type>
            <res-auth>Container</res-auth>
        </resource-ref>
    </web-app>This should help....

  • How to run Struts applications in NWDS?

    Hi All,
    I am new to SAP Netweaver developer studio.
    I run the java applications like servlets and jsp’s.
    But I want to know how to run Struts in netweaver.
    I am using netweaver 2004.
    Please can you tell me how to run Struts?
    Thanks in Advance…

    Hi,
    Check this Blog
    /people/narayanaswamy.balasubramaniam/blog/2005/02/26/using-jakarta-struts-in-web-application-server-part-i
    /people/narayanaswamy.balasubramaniam/blog/2005/02/26/using-jakarta-struts-in-web-application-server-part-ii
    Regards
    Ayyapparaj

  • How to run struts-1.2.7 with BigApache 1.06

    I have installed BigApache 1.06 and I want to run struts application in BigApache. The version of struts is 1.2.7 , and the application is the sample application:struts-examples which comes with the installation
    I had copied the war file in ..\BigApache\Jboss\server\all\deploy folder for deployment. The server is running i had checked the sample web applications of Big Apache . but when i tried to run my application through browser
    it gave me following error on the browser:
    Object not found!
    The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
    Error 404
    How can i solve this , do i need to restart the server , when i try to restart the server it gives me following error
    [Mon Jun 27 09:22:11 2005] [alert] (OS 5)Access is denied. : FastCGI: CreateMut
    ex() failed
    Syntax error on line 86 of C:/BigApache/Apache/conf/httpd.conf:
    failed to create FastCGI application accept mutex
    Note the errors or messages above, and press the <ESC> key to exit. 28...
    Can any body tell me how can I resolve this issue, do i need to do some configuration

    Sascha,
    I've sent an email to my colleague Ric who wrote the OTN whitepaper on how to install a 10.1.2 UIX application into OC4J 10.1.3. Hopefully he may be able to help me understand what are the issues with running UIX 10.1.2 with ADF 10.1.3. I'll post what I'm able to learn to this thread.

  • How to run Eclipse in a Linux machine?

    hi guys,
    I have worked with Eclipse3.0 under windows platform.
    but then can i know how to run Eclipse in a Red-Hat Linux machine,
    if yes, then please do elaborate the same.
    thank u.
    Cheers,
    vishal j

    Get it from this page http://download.eclipse.org/eclipse/downloads/drops/R-3.1.2-200601181600/index.php

  • Running Struts on Weblogic

    Hi,
    I've just started to explore Struts, and am trying to set up a very simple example with one simple Action, one Form Bean using the validate() method to manually validate inputs.
    I've gotten the example working in Tomcat. However when I tried to run the same example on Weblogic, I ran into some problems with the message resources for the validation.
    On Tomcat, if I trigger a validation error, I got this message on my form page:
    Wrong Login NameHowever when I tried the same code on Weblogic, I got this instead.
    ???en_US.errors.wrongLoginName???The error key in my .properties file is errors.wrongLoginName. So it seems like Weblogic prefixes the key with the locale before it tries to look for the key. Any ideas how to stop Weblogic from doing that? Or are there better ways to code my application so that it works without modifications on both Tomcat and Weblogic?
    Also anyone familiar with what I may need to take note of when developing Struts application for Weblogic?
    I'm sorry if this is not exactly the right forum to post this, but I can't find a more appropriate one to post this. Anyone knows of any good Struts forum that I can join?
    Thanks in advance for any replies!

    Hi all,
    Just found out what's wrong with this. Apparently the weblogic deploy script that I was using (I'm developing on Eclipse, and am using Ant deploy scripts to deploy to Tomcat and Weblogic) had some problems. It didn't deploy the .properties files.
    Sorry, my bad :-(
    I would still however hope to get some advice on the Struts forums and also if there are any known issues anyone has encountered when running Struts with Weblogic.

  • How to run berkeley DB in backend

    Hi,
    I have a question on how to run berkeley DB in backend under Linux. I am running a web application using Struts. Upon users' request, the application needs to access BerkeleyDB. Since BerkeleyDB has the cache mechanism, I hope to keep it open in the backend, and when the request comes, it is can be handled with help of cache. I read the manual, but it seems that each time an action is invoked, the action has to open BerkeleyDB and access data. When the action finishes, BerkeleyDB needs to be closed. However, the cache will be lost.
    Basically, what I want is what RDBMS (e.g. oracle) behaves: they run in the backend. Application can use JDBC connect to it, and the cache is always there.
    Is there any way to get around this? or is there other way to leverage BerkeleyDB's cache in web application? I am not sure if the question is too naive, because I am quite new to the web application.
    thanks,
    Jeff

    Hi,
    The best approach is normally to keep the BDB JE Environment open for the lifetime of your web application. To do that, you'll need to save the Environment object as context information after you open it. And don't forget to close the Environment when your web application stops.
    All web frameworks provide some way to save context information between HTTP requests. For example, I'm sure that struts provides a way for you to access the ServletContext.
    This forum is not the best place to ask detailed questions about struts or servlets. I would ask those questions on a struts forum, or even better try to find this information in the servlet / struts documentation.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • HOW TO RUN ADOBE READER IN MACBOOK PRO

    HOW TO RUN ADOBE READER IN MACBOOK PRO

    Please stop using caps.  It is considered shouting and rude.
    You need to download the program. The reader runs when needed.
    Barry

  • How to run 'Get-AssignedAccess' or 'Set-AssignedAccess' power shell commands in c# Application

    Hi,
    I have console application using which i am trying to run power shell command  like 'Get-AssignedAccess' or 'Set-AssignedAccess'.
    i am using below code for this it is throwing exception 'Get-AssignedAccess' doesn't exist in cmdlet which is correct because these commands belongs to function category.
    using (PowerShell pwInstance = PowerShell.Create())
                            pwInstance .AddScript("Get-AssignedAccess");
                            var result = pwInstance .Invoke();
    How can we execute this kind of command using c#?
    Thanks,

    Hi prakashlight,
    Thank you for comming back and tell us the result. For more information about how to run PowerShell script in C# language, you can refer to this blogpost here:
    Executing PowerShell scripts from C#
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Does anyone know How to run twin monitors on a MacBook Pro operating on a Windows Server 2008 R2 ?

    Hi
    Does anyone know How to run twin monitors on a MacBook Pro operating on a Windows Server 2008 R2 ?

    I know this doesn't help you much, but, I think you have to see if your Mac pro does audio out via HDMI. I don't even know if mine does via DVI. I think it may have to do with the adapter. Try going into Audio MIDI and setting the digital out to multichannel
    and using the toslink cable for now. Lemme see...apparently DVI does not carry audio at all. Hm. apparently monoprice could be helpful?  If I understand what you're saying correctly: you want to take DVI and multichannel audio via the Toslink and have it all go out over HDMI, right? Whooo..... amazon...looks like it's about $100http://www.amazon.com/Audio-SPDIF-Toslink-Converter-Adapter/dp/B0015YYOQQ
    just a shot in the dark
    I'm probably wrong....or not
    John B

  • How to run expdp from client ?

    Hi All,
    I tried searching google and forums for my issue but to no avail > How to run expdp from client side ....like in my laptop.
    Because currently our PROD database server has no space for expdp dump file. So I want it directed to my laptop which has an extenal USB of 1TB harddisk...via client EXPDP
    import data using impdp command
    Posted on: 08-May-2012 11:36, by user: 841731 -- Relevance: 53% -- Show all results within this thread
    below command is correct or not? if it is not correct could you please send me the correct command. impdp user/pass@databasename schemas=sourceschemaname remap_schema=sourceschemaname:destinationschemaname ...
    System generated Index names different on target database after expdp/impdp
    Posted on: 30-May-2012 11:58, by user: 895124 -- Relevance: 43% -- Show all results within this thread
    After performing expdp/impdp to move data from one database (A) to another (B), the system name generated indexes has different ...
    [ETL] TTS vs expdp/impdp vs ctas (dblink
    Posted on: 08-May-2012 21:10, by user: 869578 -- Relevance: 39% -- Show all results within this thread
    (table : 500 giga, index : 500 giga), how much faster is TTS (transportable tablespace) over expdp/impdp, and over ctas (dblink) ? As you know, the speed of etl depends on the hardware capacity. (io ...
    Oracle Client
    Posted on: 21-Jun-2012 22:47, by user: Sh**** -- Relevance: 32% -- Show all results within this thread
    Hi Guys, Please can you guys elaborate the difference between Oracle Client and Oracle Instant Client. Also, please can you advise from where I can download the Oracle normal ...
    Oracle 10g Client
    Posted on: 05-Jun-2012 10:11, by user: dzm -- Relevance: 26% -- Show all results within this thread
    to search at oracle site and this forum, but i wasn't able to find a link to download the oracle 10g client. I really need especificaly the 10g version. Anybody know the link or another way to download ...
    9i client to access 11g database
    Posted on: 22-Jun-2012 07:31, by user: kkrm333 -- Relevance: 24% -- Show all results within this thread
    Hi, Can i access a 11g database using 9i client? Thanks,
    SQLplus in Oracle Client
    Posted on: 14-Jun-2012 00:36, by user: Tim B. -- Relevance: 24% -- Show all results within this thread
    Hi, I tried to install an 11g oracle client in linux. As I've compared the files with the files when you install using the oracle instant ...
    Re: Information on Oracle Client 11202-1.1.4-6
    Posted on: 05-Jun-2012 03:33, by user: 898763 -- Relevance: 23% -- Show all results within this thread
    Actually thats the client requirement
    Analysing the performance of a single client
    Posted on: 28-Mar-2012 02:05, by user: 880172 -- Relevance: 23% -- Show all results within this thread
    timeouts even on some of the simplest queries. I want to try and get some data about how just this one client is performing and what it’s doing, but everything Google has thrown up so far is orientated around ...
    to make client connection as sys
    Posted on: 12-Jun-2012 22:04, by user: user11221081 -- Relevance: 23% -- Show all results within this thread
    Dear gurus can i connect to my server from my client machine with sysdba without giving sys password i have connected in different ways as sys@abc ...Thanks a lot.

    Though you can initiate the binary from your client side but for the file creation, there is no other way but to store it on the server side. So your best bet would be to get some space free on the server side of yours.
    Aman....

  • How to run a Concurrent Program from the back end?

    Hi,
    How to run a Concurrent Program from the back end?
    Is it Possible to see that Concuurent Request id which we run from the back end, in the front end?
    If yes, then Please Give reply how to write the code
    Thanks in Advance,
    Bharathi.S

    This is documented in Chapter 20 of the Application Developers Guide http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121devg.pdf. These MOS Docs also have some information available
    221542.1 - Sample Code for FND_SUBMIT and FND_REQUEST API's
    235359.1 - How to Launch Planning Data Pull MSCPDP using FND_REQUEST.SUBMIT_REQUEST
    HTH
    Srini

  • How to run a report from oracle 10g form in .csv format

    dear all,
    how to run a report from oracle 10g form in .csv format? i've already run in pdf & excel format.
    i'm using
    SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'PDF'); --for pdf
    SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'SPREADSHEET'); ---for excel
    Please Help..

    i have already tried.
    but the report show in htm or html format. that file will not save into csv. please help.

  • How to run a script on Oracle server from isqlplus

    Hi I am trying to run a script on my workstation from Oracle server through isqlplus workarea. I entered following command and get the following error. i have enabled isqlplus URL by editing web.xml file already. Can please someone help how to run the script?
    @http://myaixserver.com:5560/scripts/Databasestartupstages.sql;
    SP2-0920: HTTP error 'page not found (505)' on attempt to open URL

    So far, you haven't specified your rdbms version and isqlplus behaved differently on a 9iR1, 9iR2 from the one release on 10gR1/R2. on 9i it was a servlet based on a JServ servlet executor machine, meanwhile on 10g it is a J2EE compliant application deployed on an OC4J container, so configuration is different.
    You may want to take a look at these references -->
    * Starting iSQL*Plus from a URL
    * Creating Reports using iSQL*Plus
    ~ Madrid

  • How to run the form that is only installed on a PC and not using a server?

    Hi
    I am new to Oracle and have taken the forms class. But I do not understand how to run the form from my PC using XP windows. (Do not have access to a server).
    I have started the OC4J, made sure the listener was started, compiled the form and then when I run it, it automatically goes to the HTTP:
    ERROR: res://ieframe.dll/acr_depnx_error.htm#,http://kevin:8889/forms/frmservle
    I connected to the database correctly. I can process a report and it does nor try to access the internet. My only issue is running the form. I verified it compiled.
    Sorry for a basic question. Could someone please help, I tried reviewing other questions, but not sure if they are connecting to a server or not.
    I see webutil but is it required if I don't have a server? Thank you in advance.

    Regardless of the version, it appears that you may not have configured the Builder. Do the following:
    1. Open the Builder
    2. From the menu, select Edit > Preferences > Runtime
    3. In the box labeled "Application Server URL:", enter a local URL needed to run a form OR click the button labeled "Reset to Default". If you decide to manually enter a value, it would looks something like this:
    http://localhost:8889/forms/frmservlet
    4. In the field labeled "Web Browser Location:", enter the path and executable to your preferred browser. So for example if IE is your browser of choice the entry would most likely look like this:
    C:\Program Files\Internet Explorer\IEXPLORE.EXE
    5. Click on OK and retest.
    By the way, you can manually enter a URL in the browser. Clicking the RunForm button from the Builder is strictly optional. To run the "test" form directly from the browser enter the following into the browser's address field:
    http://localhost:8889/forms/frmservlet?form=test
    More information about Forms can be found on OTN:
    http://www.oracle.com/technology/products/forms/index.html

Maybe you are looking for

  • Ipod battery replacement program question

    Once I return my battery-heating ipod nano (first gen), what ipod will it be replaced with?  Thanks, just curious.

  • CIDX Adapter Applying Certificates

    Essentially I have imported the certificate we need to use with the CIDX adapter for connecting to elemica, but when I select the keystore on a separate java instance (DAE, decentralized adapter engine) I cannot see it?  Does anyone have any insight

  • Object Oriented dll

    Ok, so I need to use a dll that is object oriented.  Based on what I have read on the board, there is no way to do this directly from LV.  I assume that the 8.2 version would be of no help, since it looks to me like its OO capabilities are limited to

  • No JobServers are configured for ISJobServerGroup. (COR-10715)

    hello, I have problem when do data profiling in Information steward: No JobServers are configured for ISJobServerGroup. (COR-10715) com.bobj.mm.sdk.SDKException: No JobServers are configured for ISJobServerGroup. (COR-10715) i search in the forums, m

  • Two ipad2s on the same account?

    I bought my daughter a ipad2, now we both have one. How will this work with one account?