• Post Reply Bookmark Topic Watch Topic
  • New Topic

Where do I have mention new JSP that was created in Frameset?

 
Rameshbapu Dhurvas
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am programming in Struts after long time. I am using frame set to define split pane using JSP. So, I have created three new JSP files that contains my data.When I tried to display my success.jsp, I am getting the error messages that the requesed resources are not available.

Previously, I have defined all the servlet and jsp files in the web.xml when I was doing simple java program.

Now, I have defined the following code in the web.xml



Created three new JSP files under the folder WEB_INF
reportList.jsp
buttonList.jsp
reportContent.jsp

My success.jsp contains the folling code:



When I called the success.jsp, to display the data, I received the follwing error messages: HTTP - 404, The requested resources are not available.

Would you please tell me, what other else should I do, to fix the problem?

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to use code tags when posting code to the forums. Unformatted or unindented code is extremely hard to read and many people that might be able to help you will just move along to posts that are easier to read. Please click this link ⇒ UseCodeTags ⇐ for more information. Properly indented and formatted code greatly increases the probability that your question will get quicker, better answers.

I've gone ahead and added the code tags for you. See how much easier the code is to read?

Your URLs are wrong. They must start with the context path. Using the <c:url> tag is easiest way to do that; otherwise, see the JspFaq for more info.

Also, use lowercase for your HTML. Using all uppercase went out with the old millennium. (Framesets are also passé; modern web apps use CSS.)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!