iview Java Cookie and Classpath
I am writing an iview that needs to set a cookie.
Cookie SapCookie = new Cookie();
The DevStudio gives the error:
"Cannot find the class file for javax.servlet.http.Cookie"
But adding "import javax.servlet.http.* does not help.
Any help is awarded
(As you can tell, writing java iviews is probably not my core competence, so be gentle)
It is not sufficient if u add the import statement alone. U have to include the appropriate jar file to the project. Add the servlet jar (eclipse/plugins/com.tssap.ext.libs.j2ee_1.3/lib/servlet.jar) in the eclipse directory to your project.