facebook

JSP’s working – but now how I thought it would

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #288081 Reply

    jamroco2000
    Member

    I’m not sure if I installed myeclipse right or not – or maybe I’m expecting it to do something it doesn’t but hopefully someone can help me here.

    I want to use myeclipse for JSP development. Now when I create a java project in eclipse its fairly straight forward. I create a class – type my code – which eclipse validates for me and I can access objects in different libraries as required provided I’ve imported them properly into my project.

    Now for the longest time I’ve used Dreamweaver to do jsp – but the part that is lacking in Dreamweaver is JSP and java validation of code.

    So what I was hoping that myeclipse would do is it would allow me to create a jsp project. In that project I could reference certain custom libraries (i.e. a jar file that was already built) that performs business logic in that project. Then when I create a jsp file – I could access those libraries and have my code validated just like it would a java file. Plus because I mix both java code and html/javascript – it would be nice if I could access the dom from a jsp file as well.

    Right now when I create a jsp file – I have access to jsp tags (i.e. jsp:useBean) but other than that – that is it. I get no html code completion, no access to the javascript dom, and I can’t find a way to import a jar file into the project so that I can reference it and have code complete in the jsp file.

    So for example – I would like to open a jsp file up and at the top do:

    <%
    String blah = “”;
    blah = blah.

    Now after the period – just like on a java class file I would expect to see all the methods available to a string – but I don’t.

    So am I expecting to much – or did I install it wrong.

    Oh here is my installtion summary

    *** Date:
    Friday, August 8, 2008 2:41:48 PM MDT

    ** System properties:
    OS=MacOSX
    OS version=10.4.11
    Java version=1.5.0_13

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.5.0 GA
    Build id: 6.5.0-GA-20080609

    *** Eclipse details:
    Eclipse SDK

    Version: 3.3.1.1
    Build id: M20071023-1652

    Eclipse Project SDK

    Version: 3.3.2.R33x_r20071022-7M7J7C_Mu2gop0b_GAwplOBhyuKO
    Build id: M20071023-1652

    Eclipse Platform

    Version: 3.3.2.R33x_v20071022-_19UEksF-G8Yc6bUv3Dz
    Build id: M20071023-1652

    Eclipse Java Development Tools

    Version: 3.3.1.r331_v20070629-7o7jE72EDlXAbqAcnbmyg1rf8RIL
    Build id: M20071023-1652

    Eclipse Graphical Editing Framework GEF

    Version: 3.4.0.v20080115-677-8082A5696H274A
    Build id: 200806091334

    Eclipse RCP

    Version: 3.3.2.R33x_r20071022-8y8eE9CEV3FspP8HJrY1M2dS
    Build id: M20071023-1652

    Eclipse Plug-in Development Environment

    Version: 3.3.2.R33x_r20071022-7N7M4CYWLBCz-yHkMIuHN
    Build id: M20071023-1652

    Eclipse startup command=-os
    macosx
    -ws
    carbon
    -arch
    x86
    -showsplash
    -launcher
    /Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse
    -name
    Eclipse
    –launcher.library
    /Applications/eclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher.carbon.macosx_1.0.2.R331_v20071019/eclipse_1021.so
    -startup
    /Applications/eclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
    -keyring
    /Users/dilly/.eclipse_keyring
    -consoleLog
    -showlocation
    -vm
    /System/Library/Frameworks/JavaVM.framework

    #288099

    Loyal Water
    Member

    Can you go to File > New > Project > MyEclipse Web Project and then try code completion in the index.jsp that gets added to the project by default. Does the drop down list show up ?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JSP’s working – but now how I thought it would

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