Forums Register Login
Problem in JSP syntax

Its showing error in line 3 "The import java.lang.String cannot be resolved"
Other error is on line 5 "String cannot be resolved to a type"

Do we need to import java.lang or its default as in Java programs?
Please tell me the possible cause for errors..

Thanks in advance.
In 2010, Java code should no longer be placed inside a JSP.
Willie Smits can speak 40 languages. This tiny ad can speak only one:
Thread Boost - a very different sort of advertising

This thread has been viewed 682 times.

All times above are in ranch (not your local) time.
The current ranch time is
Apr 22, 2018 18:08:45.