I wrote java The errors that occur are given below: I do not really get it, it's going to work. I will post if necessary It should be init, not Int. This init method is calling you the init method of super squared. This is the same way you access the ServletConfig object in your servlet. By calling the way you can, The init method is called when the servlet frequency loads. servlet for a simple ebookshop and for some reason I do not understand I do not compile why it does not compile below I paste the portion of the code which gives me an error:
Public Zero Intel (Servlet Config Conferencing) servlet exception {conf. ); }
& lt; Identifier & gt; Expected - & gt; (Public Zero ^ Ent (Servlet .....) ...)
'(' Required -> Piblic void ** i ** nt
Illegal type of launcher - & gt; public zero end ** (** सर्लेट ....
';' Expected -> Public Zero Int (Servlet Config ^ Conf) ...
Identifier & gt; Expected -> Public Zero Int (Servlet Conf Conf * *) ** ...
Illegal type of illegal start - & gt; Public Zero Int (Servlet Config F Confe ** ** throws **.
';' Required -> Public Zero Intel (Servlet Config Conf) throws ServiceLate Expenses ^
public zero ** init ** (ServletConfig Conf) ServletException throws {super.init (conf);}
ServletConfig conf = getServletConfig ();
No comments:
Post a Comment