Exforsys
+ Reply to Thread
Results 1 to 3 of 3

struts

This is a discussion on struts within the Java forums, part of the Programming Talk category; Hi, I need to run a struts application using Jrun 3.1 and Jbuilder.Can ypu please provide me the steps to ...

  1. #1
    jyothide is offline Junior Member Array
    Join Date
    Jun 2004
    Answers
    2

    struts

    Hi,

    I need to run a struts application using Jrun 3.1 and Jbuilder.Can ypu please provide me the steps to do it.And also where to keep the class files jsp files jar files tld files.

    Thanks,
    Jyothi


  2. #2
    Vasu is offline Member Array
    Join Date
    Nov 2004
    Answers
    36

  3. #3
    akpraveen Guest

    Re:struts

    Hi!

    Your question has a very detailed and lengthy answer. Look up the links in the previous entry and go through them. As for the directory structure, here is a sample.

    base directory/ (this is the name of your war file)
    JSP files
    image folder/image files
    HTML files
    CSS files (if you have multiple style-sheets you can create a folder)
    any subdirectories containing additional JSP, HTML, images, and CSS
    WEB-INF/
    struts-config.xml
    web.xml
    TLD files for various tag libraries
    lib/ (various .jar files for libraries you used)
    classes/ (compiled .class files for your actions and action forms)
    com/
    package1/
    strutstest/
    actions/
    LoginAction.class
    SearchAction.class
    forms/
    LoginForm.class
    SearchForm.class
    META-INF/ (this is part of the .war file)
    MANIFEST.MF (the manifest file from the .war file)

    Also, if you work for a large organization, it is always better to find out from your lead or supervisor if there are any existing standards set by the organization for Web projects. For example, the company I work for, uses a different standard than the one above!

    Hope you have fun with Struts!


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...