web

URL parameter encoding/receiving problem

hi all, I use the below code to send data to a servlet: When encoding = "UTF-8" or "GBK", the data is received correctly. But when encoding = "UTF-16", The receiver receives null. WHY?? The Sender: URL url = new URL(notifyURL); HttpURLConnection connection = (HttpURLConnection)url.openConnection(); connection.setDoOutput(true); ...

Problem with nullable types in .NET WS client

Hi, I've WebService written in Java that has method @WebMethod public void createUser(Long id, String name) { } Now I want to use this method in .NET client. I think I should be able to use this method with nullable long but I can't. Is there any annotation or maybe some other way to force .NET use nullable types? I think that ...

Deploying a web service to my Google App Engine application

Hi, We made a simple application and using GoogleAppEngineLauncher (GAEL) ran that locally. Then we deployed, using GAEL again, to our appid. It works fine. Now, we made a web service. We ran that locally using GAEL and a very thin local python client. It works fine. We deployed that, and we get this message when we try to visit our ...

Axis2 service using JAVA: Mapping qname not fond for package

I am developing a web service from an existing framework. Our framework has an abstract base class in package base and a derived class in package derived. A service class creates an instance of the object derived but in the signature it is returning base type. Here are the code snippets: Base Class: package base; public abstract class ...

Create Web User Accounting System

I want to create a user accounting system for a web site that would allow people to create accounts and can then log in and log out. Could someone point me to a tutorial on the matter. Thanks. ...

I Want to draw a hierarchial tree in a browser

I want to draw a hierarchial tree in a browser. I have used CSS and HTML and Javascript to play with some basic UI stuff in Browser. But I want to draw cool nodes and awesome connectors and come up with an aesthetic hierarchial tree (not Windows Explorer Folder tree). At this point the nodes in the tree will be like the flash-cards that...

Rendering a 3d wpf model as an image and passing back to a website

I have a requirement to do the following. Pass a set of variables from a website to a backend webservice Apply the variables to a WPF 3D model. Generate an image and pass back to the website. Is this possible? ...

Log web page viewing sequence - even after BACK pressed

I have a log of web pages viewed by users. This is to facilitate diagnosis of problems, and review user activity (which can be revealing! and lead to improvements to the site) I log lots of data to enable recreating what the user did - all the Form variables, cookies, etc. I also log when the page finished rendering in the clients brow...

develop Web sites for mobiles

Hi All, I want to implement "mobile website provider" tool. Basically, It intake desktop website url and generate a mobile version of website without edit/add additional content to the desktop website. I am planning to design a product like (what mofuse.com does. This website create mobile websites). This tool should be hassle free to c...

Json web service max content length?

I have been building a Asp.net WCF web service with json format. Now I wanted to really test how its working when sending lots of data. The Content-Length of my http post is 65595. Directly when trying to connect I got error "HTTP/1.1 400 Bad Request" back. It seems like it's not even trying. I know I'm sending valid json and what I'm ...

Howto Get application port through MXBean

given a application: http://localhost:8080/myapp/ is it possible to enquire JVM through MBean/MXBean in which port the current application code is accepting requests? and also the appcontext (myapp)? ...

Why do we need Comet or HTTP polling when we aren't using a browser?

If you have total control of both ends of the wire (client and server), why do people suggest using Comet or HTTP long polling? I understand when you only have a browser as it can only communicate over HTTP. People say you need to do this to beat firewalls because port 80 will be open. But why not just communicate directly over port 80 ...

Help with a Windows Service/Scheduled Task that must use a web browser and file dialogs

What I'm Trying To Do I'm trying to create a solution of any kind that will run nightly on a Windows server, authenticate to a website, check a web page on the site for new links indicating a new version of a zip file, use new links (if present) to download a zip file, unzip the downloaded file to an existing folder on the server, use t...

Python: how to show results on a web page?

Most likely it's a dumb question for those who knows the answer, but I'm a beginner, and here it goes: I have a Python script which I run in a command-line with some parameter, and it prints me some results. Let's say results are some HTML code. I never done any Python programming for web, and couldn't figure it out... I need to have a...

How to structure a website project in Eclipse

I am starting a web application project that will have an Adobe Flex front-end and a PHP/MySQL back-end. I've developed a lot of C++ desktop applications, but am new to building web applications, and to the Eclipse environment. I have set up my current project structure in Subversion as: --MyWebsite +--tags +--branches +--trunk ...

Creating Title / Slug based on PK ID

What would be the generic way to create record title and slub based on the ID? I am working with django-photologue here. I want to save a record with title and slug based on the PK. The generic problem is that I can't get the PK until the record is saved into database. On the other side, I can't save it without title and slug. What com...

Detect if visitor is a browser and not a crawler

Hi How would I server side detect if the user of the webpage is a browser? The reason for detecting this is, that I'm storing statistics about visited pages and I don't want to store any statistics when the user is a crawler. So I'm not trying to detect which browser vendor. I only want a boolean answer, is the user a browser. I assum...

HASP key on ATL Web Service and Windows Vista / IIS 7

Hi! I developed a ATL C++ Web Service on VS 2005 to access a HASP hardware key. This code works fine on Windows XP and IIS 6. When i try it to run under Windows Vista and IIS 7, the w3wp.exe process that is responsable to run the web service, crash with a access violation error. Someone had already this problem ? sugestions needed. Than...

Web Services - When referencing a web service locally, it asks for credentials

I am currently creating a web service locally. I created 2 separate files: One for the web app and the other for the web service. When I try to reference this web service from my web app, it asks for my credentials. It does not accept the credentials I inserted (which I know is correct). How do I remove this from my web service? ...

Integrating Flash with ASP.NET web applications

With flash media server 3.5, I was wonder what my options would be for implementing flash inside my asp.net applications? I've seen some 3rd party asp.net flash controls and flash sells a product called something like 'flash remoting'. Are there any other options? Thanks ...