Java EE 6 and GlassFish 3 with NetBeans 6.9 (1 of 5) - JSP + Servlets + EJB
Uploader Comments (GlassFishVideos)
All Comments (30)
-
I keep getting this
description The requested resource (/servletName) is not available.
-
Hey duda, it was a good tuttorial i hope you put some more.
thanks in advance...
-
thanks man , that was good
-
Arun, I hope you can record your videos with a louder and clearer voice next time. Otherwise nice video
-
@gideon5259 in my Netbeans (7.0), for language java, "session" is not predefined template abbreviation. You must define New template under Tools -> Options ->Editor (button) -> Code Templates (tab) .. (select appropriate languages for which template is intended). Also ensure "Expand template on:" is set to Tab (if you want template text to appear on hitting tab after template abbreviation).
Hope that helps.
-
@harpreetkhakh......hey thnx for that tip......but whenever i type 'session' and press 'tab'......there used to be no command....i tried it many times but the command was not there....could u please help.....
-
How would I access the Session bean directly from a JSP? From servlet it works just fine as shown in the video.
Thanks
-
The Servlet is not a POJO because extend another class
-
Add these replacing my file location with your file location (on the last X, you are only adding "properties" to the existing line:
X Map properties = new HashMap();
X properties.put(EJBContainer.MO
DULES, new File("C:\\Users\\Tim\\Document s\\NetBeansProjects\\HelloWorl d\\build\\web\\WEB-INF\\classe s")); X HelloBean instance = (HelloBean)javax.ejb.embeddabl
e.EJBContainer.createEJBContai ner(properties).getContext().l ookup("java:global/classes/Hel loBean");
org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required
-this is the error mesg im getting when running the sample program..
jdk/jre both are already installed..
dont know what's wrong w/ it..
maimac08 1 year ago
@maimac08 Is JAVA_HOME set to JDK or JRE ?
GlassFishVideos 1 year ago