Message Boards

how to fix jsp error on studio

Scarletake Bwi, modified 2 Years ago.

how to fix jsp error on studio

Expert Posts: 326 Join Date: 12/20/10 Recent Posts

it not big problem, but really noide me.

and i do believe there have some why to fix it during config.

when i write jsp, i always use <include file> to reuse jsp code.

but it always shows error message

LanguageUtil(some object i already import from init.jsp) cannot be resolved


can anyone tell me how to fix this? it can work well, but the red lines really make me uncomfortable.

thank you in advance

 

thumbnail
Olaf Kock, modified 2 Years ago.

RE: how to fix jsp error on studio

Liferay Legend Posts: 6396 Join Date: 9/23/08 Recent Posts

The eclipse jsp editor is a bit wonky. Often it can be convinced to cooperate with using relative paths, e.g. "./init.jsp" instead of "/init.jsp". At runtime, both would be equivalent, but the editor doesn't really know where "/" is.