jsp tags - In jsp: String cannot be resolved to a type -
<% string bn=request.getparameter("branch"); if(bn.equals("mk")){ %>
i getting error in myeclipse
string cannot resolved type
the method getparameter(string) type servletrequest refers missing type string
multiple annotations found @ line: - string cannot resolved type - method getparameter(string) type servletrequest refers missing type string
this java code/bean class getting same error "string" code here
public class client {//for client getting error- implicit super constructor object() undefined default constructor. must define explicit constructor private int cid; // no error here private string cname; //error here- string cannot resolved type private string email; //error here- string cannot resolved type private long phone;// no error here // when gives no arg constructor gives error // implicit super constructor object() undefined. must explicitly invoke constructor //public customer(){ } } ... ... } } before working , in eclipse, in myeclipse , getting error. please tell, how can solve it. give thanks all
one more problem is- in myeclipse when press ctrl+space(not working), not showing option.
try switching fresh workspace , importing project , see if problem persists. if so, suggest re-installing myeclipse because looks java validation screwed somehow. alternatively, maybe starting myeclipse -clean alternative might help (add "-clean" @ top of myeclipse.ini file). remove alternative if fixes it, slows downwards launch.
failing that, more details needed i'd suggest raising on myeclipse forums.
jsp jsp-tags myeclipse
No comments:
Post a Comment