web

How shared hostings, domain names and DNS work together?

Hi, I 've this little doubt but I couldn't find information about it, probably because I'm not searching the correct thing. When a browser ask for "www.mydomain.com", the DNS server returns an IP Address, then the browser go there... but what does happen then? I mean, that IP address could be a shared hosting that contains hundreds of ...

Where should i save my images that user uploads? java web application

Hello, I am saving the image at this location :- private static String photoGalleryPath = "/Common/PhotoGallery/"; I save the image at context.getRealPath(photoGalleryPath) Everything works fine, but when i clean and build my project. The whole folder of PhotoGallery gets deleted. This looks very funny to me :). Why does it delete my...

ServletContext not giving me real path when i want to go up level directory up

Hello, Why does ServletContext#getRealPath() not return me correct path if i use ../ This code works :- System.out.println(context.getRealPath("/")); This one doesn't :- System.out.println(context.getRealPath("/..")); How can i get one level up directory from getRealPath()? ...

Image not showing in src tag

Hello, Can anybody tell me how do i give absolute path of the img tag's src attribute? The following doesn't work <img alt="NO IMAGE" src="/home/administrator/tiger-info0[1].gif"/> I am working On Ubuntu and i am very sure that image exists on this path. ...

json webservice security

I have a problem regarding json web service security. I tried to developed a sample web application using json webservice,but the problem is the url was exposed on the client side.So from there,anybody can make a program and call the service for a thousand times. Please take note, that the web service will be using for a registration pag...

Guidelines regarding developing a flash web-site (especially loading - order swf, xml, etc...) ?

I would like to know, if you people out there could help me out, regarding the best practices or the a better way for creating a flash website... Actually I would like to know whether we should load the xml first and then the swf and other components or the other way round ? I am bit confused, even if anybody could refer some book to di...

How come AXIS generates multiple classes with similar names?

How come when eclipse generates a web service client from a wsdl using AXIS, it creates for each method two classes one that is named DoSomething and one with an E appended to it like DoSomethingE. ...

Accessing a webpage in C++

Is there a good, simple library which allows C++ to load a webpage? I just want to grab the source as text. I'm not using any IDE or significant library, just straight command line. Tangentially, is there something fundamental I'm missing about programming in C++? I would think any language in common use today would have droves of web-b...

Web form / CGI scripting: User enters "word", IFrame displays "word".html

Okay, I'll admit being a designer, I don't know much about how data is handled from the servers in forms... (basically the whole programming part). Basically I have a text field that the user types something like "apple", this gets sent to the server and then displays the apple.html page that I have in a directory in an IFrame. If anyone...

ASP.NET - adding Ajax Web Form to solution

HI! I need to add to my asp.net project new item called AJAX Web form , but in spite of installing AJAX Control Toolkit I can not add to my project new item in form of Ajax Web Form. Does anyone knew what I have to do ? screen of my Visual Studio: http://img708.imageshack.us/i/visualstudioajaxproblem.jpg/ ...

For my website, is it possible to create a button where users can click on it to create an ICON on their iPhone desktop?

User clicks the button, and an icon is added to the iPhone desktop. If possible, can I activate this button manually? ...

how to write web services using cakephp

Is it possible to write web services in CakePHP? any sample tutorial? ...

PGP Encryption in Javascript

I'm looking to do some client-side PGP encryption in Javascript. I've found some GPL library scattered on the web, but for obvious reason, I cannot use that code due to licensing issues. I'm looking for some BSD-like license library that would accomplish the same thing. Anyone know of a library I could use? ...

passing custom object as parameter to a webmethod of asp.net web service

Hi, I have a custom class declared as follows (in vb.net) <Serializable()> _ Public Class NumInfo Public n As String Public f As Integer Public fc As char() Public t As Integer Public tc As char() Private validFlag As Boolean = True Public Sub New() End Sub 'I also have public properties(read/write)...

Sharepoint Custom Workflow - Web Services

I've a custom workflow which query data off web services. It seems that when the web services returns a hyphen (-), I could not be able to store the data into list, and returned workflow error. The raw data looks like this: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xs...

how to create great looking web UI and designs ?

is there a good book or set of online tutorials that will let me produce high quality templates on like themeforest.net ? ...

How to prevent a line break in a html link ?

that is, a whole html link, must be in line1 or line 2. not in two lines. ...

Problem consuming a dataset via a .NET web service from Flex-ActionScript

Hi, I am returning a .NET dataset to Flex Actionscript via a web service. Actionscript snippet as follows: var websvc:WebService = new WebService(); websvc.useProxy=false; websvc.wsdl = "http://localhost:13229/test/mysvc.asmx?WSDL"; websvc.loadWSDL(); var operation:Operation = new Operation(null, "GetData"); operation.arguments.command...

Html width 100%

Hi, This is driving me nuts. What happens with "width:100%" ? Apparently it just works in IExplore, so I think it's one of those things Microsoft made up. But then... how do you tell to a element that has to take all available parent's space in a way that all browsers can understand? Cheers? ...

Free Weather API for Company Websites.

I am looking for a Weather API Provider for a company web site that is free of charge. Google API is unofficial, Yahoo and Wetter.com are for personal Websites only, so they don't fit my needs. ...