facebook

Getting started with Struts

  1. MyEclipse IDE
  2.  > 
  3. Comments
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #204185 Reply

    Claudia
    Member

    I have been looking at the Struts demo with great interest. I am learning Struts and would like to get my team started using MyEclipse right away. I noticed that there is no stop button on the demo which makes it impractical for newbies to follow what is going on. Is there a written script or at least some example code that can be made available? If so I may be willing to write the documentation as a thanks.

    #204194 Reply

    Riyad Kalla
    Member

    Claudia,
    You are right, there is no stop button (how strange I never noticed that), but pressing the pause button (double bars ||) should allow you to pause the demo while you go try the code or steps out yourself. Does this not work for you, or are you not able to see the control bar at the bottom of the movie? You can also right-click on the movie and get a menu with the controls in it as well.

    Please let us know if you have any more trouble, we would hate those cool demos to go to waste! 🙂

    There is no written script for that movie as the team worked together verbally to put together a “quick but detailed struts tutorial that covers A -> Z”.

    #204358 Reply

    Mark Meany
    Member

    We are in a similar situation in as much as the struts tools would be of use to us, but there is no documentation. I have read other posts where you point out that the developers are also doing the documentation (sympathy), but this is a selling point of the package. Asking customers to press pause on a video while they pop back into their development environment is a non starter.

    Now having said that, it is exactly what I did :D. It left me asking lots of questions though, because the wizards have many text entry fields, not all of which are immediately obvious. It would be nice to have a short overview of what they are and how they effect the generated code.

    I guess that this is going to be an ongoing problem for you guys now. You want to get the latest development out to market as quick as possible, it attracts customers, but the documentation will always be at least one step behind!

    Full marks for the struts video though. In the absence of any documentation it was sufficient to get the determined viewer up and running.

    #204359 Reply

    Scott Anderson
    Participant

    The lack of documentation is really getting to be a serious problem for us. Fortunately, the “powers that be” know it and we’re working to close that gap. In order to get 2.7 GA out the door, we won’t wait for the documentation update before shipping it. However, we’ll do an interim documentation update on the website during the 2.8 beta timeframe in April.

    It’s about time to take a little break and concentrate on teaching people how to use all the cool features we’re all so obsessed with building. 🙂

    Glad the viewlet got you up and going. We did it as a “stop gap” measure until we could get “real documentation” done. Looks like it at least works a bit in that regard.

    #204360 Reply

    Scott Anderson
    Participant

    One more thing. Bill Dudney is an author over at Sourcebeat. He’ll be doing a chapter in his “live book” on Eclipse that will be all about MyEclipse. The book location is here: http://www.sourcebeat.com/TitleAction.do?id=2

    I’m sure he’d love to hear from our users, so tell him what you want him to write about. A nice MyEclipse Struts tutorial, perhaps? 🙂

    #209692 Reply

    Tom
    Member

    This pertains to the Struts Development Demo available at:
    http://www.myeclipseide.com/ContentExpress-display-ceid-16.html

    I’ve installed it successfully in both 2.1.3/2.7.1 and 3.0.0/3.8b1 on Linux, but on Windows 2000 the result is always:
    javax.servlet .jsp/JspException: Cannot retrieve mapping for action /[ACTION_PATH]

    I have now uninstalled MyEclipse and deleted Eclipse and the workspace and Tomcat completely, and reinstalled everything from scratch and started the demo over, repeatedly, and Tomcat itself seems to work fine, but the result with the demo is always the same.

    It may be a red herring, but the Eclipse toolbar icon changes to a Windows error flag when adding the “name” attribute of the “New Form, Action and JSP” to the struts-config.xml action-mapping. I quit and restarted Eclipse and it didn’t happen again.

    Maybe it has to do with using “localdomain”, as in localdomain.struts, on a Windows machine that doesn’t know from DNS?

    I will sure appreciate any clues!!

    TIA,
    Tom

    System information:
    Windows 2000 Professional with all updates
    Eclipse version and build id: 3.0.0 – 200406251208
    MyEclipse version: 3.7.101
    Eclipse and MyEclipse and Tomcat are freshly installed (by a user, not Administrator)
    No plugins in the <eclipse>/plugins directory like org.eclipse.pde…
    Using JDK version 1.4.2_05
    Eclipse Java installed JREs specify (only) j2sdk1.4.2_05
    Using the Tomcat 5.0.25 application server
    There is no file <workspace>/.metadata/.log

    #209700 Reply

    Riyad Kalla
    Member

    Tom,
    This is actually a bug in MyEclipse with the current release (we are releasing a new Beta today that you might want to try instead). The problem is that if you open up your JSP page and look at the <html:form> element, namely its “action” attribute, it is “/[ACTION_PATH]” instead of the proper path that was setup in the struts-config.xml file.

    #216335 Reply

    It has been a while since this discussion… I am wondering if there has been any progress on the documentation front since this discussion was last posted? I am looking both for documentation using struts with MyEclipse as well as general struts documentation.

    Thanks for your help,
    Marc

    #216337 Reply

    Riyad Kalla
    Member

    The word on the street is that 3.8.3 will be a documentation release. I know that I’ve been working on docs and so have a few others… but I don’t know ultimately what the schedule is.

    #216363 Reply

    Scott Anderson
    Participant

    The schedule is that we’ll make documentation available on a piece by piece basis as soon as it’s completed on the website. Then, for 3.8.3 we’ll roll a subset of it into the built-in Eclipse help system. However, documentation is absolutely priority one for 3.8.3.

    #216375 Reply

    Paul Kaiser
    Member

    Will the completed documentation be available on your website on an on-going basis?

    Do you plan to make it downloadable in a form other than a MyEclipse upgrade?

    Thanks,
    Paul

    #216378 Reply

    Riyad Kalla
    Member

    Paul,
    Yes it should be added as it is finished to the Tutorials/Documentation section at the least. I don’t know how much of it will be flash demos and how much will be HTML tutorials, but we know not everyone prefers one over the other.

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: Getting started with Struts

You must be logged in to post in the forum log in