Hello, Thanks very much for a nice tutorial , I have a question that can you help me in a web application to enter data in text feild of jsp and then data should save in a text file. I have 2 java classes and jsps to enter the data in the text boxes. The sevlet code is a bit tricky for me. Could you give me any advise. ?
Mr Arungupta... After a very long search, I found your tutorial. Honestly, worth spending time. Please please, add more tutorials like this. I would be interested if you can show an example of how to connect to database using struts of any version, using mysql. Please, will you? Thanks in advance.... Shri
@arun: I wrote a simple jsp file and tried to run, it is throwing "The requested URL /HelloWeb/ was not found on this server". i followed the same steps which has been mentioned in netbeans tutorial.
can u pls let me know the possible reasone for this error?
i have one problem, in helloservlet when you wrote session and press entered of something it generated template code, but when i tried the same it didnt generated the template code. can you please explain the steps how to generate template code using short key or something like u did in this video.
i have one problem, in helloservlet when you wrote session and press entered of something it generated template code, but when i tried the same it didnt generated the template code. can you please explain the steps how to generate template code using short key or something like u did in this video.
But I am facing one problem and it is "requested URL not found on server".
I have written one small html file and it is throwing this error. Can you pls let me know the possible reason for same? Same html file is working fine in eclipse.
@tembehval - this is strange, it looks like your project is misconfigured. Or there is something in your project that prevents initialization of the container. Does it work for you at least in the simplest scenario (i.e. create an EJB, add a method, generate a test for it, run the test)?
Also, what version of GlassFish and NetBeans do you use? If you can share your project, it would be useful if you can send it to me at petr.jiricka at oracle dot com. Thanks.
This was an immensely helpful tutorial. You make excellent use of the medium of YouTube and your examples and easy to follow whiel at the same time very informative. Thank you very much.
On a personal note: It's both frightening and very interresting to see how fast things are moving and how much easier it has become to perform previously tedious and mundane tasks such as persistence. This highlights the need for the individual developer to stay current. :)
Would be great if you create a screencast using CDI, JSF, Facelets together with JPA (that is all technologies combined) to create a web application. I am particularly interested of using CDI and JPA. We really lack this kind of tutorials.
thank you my friend
mohamadhamdidz 2 months ago
Thank you Mr.Gupta.
smmanoha 3 months ago
Not sure what oracle will do to glassfish
skyhigherful 6 months ago
@tembehval This also happened to me! Did you solve it??
pluckygalaxy 11 months ago
Hello, Thanks very much for a nice tutorial , I have a question that can you help me in a web application to enter data in text feild of jsp and then data should save in a text file. I have 2 java classes and jsps to enter the data in the text boxes. The sevlet code is a bit tricky for me. Could you give me any advise. ?
Thanks
RaqseeBismil 1 year ago
Good tutor. Bit I just looking for the same of intellij IDEA with Glassfish integration.
Anyway thanks.
vvlame 1 year ago
glassfish unit test No EJBContainer provider available
shuanshuanzai 1 year ago
Mr Arungupta... After a very long search, I found your tutorial. Honestly, worth spending time. Please please, add more tutorials like this. I would be interested if you can show an example of how to connect to database using struts of any version, using mysql. Please, will you? Thanks in advance.... Shri
ketadhu 1 year ago
@arun: I wrote a simple jsp file and tried to run, it is throwing "The requested URL /HelloWeb/ was not found on this server". i followed the same steps which has been mentioned in netbeans tutorial.
can u pls let me know the possible reasone for this error?
Thanks
>>>>>>>
Shailendra
lohiashailendra 1 year ago
Hi arun,
thanks for this interesting and helpful tutorial.
i have one problem, in helloservlet when you wrote session and press entered of something it generated template code, but when i tried the same it didnt generated the template code. can you please explain the steps how to generate template code using short key or something like u did in this video.
thanks for any help
sincerely
asif
masifshoukat 1 year ago 3
@masifshoukat This is generated as a code template, use the below code:
int count; if (request.getSession().getAttribute("count") == null) { count = 0; } else { count = (Integer) request.getSession().getAttribute("count"); } request.getSession().setAttribute("count", ++count); out.println("Accessed: " + request.getSession().getAttribute("count"));
arungupta 1 year ago
Hi arun,
thanks for this interesting and helpful tutorial.
i have one problem, in helloservlet when you wrote session and press entered of something it generated template code, but when i tried the same it didnt generated the template code. can you please explain the steps how to generate template code using short key or something like u did in this video.
thanks for any help
sincerely
asif
masifshoukat 1 year ago
hi Arun,
Thanks for great tutorial.
But I am facing one problem and it is "requested URL not found on server".
I have written one small html file and it is throwing this error. Can you pls let me know the possible reason for same? Same html file is working fine in eclipse.
Thanks in advance.
lohiashailendra 1 year ago
@lohiashailendra And where is this HTML file added ?
What are you trying to achieve ?
arungupta 1 year ago
@lohiashailendra Oh, I'm sorry for my bad voting... it was accidentally.
vvlame 1 year ago
Excellent Tutorial. I have gained more from this tutorial than all I have read in the past 1 month. Thank YOU! I will continue through your series.
nick42sims 1 year ago
@tembehval - this is strange, it looks like your project is misconfigured. Or there is something in your project that prevents initialization of the container. Does it work for you at least in the simplest scenario (i.e. create an EJB, add a method, generate a test for it, run the test)?
Also, what version of GlassFish and NetBeans do you use? If you can share your project, it would be useful if you can send it to me at petr.jiricka at oracle dot com. Thanks.
pjiricka 1 year ago
This was an immensely helpful tutorial. You make excellent use of the medium of YouTube and your examples and easy to follow whiel at the same time very informative. Thank you very much.
On a personal note: It's both frightening and very interresting to see how fast things are moving and how much easier it has become to perform previously tedious and mundane tasks such as persistence. This highlights the need for the individual developer to stay current. :)
mkarnerfors 1 year ago
Great tutorials and thanks for your great work!
Would be great if you create a screencast using CDI, JSF, Facelets together with JPA (that is all technologies combined) to create a web application. I am particularly interested of using CDI and JPA. We really lack this kind of tutorials.
Keep up!
cvasilak 1 year ago
@cvasilak CDI + JPA will be coming in future, stay tuned!
arungupta 1 year ago