facebook

[Closed]JSP editing in MyEclipse

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

    mhersee
    Member

    Hi,

    I am experiencing several issues in my JSP development using myEclipse. any help with these would be very much appreciated. that must have been solved before as they are so simple.

    1 – My JSPs are snippets, i.e. not full HTML docs. Hence The Validator complains about every tag (e.g. <p>, <ul> etc) as they are not enveloped by <html><body> etc.

    2 – Code formatting. I am working on a large scale website conversion in which we have to dump masses on text into JSPs. The problem is that I can’t get the text to wrap in the JSP editors. E.g. I end up with

    <h1>Title</h1>
    
    <p>
      this line goes on forever....this line goes on forever...this line goes on forever ...this line goes on forever
    </p>

    This problem makes it excruiatingly diffucult to make any text changes within this editor.

    Any other help on editing in JSPs would be a bonus.

    Thanks for your time.

    Matt

    #245888 Reply

    mhersee
    Member

    *** Date: Thu Feb 02 11:03:06 GMT 2006

    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_04

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.0.200 M2
    Build id: 20051205-4.1-Milestone2

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Platform

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse RCP

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Java Development Tools

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Plug-in Development Environment

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Project SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\eclipse3.1\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    fdc_58
    -vm
    C:\WINDOWS\system32\javaw.exe

    #245950 Reply

    Greg
    Member

    Hello Matt,

    1 – My JSPs are snippets, i.e. not full HTML docs. Hence The Validator complains about every tag (e.g. <p>, <ul> etc) as they are not enveloped by <html><body> etc.

    Try using a .jspf extension on your jsp snippets that aren’t full HTML docs. Then your html tags that aren’t inside <body>etc shouldn’t be marked as warnings.

    2 – Code formatting. I am working on a large scale website conversion in which we have to dump masses on text into JSPs. The problem is that I can’t get the text to wrap in the JSP editors.

    Open up the HTML Source preference page Window > Preferences > MyEclipse > Editors > HTML > HTML Source, then set the Line width: field to something less than the default of 256. Then reformat your JSP to pick up the new line width.

    #246026 Reply

    mhersee
    Member

    brilliant,

    thank you for your time on this

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: [Closed]JSP editing in MyEclipse

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