Click here to Skip to main content
15,921,774 members
Home / Discussions / Java
   

Java

 
GeneralRe: Help in adding new data to databse Pin
TorstenH.21-Dec-10 1:54
TorstenH.21-Dec-10 1:54 
GeneralRe: Help in adding new data to databse Pin
pancakeleh22-Dec-10 17:33
pancakeleh22-Dec-10 17:33 
QuestionHelp in editing and delete datas Pin
pancakeleh14-Dec-10 20:43
pancakeleh14-Dec-10 20:43 
AnswerRe: Help in editing and delete datas Pin
TorstenH.14-Dec-10 21:10
TorstenH.14-Dec-10 21:10 
Questionreading web page Pin
asha_s14-Dec-10 2:43
asha_s14-Dec-10 2:43 
AnswerRe: reading web page [modified] Pin
TorstenH.14-Dec-10 19:32
TorstenH.14-Dec-10 19:32 
GeneralRe: reading web page Pin
asha_s14-Dec-10 20:05
asha_s14-Dec-10 20:05 
GeneralRe: reading web page Pin
TorstenH.14-Dec-10 20:34
TorstenH.14-Dec-10 20:34 
GeneralRe: reading web page Pin
asha_s15-Dec-10 6:09
asha_s15-Dec-10 6:09 
GeneralRe: reading web page Pin
TorstenH.15-Dec-10 20:54
TorstenH.15-Dec-10 20:54 
GeneralRe: reading web page Pin
asha_s15-Dec-10 22:52
asha_s15-Dec-10 22:52 
GeneralRe: reading web page Pin
TorstenH.15-Dec-10 23:02
TorstenH.15-Dec-10 23:02 
GeneralRe: reading web page Pin
asha_s15-Dec-10 23:21
asha_s15-Dec-10 23:21 
GeneralRe: reading web page Pin
TorstenH.16-Dec-10 1:18
TorstenH.16-Dec-10 1:18 
GeneralRe: reading web page Pin
David Skelly15-Dec-10 1:32
David Skelly15-Dec-10 1:32 
Questionget database values in template Pin
Y_Kaushik14-Dec-10 1:02
Y_Kaushik14-Dec-10 1:02 
AnswerRe: get database values in template Pin
David Skelly14-Dec-10 1:59
David Skelly14-Dec-10 1:59 
AnswerRe: get database values in template Pin
RaviRanjanKr14-Dec-10 3:41
professionalRaviRanjanKr14-Dec-10 3:41 
AnswerRe: get database values in template Pin
TorstenH.14-Dec-10 19:34
TorstenH.14-Dec-10 19:34 
Question.properties Pin
pancakeleh13-Dec-10 19:34
pancakeleh13-Dec-10 19:34 
AnswerRe: .properties Pin
David Skelly14-Dec-10 1:58
David Skelly14-Dec-10 1:58 
AnswerRe: .properties Pin
RaviRanjanKr14-Dec-10 3:50
professionalRaviRanjanKr14-Dec-10 3:50 
Questionerror when call fuction ArrayList in WebService ??? Pin
aa_zz13-Dec-10 0:35
aa_zz13-Dec-10 0:35 
hi all.
i have fuction showdata in Webserivice:
public ArrayList showdata() {

...

ArrayList <GetData> arr = new ArrayList<GetData>();

while (reader.next())
{
int id = reader.getInt("id");
String content = reader.getString("content");
Time time = reader.getTime("time");

arr.add(new GetData(id, content, time));
}
return arr;
}
class GetData {
private int ID;
private String CONTENT;
private Time TIME;

public GetData(int id, String content, Time time){

ID = id;
CONTENT = content;
TIME = time;
}
}

#############################
in web client . get data from database via showdata() from sebservice.

<%
SW2Service sv = new SW2Service();
SW2 port = sv.getSW2Port();
ArrayList arr = new ArrayList();
arr = port.showdata(); ==> Erro this
%>


please help me

nothing
AnswerRe: error when call fuction ArrayList in WebService ??? Pin
Gerben Jongerius13-Dec-10 1:11
Gerben Jongerius13-Dec-10 1:11 
GeneralRe: error when call fuction ArrayList in WebService ??? Pin
aa_zz13-Dec-10 2:37
aa_zz13-Dec-10 2:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.