Click here to Skip to main content
15,887,268 members
Home / Discussions / Java
   

Java

 
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 
GeneralRe: error when call fuction ArrayList in WebService ??? Pin
David Skelly14-Dec-10 1:53
David Skelly14-Dec-10 1:53 
GeneralRe: error when call fuction ArrayList in WebService ??? Pin
aa_zz14-Dec-10 15:22
aa_zz14-Dec-10 15:22 
GeneralRe: error when call fuction ArrayList in WebService ??? Pin
Gerben Jongerius15-Dec-10 20:18
Gerben Jongerius15-Dec-10 20:18 
AnswerRe: error when call fuction ArrayList in WebService ??? Pin
RaviRanjanKr26-Dec-10 22:15
professionalRaviRanjanKr26-Dec-10 22:15 
Questionjava web aplication how to solve this problem Pin
akhmad fajar sidik9-Dec-10 4:32
akhmad fajar sidik9-Dec-10 4:32 
AnswerRe: java web aplication how to solve this problem Pin
Richard MacCutchan9-Dec-10 5:49
mveRichard MacCutchan9-Dec-10 5:49 
AnswerRe: java web aplication how to solve this problem Pin
TorstenH.9-Dec-10 21:49
TorstenH.9-Dec-10 21:49 
AnswerRe: java web aplication how to solve this problem Pin
Cedric Moonen9-Dec-10 22:29
Cedric Moonen9-Dec-10 22:29 
AnswerRe: java web aplication how to solve this problem Pin
Alok Sharma ji10-Dec-10 21:17
Alok Sharma ji10-Dec-10 21:17 
AnswerRe: java web aplication how to solve this problem Pin
Luc Pattyn11-Dec-10 0:34
sitebuilderLuc Pattyn11-Dec-10 0:34 
AnswerRe: java web aplication how to solve this problem Pin
RaviRanjanKr13-Dec-10 4:07
professionalRaviRanjanKr13-Dec-10 4:07 
QuestionHave anyone tried ajaxanywhere with JSP/Servlet Pin
Alok Sharma ji8-Dec-10 1:24
Alok Sharma ji8-Dec-10 1:24 
Questionhowto evaluate return values from windows process Pin
TorstenH.8-Dec-10 0:32
TorstenH.8-Dec-10 0:32 
AnswerRe: howto evaluate return values from windows process [modified] Pin
TorstenH.8-Dec-10 1:47
TorstenH.8-Dec-10 1:47 
Questionpassing values across functions [modified] Pin
vidhyaej7-Dec-10 0:18
vidhyaej7-Dec-10 0:18 

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.