- This topic has 9 replies, 4 voices, and was last updated 20 years, 9 months ago by Riyad Kalla.
-
AuthorPosts
-
markrehaMemberI just officially purchased MyEclipse after playing around with 2 months ago. In first Hello World web application using Eclipse 2.1.2 on XP code completion does nothing for HTML, JSP tags, or JSTL in my test JSP file. When ever I enter a < nothing at all ever pops up. Is there something wrong with my configuration or do you have to enable this feature?
Scott AndersonParticipantMark,
It’s a configuration issue. Please post all the information we ask for in the Posting Guidelines thread and we’ll be happy to help.
Riyad KallaMembermark,
you might also want to double check that your html/jsp/whatever files are reigsted to open with the “MyEclipse JSP Editor”, this is usually the solution to this problem. People typically have a stray install of Lomboz or something stealing the editing rights to webdocs instead of MyEclipse.
Rich SchrammMemberIm new to myEclipse, running the tutorial and encountering the same problem with code completion. I did have an install of lomboz that I since deleted and am trying Mark’s suggestion. On winows2k it showed my jsp extentions mapped to xmlSpy. I cant seem to find anything that looks like “MyEclipse JSP Editor” to bind jsp files to in either c:\ProgramFiles\MyEclipse or c:\eclipse directories. Am I missing something or how do I do this?
Riyad KallaMemberrschramm,
When we refer to “File associations” we mean internal to Eclipse, not the windows file associations. If you open up Eclipse, then go to Window->Preferences->Workbench->File associations, here is where you can set the mapping between file extensions and their respective editors. In this case you will want to map the jsp extention to the “MyEclipse JSP Editor”.Let us know if that helps.
Rich SchrammMemberThanks., the association is correct as you described but still no luck. As I understand front the Web Tutorial. as soon as I type < in the jspEditor I should see html tag options or <% i should see my helloWorld methods. Im not getting anything in either case.
Im stumped…
Rich SchrammMemberSorry to be so dumb about this… Im getting the tag complettion thanks to <ctrl/space but Im not seeing my HelloWorld class if I do <% ctrl/space Ive followed the tutorial twice now with no luck.. any help appreciated!! -Rich
Riyad KallaMemberRich,
Some good steps to take is to make sure that HelloWorld class is in a package, and then you will need to create an object of that type:<% HelloWorld hello = new HelloWorld(); %> <body> <%= hello.sayHello() %> </body>
Does something like the above work? (adjust the class name and method call according to what you have in your code)
Rich SchrammMemberIt works! thanks for the help…
for TOTAL newbies like me. Might I suggest the tutorial in theMyEclipse UserGuide > Getting Started >Web Development & Deployment Tutorial
It seems to to be a bit more complete than than Flash-based ‘tour’ off of the main tutorials&demos page!
Thanks for the great and responsive help!!! 😀
Riyad KallaMemberThis is a great suggestion that we try and see how these type of additions will fall into our schedule best.
-
AuthorPosts