[java ee programming] Lab 4003: adding a new parameter to the request object

2011-03-17 Thread victor bruno
Hi fellows. I hope everyone is great,busy programming with passion! I'm going through the lab 4003-jsp basics and got a doubt on how to add a new parameter to the request object as asked for in the task. The code is: String username = request.getParameter("username"); if(username != null && use

[java ee programming] lab-4003 cont

2009-09-20 Thread derezone
The 2nd part of the instructionsThe index.jsp forwards the request to another JSP file called middle.jsp. Before forwarding, it should add another String type parameter called myparameter with value "Passion!" to the request object. The middle.jsp then includes the response.jsp. The re

[java ee programming] lab-4003

2009-09-18 Thread derezone
For the Homework In modifying the Hello1 project after doing the first step which says Modify index.jsp and response.jsp to display another item The next step I have to add a JSP, adding another parm - how do I pass the parms to the response.jsp so that it will recognize them --~--~-~

[java ee programming] Lab 4003

2009-09-04 Thread Alfredo Torres
Hi, I am on hand on lab 4003 in exsercise (2.1) Build and run "JSP Examples" sample application I create a new JSP project with the template JSP Examples under Web but when i run it i just see 6 exampls and can not find the JSP 1.2 section. So i can not proceed with this lab. I am using Netbea

[java ee programming] Lab 4003 - homework - just one question

2009-08-07 Thread Rafa%u0142 Laczek
Hi Colleagues, I have made homework and it works good. According to homework requirements index.jsp forwards request to middle.jsp as follow: Just for test I have used for a moment For me more natural is to use this construction because I understand whole process as follow: Inde

[java ee programming] LAB 4003 add parameter question

2009-02-16 Thread Priyanka Bhardwaj
Hi everyone, The homework tells us to add parameter to the request object in index.jsp before forwarding to middle.jsp. I added the parameter using the request.setAttribute() function and got the desired result. Is this okay? Or do I have to use jsp:param to add the parameter? But then jsp:param c