facebook

struts demo

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #206114 Reply

    kvance
    Member

    I have a problem while using struts demo example on your site.
    I followed the example and everything went well until I tested it. I deployed the project to TomCat and Jrun 4. login.do page was blank on both servers. There were no errors thrown on Jrun log file. Only the difference between your demo and my app was that jspsessionid was not on the URL string when I tried.

    I guess that I may miss something in my configuration file. Could you give me some hints? Thanks a lot.

    Kathy 😆

    #206116 Reply

    kvance
    Member

    I found the problem is that I changed the name of Web Root folder to something else and did not use the default name that is “WebRoot”.

    After using the default name, it works on JRun 4. Does it mean that I can not change the name of Web Root Folder if I deploy a struts app from the eclipse to JRUN 4?

    Thanks,

    Kathy 😆

    #206118 Reply

    Riyad Kalla
    Member

    Kathy,
    You can rename the webroot folder by opening up the .mymetadata file in the root of your project (it is hidden unless you turn off .* filtering, OR use the navigation view). We originally let people edit this from the MyEclipse-Web project properties page, but at the last minute before 2.7 GA release, we recognized a few problems with this method. We will allow it again in the future, but for the time being you can chang ehte directory name in Eclipse, and then change the value in the .mymetadata file and everything will be fine.

    #206120 Reply

    kvance
    Member

    Riyad,

    Thanks for the information. I will try. Eclipse is working with JRUN 4 very well. I like it a lot.

    Kathy

    #206122 Reply

    Riyad Kalla
    Member

    Eclipse is working with JRUN 4 very well. I like it a lot.

    Thank you for the feedback, we are glad you like it!

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: struts demo

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