Click here to Skip to main content
15,914,905 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: about element styling Pin
Dalek Dave28-Mar-11 6:05
professionalDalek Dave28-Mar-11 6:05 
AnswerRe: about element styling Pin
Pete O'Hanlon28-Mar-11 6:44
mvePete O'Hanlon28-Mar-11 6:44 
AnswerMessage Removed Pin
28-Mar-11 7:45
professionalUser 171649228-Mar-11 7:45 
GeneralRe: about element styling Pin
Ali Al Omairi(Abu AlHassan)29-Mar-11 2:39
professionalAli Al Omairi(Abu AlHassan)29-Mar-11 2:39 
GeneralRe: about element styling Pin
musefan29-Mar-11 2:29
musefan29-Mar-11 2:29 
GeneralRe: about element styling Pin
Ali Al Omairi(Abu AlHassan)29-Mar-11 2:36
professionalAli Al Omairi(Abu AlHassan)29-Mar-11 2:36 
QuestionAbout Form Design Pin
Ali Al Omairi(Abu AlHassan)27-Mar-11 0:34
professionalAli Al Omairi(Abu AlHassan)27-Mar-11 0:34 
AnswerRe: About Form Design Pin
JP_Rocks27-Mar-11 0:54
JP_Rocks27-Mar-11 0:54 
GeneralRe: About Form Design Pin
Ali Al Omairi(Abu AlHassan)27-Mar-11 2:18
professionalAli Al Omairi(Abu AlHassan)27-Mar-11 2:18 
AnswerRe: About Form Design Pin
Keith Barrow27-Mar-11 0:58
professionalKeith Barrow27-Mar-11 0:58 
GeneralRe: About Form Design Pin
Ali Al Omairi(Abu AlHassan)27-Mar-11 2:16
professionalAli Al Omairi(Abu AlHassan)27-Mar-11 2:16 
GeneralRe: About Form Design Pin
Ali Al Omairi(Abu AlHassan)28-Mar-11 0:24
professionalAli Al Omairi(Abu AlHassan)28-Mar-11 0:24 
GeneralRe: About Form Design Pin
Keith Barrow28-Mar-11 1:24
professionalKeith Barrow28-Mar-11 1:24 
GeneralRe: About Form Design Pin
Ali Al Omairi(Abu AlHassan)28-Mar-11 1:46
professionalAli Al Omairi(Abu AlHassan)28-Mar-11 1:46 
GeneralRe: About Form Design Pin
Keith Barrow28-Mar-11 2:16
professionalKeith Barrow28-Mar-11 2:16 
GeneralRe: About Form Design Pin
User 171649228-Mar-11 2:26
professionalUser 171649228-Mar-11 2:26 
AnswerRe: About Form Design Pin
Dalek Dave27-Mar-11 7:17
professionalDalek Dave27-Mar-11 7:17 
GeneralRe: About Form Design Pin
Ali Al Omairi(Abu AlHassan)27-Mar-11 8:25
professionalAli Al Omairi(Abu AlHassan)27-Mar-11 8:25 
GeneralRe: About Form Design Pin
Keith Barrow28-Mar-11 1:28
professionalKeith Barrow28-Mar-11 1:28 
QuestionUnable to perform simple upload from simple HTML page Pin
Branislav Vidovic25-Mar-11 1:25
Branislav Vidovic25-Mar-11 1:25 
Hello guys!

I am trying to achieve a simple upload of a file and a text parameter from a html form. The html page is deployed on jboss 4.2.3.GA (but the result is the same even if you put it anywhere outside the server, etc. on your C drive). My POST request always seems to be empty. I am executing request in Firefox 4.0 browser. Here is the web page:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Testing</title>
</head>
<body>
	<h1>Use the form to call webservice</h1>
	<form action="http://localhost:8080/mobileEmailService/service/OEV" method="post" enctype="multipart/form-data">
		Picture: <input type="file" name="img"/><br />
		Name: <input type="text" name="name"/><br />
		<input type="submit" value="Submit" />
	</form>
</body>
</html>

I am using HttpFox utility in Firefox to examine my request. The POST data always seems to be empty so the parameters in the servlet are also empty. If i change the enctype="multipart/form-data" to enctype="application/x-www-form-urlencoded" then i can get all parameters, but they are only strings. For name parameter this is ok, but for file i just get the file name string and that is not ok Wink | ;) I need a file.
So does anyone has idea how is this accomplished?
I am using jboss RESTeasy web service to read the request. But jboss resteasy webservices are just servlets in my opinion. But any way, the data does not even get into the request. So that is the main problem. The client does not even send it.
AnswerRe: Unable to perform simple upload from simple HTML page Pin
Gerben Jongerius25-Mar-11 2:01
Gerben Jongerius25-Mar-11 2:01 
Questionmail addresses in html pages... Pin
Joan M24-Mar-11 9:57
professionalJoan M24-Mar-11 9:57 
AnswerRe: mail addresses in html pages... Pin
AspDotNetDev24-Mar-11 10:13
protectorAspDotNetDev24-Mar-11 10:13 
QuestionRe: mail addresses in html pages... Pin
Joan M27-Mar-11 20:59
professionalJoan M27-Mar-11 20:59 
AnswerRe: mail addresses in html pages... Pin
AspDotNetDev28-Mar-11 19:27
protectorAspDotNetDev28-Mar-11 19:27 

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.