paramasivam Ramu

Ranch Hand
+ Follow
since Mar 30, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by paramasivam Ramu

Hai,
I worked a example in HFSJ.


servlet program:

package com.example.web;

import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;

public class Movie extends HttpServlet
{
public void doGet(HttpServletRequest request,HttpServletResponse response)throws ServletException,IOException
{
response.setContentType("text/html");
PrintWriter out=response.getWriter();

String movielist1[]={"amelie","return of the king"};
ArrayList AL=new ArrayList();
AL.add(movielist1);


request.setAttribute("moviename",AL);

RequestDispatcher view=request.getRequestDispatcher("output2.jsp");
view.forward(request,response);
}
}



JSTL coding:

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<strong>Movie List</strong>
<table>
<c:forEach var="movie1" items="${moviename}">
<tr>
<td>${movie1}</td>
</tr>
</c:forEach>
</table>
</html>



In the book the output is given:
amelie
return of the king

but i got the output the object of the ArrayList.

what is the wrong in the coding?
plz explain.

regards,
P.Ramu
16 years ago
JSP
hi,
I am new to JSP.I need some website name about Expression Language and JSTL tutorial.Thanks in advance


regards,
P.Ramu
16 years ago
JSP
Hi,
I am new to JSP, can anybody help me to get the difference in putting the <jsp:setProperty> tag inside and outside of <jsp:useBean> tag.

Thanks in Advance

Regards,
Ramu
16 years ago
JSP
shetal,



Well done!!!


regards,
P.Ramu
SCJP 1.4
16 years ago
hi,

Great score
congrats!!!


regards,
P.Ramu
SCJP 1.4
hi,

Congrats!!!

regards,
P.Ramu
SCJP 1.4
hi,

Congrats!!!


regards,
P.Ramu
SCJP 1.4
16 years ago
hi,

Congrats

regards,
P.Ramu
SCJP 1.4
16 years ago
hi,


Congrats


regards,
P.Ramu
SCJP 1.4
16 years ago
hi,


Congrats

I have planned to write scwcd 1.4.I want some suggesions from you ragarding preparation.Thanks in advance.


with regards,
P.Ramu
SCJP 1.4
16 years ago
hai,

whether this book is explained with real time examples for all the concepts.If it is so it will be very very useful.
regards,
Ramu
16 years ago
hi,


Congrats!!!


With regards,
P.Ramu
SCJP 1.4
hi,

Hearty congrats!!!


with regards,
P.Ramu
SCJP 1.4
16 years ago
Hi,


Well done


Regards,
P.Ramu
SCJP 1.4
SCWCD(preparing)
16 years ago
hi friend,

Don't worrry about that kind of questions.Real exam will be very easy.
It don't have any question similar to danchisholm mock exam question.

regards,
P.Ramu
SCJP 1.4