[java ee programming] Re: lab-4003

2009-09-19 Thread Dhwani Patel
to forward the jsp page use

 action tag

If you want to pass parameter from one page to another you can use


And obviously this parameter will be passed under jsp-forward tag.

Hope this will be helpful to u!

On Fri, Sep 18, 2009 at 9:57 PM, derezone  wrote:

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


-- 
Dhwani Patel

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: Lab 4003

2009-09-04 Thread Alfredo Torres
Sorry, My fault i was using the wrong tamplate, plase delete this post

2009/9/4 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 Netbeans 6.7 with Tomcat Apache 2.2 on Windows XP service pack 3
>
> Any help will be appreciated
> --
> Saludos
> Alfredo Torres
> Hab.+58 212 9446304
> Cel. +58 416 6118599
>



-- 
Saludos
Alfredo Torres
Hab.+58 212 9446304
Cel. +58 416 6118599

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: LAB 4003 add parameter question

2009-02-22 Thread miga



On 22 fév, 17:53, Artashes Hovasapyan 
wrote:
> Strange thing... I was just doing the homework myself and strangely enough I
> can't find the *middle.jsp* file.
You have to create it as stated implicitely by the homework.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: LAB 4003 add parameter question

2009-02-22 Thread Richard Holdsworth
I think he means that we have to create the middle.jsp file and modify each
accordingly, at least that's what I did.


On Mon, Feb 23, 2009 at 1:53 AM, Artashes Hovasapyan <
artashes.hovasap...@gmail.com> wrote:

> Strange thing... I was just doing the homework myself and strangely enough
> I can't find the *middle.jsp* file. Moreover the *hello1* example is
> including the *response.jsp*. This means that we are not forwarding, but
> we are including the *response.jsp* which means that we'll have the same
> servlet handling the request, not two servlets. Maybe Sang can clear this
> out and explain to us what exactly needs to be done?
>
> --
> Regards,
> Artashes Hovasapyan
>
>
> On Tue, Feb 17, 2009 at 9:54 AM, Artashes Hovasapyan <
> artashes.hovasap...@gmail.com> wrote:
>
>> Don't mix up parameter with an attribute. What you should do is to use
>>  and add a nested  to transmit your additional
>> parameter.
>>
>> --
>> Regards,
>> Artashes Hovasapyan
>>
>>   On Tue, Feb 17, 2009 at 12:10 AM, Priyanka Bhardwaj <
>> priyankab...@gmail.com> wrote:
>>
>>> 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 can be
>>> used only while forwarding and not before forwarding which the homework
>>> asks. Any suggestions would be appreciated.
>>>
>>> Thanks,
>>> Priya
>>>
>>>
>>>
>>
>>
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: LAB 4003 add parameter question

2009-02-22 Thread Artashes Hovasapyan
Strange thing... I was just doing the homework myself and strangely enough I
can't find the *middle.jsp* file. Moreover the *hello1* example is including
the *response.jsp*. This means that we are not forwarding, but we are
including the *response.jsp* which means that we'll have the same servlet
handling the request, not two servlets. Maybe Sang can clear this out and
explain to us what exactly needs to be done?

-- 
Regards,
Artashes Hovasapyan


On Tue, Feb 17, 2009 at 9:54 AM, Artashes Hovasapyan <
artashes.hovasap...@gmail.com> wrote:

> Don't mix up parameter with an attribute. What you should do is to use
>  and add a nested  to transmit your additional
> parameter.
>
> --
> Regards,
> Artashes Hovasapyan
>
>   On Tue, Feb 17, 2009 at 12:10 AM, Priyanka Bhardwaj <
> priyankab...@gmail.com> wrote:
>
>> 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 can be
>> used only while forwarding and not before forwarding which the homework
>> asks. Any suggestions would be appreciated.
>>
>> Thanks,
>> Priya
>>
>> >>
>>
>
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: LAB 4003 add parameter question

2009-02-17 Thread Artashes Hovasapyan
Don't mix up parameter with an attribute. What you should do is to use
 and add a nested  to transmit your additional
parameter.

-- 
Regards,
Artashes Hovasapyan

On Tue, Feb 17, 2009 at 12:10 AM, Priyanka Bhardwaj
wrote:

> 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 can be
> used only while forwarding and not before forwarding which the homework
> asks. Any suggestions would be appreciated.
>
> Thanks,
> Priya
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---