It is good to know that there is a friendly place for a Java greenhorn like me. I have an assignment where I need to create a Java screen to interface a file on an AS/400 / iSeries system.
I have created a JSP called test.
Now This JSP calls a servlet called ProcessSKUSearch.java The code for that looks like this:
package com.mscdirect.test;
What I have been doing for testing purposes, is creating a table on the servlet to display the results of an SQL statement. What I need to do is forward these results to another JSP. I have been working with a Java developer who is very limited in his time for me. He suggested that I modify the above servlet code to use RequestDispatcher.forward and the setAttibute method to accomplish this. I have studied some examples, but I don't understand what I am actually sending this new JSP (Lets call is results.jsp), or what it is suppose to do with what I am sending it.
Thanks to anyone that can help me,
BTW, is it possible to add/paste a screen from another browser page to this post? I tried doing it, but it wouldn't paste the screen.