SCJP6.0,My blog Ranchers from Delhi
SCJP6.0,My blog Ranchers from Delhi
Mohamed Sanaulla | My Blog | Author of Java 9 Cookbook | Java 11 Cookbook
mohamed sanaullah wrote:Can you tell about the directory structure of your html/jsp pages. Where is the JSP relative to the HTML? Or you might try removing the "/" from the JSP page name.
SCJP6.0,My blog Ranchers from Delhi
SCJP6.0,My blog Ranchers from Delhi
Shanky Sohar wrote:What comes to my mind is that the HTML code does not even able to invoke the JSP.
No. This can not be the problem. Think about it, every page that is created with jsp is actually html page so what you are saying actually would mean that you can not point to other jsp page from other jsp page. And that is not the case. You can use static html pages and dynamic jsp pages on you application as you like.What comes to my mind is that the HTML code does not even able to invoke the JSP.
Can i check the logs and able to track where the flow is going on.
i am using TOMCAT But i think the tracking JSP and HTML is not possible in logs..Is it Possible..
Ilari Moilanen wrote:Did you add the quote I mentioned?
What is the URL in the browser address field after you have sent the form? Is it pointing to right URL?
Can you access the JSP directly without going through the html page?
No. This can not be the problem. Think about it, every page that is created with jsp is actually html page so what you are saying actually would mean that you can not point to other jsp page from other jsp page. And that is not the case. You can use static html pages and dynamic jsp pages on you application as you like.What comes to my mind is that the HTML code does not even able to invoke the JSP.
Can i check the logs and able to track where the flow is going on.
i am using TOMCAT But i think the tracking JSP and HTML is not possible in logs..Is it Possible..
What do you mean by flow? You can see from the browser address field where the application has directed you. If the server produces logs they are located under logs directory inside tomcat installation directory.
SCJP6.0,My blog Ranchers from Delhi
SCJP6.0,My blog Ranchers from Delhi
Shanky Sohar wrote:This problem is solved now.
I have changed the name of "/TestBean.jsp" as "TestBean.jsp" and restarted my server again.
But it is not working earlier i donot know how it got solved this time..
Thanks to everybody for helping me out in this..
Mohamed Sanaulla | My Blog | Author of Java 9 Cookbook | Java 11 Cookbook
Looky! I'm being abducted by space aliens! Me and this tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|