Ok...I have a project coded in JSP and java scripts..I created a .project file for that taking guidance from a previous .project file of a java project...Now it is been imported to MyEclipse..And now I am getting exception "org.apache.jasper.JasperException: Unable to compile class for JSP"...How to resolve the issue?
Rather than creating a .project file by hand, you should instead create a new project within MyEclipse, copy your source files into that project, (and then refresh the project if you copied the sources outside MyEclipse). Then you will have a properly established project within MyEclipse.
Good advice from Peter, there. I'd also add that it looks like you want to create a Web Project. I guess you could add web functionality to a Java project (through right-click on project, Properties->MyEclipse->Project Facets, select Dynamic Web Module), but creating the Web Project new and importing the source is certainly the least error prone.
Thanks Anthony and Peter..I followed suggestions given by both of you..Created a new Web project and added the extra features..It was just a simple project and working fine now..Thanks for your time..:-)