I reviewed the file.
Copy paste of JSP page contents will not work.
To render JSP contents to client(browser), you will need to put them inside println method of out object of PrintWiter class.
you can write:
< html > in JSP but in servlet, you will need to write:
Also using System.out.println will display contents on server console
and not in client window. You will need to use out.println again.Use "out" to send content to browser
See code of ServletDemo1.java at
Hope it clears or reply if anything else is needed and share your entire project
You can ask me again using "For LogicPro only
" at the start of your questions like other customers to get instant answers.
It will ensure that question is for me.
Please bookmark my profile page:http://www.justanswer.com/homework/expert-logicpro/
so you can come back and ask me a question anytime.
Remember, if for any reason you are unsatisfied with my answer, we can continue the conversation until you’re satisfied and rate my answer as excellent. I can address follow up questions on original requirements at no extra charge and I’m always here to help. Thank you for using JustAnswer!