facebook

spring web mvs example is not working myeclipse 8.6 ide

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

    MK SHAJI
    Member

    Hi,
    Iam trying to reun the spring web mvc example as explained in the following link
    http://maestric.com/doc/java/spring/hello_world
    Iam getting an error of HTTP 404
    but same time with myeclipse if I am doing its working perfect
    Kindly help me
    Regards
    shaji

    #314577 Reply

    support-swapna
    Moderator

    mkshaji,

    but same time with myeclipse if I am doing its working perfect

    Looks like you have no issue running it with MyEclipse.

    Can you be more clear on what exactly you need help for?

    #314580 Reply

    MK SHAJI
    Member

    I mean , if iam biulding the project manually without using myeclipse ide , its working perfect.
    regards
    shaji

    #314596 Reply

    support-swapna
    Moderator

    mkshaji,

    As the folder structure is different with MyEclipse,you will have to create a new Web Project and copy the relevant files into the structure.

    1) Create a new Web Project.

    2) Copy the files into the relevant structure.

    a. Copy the source files into the src folder with springmvc.web as package.
    b. Copy the hello-world.jsp and index.jsp to the Web Root folder.
    c. Copy the Referenced Libraries to the Web Project.

    3) Make changes to the web.xml,springmvc-servlet.xml according to the web project structure.

    Attached is the screenshot will outlines the structure.

    Hope this helps.

    Attachments:
    You must be logged in to view attached files.
Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: spring web mvs example is not working myeclipse 8.6 ide

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