score:50
I do similar as Aravind but I do it on the general settings: Preferences > Validation. Here I deselect all 'Build' checkboxes but leave the 'Manual' select for when I want to manually validate a JSP, XML, ... .
score:-1
Instead of disabling your validations, which is a good aspect in eclipse.
Just select the whole code cut and paste it back on the same page, All the reds will vanish automatically. If the reds are still present, that means there is some problem in the code which you are writing.
Validations generally help you alot in eclipse, the jsp's can sometimes be an issue regarding these validations.
score:-1
Right-click on the JSP file > Properties Select the "Derived" checkbox.
score:2
I usually do the following - Right click project - properties -Validation -->Configure settings link on validation frame - Disable all .Also Right click project - properties -Validation --> JSP Syntax - Uncheck project specific settings .
score:2
I'm using sts-2.5.0.RELEASE (based on Eclipse 3.6) and I solved the problem unchecking these properties:
Preferences > Validation > JSP Content Validator (uncheck manual & build)
Preferences > Validation > JSP Syntax Validator (uncheck manual & build)
score:3
@Stijn's answer works great, but it disables all validation for JSPs. Sometimes, that validation can be very useful to point out where you've got errors.
If you still want to have your normal JSPs validated, just not your JSPFs (JSP fragments), follow these steps:
- Open
Window
>Preferences
from the menu. - Navigate to
Web
>JSP Files
>Validation
. - Uncheck the "Validate JSP fragments" checkbox.
This is one of the first things I do with web projects that use JSPs in a new Eclipse installation. I've just confirmed in the JEE version of Eclipse Mars, but I'm pretty sure it'll work pretty much the same way in older versions as well, going back to around 3.2. Your JSPs should still get validated, but the validator should leave your JSPFs alone... obviously, your fragments must use the .jspf
extension for this to work.
Source: stackoverflow.com
Related Query
- How to disable the JSP validation in Eclipse helios?
- How can I disable the eclipse server startup timeout?
- How to fix Eclipse validation error "No grammar constraints detected for the document"?
- How to disable the "autodeploy" to server feature in an Eclipse web project
- How do I disable an eclipse warning in the derived IMarketBillingService.java file?
- How to install the GlassFish 3 server adapter with Eclipse Helios 3.6
- How to disable the automatic asterisk (inserting stars) in Eclipse when adding a multi-line comment?
- Eclipse how to disable validation for txt file (lsp4e)
- How to disable annoying bar on left of the editor in eclipse
- How do I open the GWT samples in eclipse Helios and GWT 2.1.1?
- How can I disable HTML validation for PHP files in Eclipse Juno 4.2.1?
- How to disable APT web service validation in Eclipse 4.4 edition for JavaEE Developers
- How to get eclipse JSP Expression Language validation to accept JSP 2.2 EL constructs?
- How can one disable the XML editor in Eclipse for .xsd and related files?
- How do I disable auto-indent in Eclipse Helios (Java)?
- Eclipse and Mylyn : how to disable grey files in the explorer?
- How to disable Eclipse HTML validation via M2E
- Subversive and Subclipse both in eclipse at same time how to disable one or the other?
- How to disable the rename option from everywhere (i.e, from file menu & context menu) in eclipse plugin?
- Why eclipse change the permission and how to disable it?
- How can I disable the anti aliasing in eclipse
- Eclipse : how to disable validation for SVG files
- How do I disable validation of Javascript in <script> tags in JSPs ...in Eclipse
- How to see JSP errors in the Problem view in Eclipse + WTP
- How do I get Eclipse to look in the build path for JSP includes instead of the web source?
- How to disable the special characters in eclipse java class
- How to disable the Error Hovers/Code Mining in Eclipse
- How can I enable or disable the eclipse new wizard?
- how to disable the hierarchy viewer in eclipse
- How can I disable the hint window in EClipse
More Query from same tag
- Publishing app with Eclipse and IBM BlueMix Tools never completes
- How to resolve "Error: Could not find or load main class FirstProgram" while running OpenCV Java in Eclipse?
- Eclipse style help system (SWT?)
- Eclipse complains android:scrollbars and android:fadingEdge do not allow Strings - includes code
- How to set the class path in Eclipse and Android Studio
- Papyrus: Hide/remove base_Class property from stereotypes
- Setting Icons For Android Application
- making Eclipse work in Fedora
- JavaScript library/framework to generate XHTML from parameters?
- Displaying empty rows in ListView for 4.1.1v device -Android
- Get formatted output from eclipse template variable
- Eclipse show no error in files but in folder
- Installing JDT on Eclipse Luna
- Create and import Java library in Eclipse
- How do I quickly transform an expression into a null check?
- Eclipse plugin creates information dialog error
- Eclipse Modeling Framework: Linking an alternative view to the model
- Configuring the colors of Eclipse
- Prints the ASM code to generate the given class
- Do not need Git Synchronization
- Bootstrap order for simple Maven project in Eclipse and Subversion?
- java.lang.ClassNotFoundException: org.apache.log4j.Logger - Eclipse still searching for old class after upgrading from version 1 to 2.17.0
- Android and Eclipse - referencing Library
- Filter/Sort the classes in problems view based on author in eclipse
- Reuse Web Browser preference page
- Open YouKu application via URL
- .class file isn't syncing with .java file when debugging
- How to upgrade/update Selenium version of an existing Selenium Java project?
- Android Text vanishes on map overlay
- Git and Eclipse, Merging, Pushing and Committing