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
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
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
--~--~-~
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
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
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