web

A good way to display large images online

I need to show an image that is 4000x6000 px. What are your experiences with displaying large images online? My initial idea was to use the GMap cutter and the Google Maps API to show the image. GMap Cutter takes an image and cuts it appropriately for use as a google map. My problem with approach is that the image will be changing often...

Unable to create AxisService from ServiceEndpointAddress

Hi All, I do some testing on WS. I create a wsdl with multiple method. But I only can execute the 1st method, others failed and give me error below:- javax.xml.ws.ProtocolException: CWWSS7200E: Unable to create AxisService from ServiceEndpointAddress atorg.apache.axis2.jaxws.ExceptionFactory.createProtocolException(ExceptionFactory.jav...

Changing Property Types in Designer

Hello, I have a property in a control that exposes an interface. IElementTemplate. What I was hoping to do was to use the designer control to override the reference to change it to a class that inherits from this interface, but this isn't working: protected override void PreFilterProperties(System.Collections.IDictionary properties) ...

What is the maximum size of a cookie, and how many can be stored in a browser for each web site?

I am learning about cookies, and I wonder about browser support when writing web applications that rely on cookies to store state. For each domain/web site, how many cookies may be sent to a browser, and of what size? If multiple cookies are sent and stored, does that affect performance? ...

Python newbie - Input strings, return a value to a web page

Hi, I've got a program I would like to use to input a password and one or multiple strings from a web page. The program takes the strings and outputs them to a time-datestamped text file, but only if the password matches the set MD5 hash. The problems I'm having here are that I don't know how to get this code on the web. I have a serv...

Website Filter using PHP and MySQL Query

Ok, so on my site we have a filter section where a user can select to filter through games by either the game's genre or the model that the game will play on. I'm trying to write a query that will query the database and filter it by genre if genre is the only set item, filter it by model if model is the only set item, or filter both if ...

Using both POST and GET Ajax calls for the same WebMethod in ASMX Web Service

I can't seem to call a web service method from Ajax with both POST and GET. Initially only the POST would work and GET would causes this error: {"Message":"An attempt was made to call the method \u0027getData\u0027 using a GET request, which is not allowed.","StackTrace":" at System.Web.Script.Services.RestHandler.GetRawPa...

How does JavaScript work internally?

I am interested in understanding the internals of JavaScript. I've tried to read the source for SpiderMonkey and Rhino but it's quite complex to wrap my head around. The reason I ask is: why does something like (![]+[])[+!![]+[]] produce "a" (Å=[],[µ=!Å+Å][µ[È=++Å+Å+Å]+({}+Å)[Ç=!!Å+µ,ª=Ç[Å]+Ç[+!Å],Å]+ª])()[µ[Å]+µ[Å+Å]+Ç[È]+ª](Å) pr...

Can I do a 301 redirect in robots.txt?

I have a site which has a whole host of legacy links, which now need to be mapped to new links. We need to update search engine results so that the legacy ones disappear and are replaced. Because of the CMS we can't do this programatically, but I was wondering if we could set up a 301 redirect in the robots.txt file, which would update...

system for absences

I would like to know what should be a good option to implement a system like that: The system will be use by teachers in a school. They can login and see a list of the pupils that they have in the current class/subject. In this list they could mark the pupils that are not attending the class, and some other options... The system shoul...

Getting an Instance of your Web Service Reference

So I believe all you have to do with .NET 2.0 vanilla web services (not WCF) is the following: 1) Add your service reference. In my case I'm using the PayPal WSDL 2) Before you can use any proxy class, you must first create an instance of your service reference 3) Once you create an instance of your service reference, then just do [ser...

Bookmarklets that work with Frames?

Over the next year, I'll be hacking on an off-the-shelf web app from a Major Software Vendor. While we will have access to large portions of the code base, I'll be working blind on some of the web forms. Of course, Major Software Vendor only supports IE 6 & 7. It would be really nice to use some of the bookmarklets I use in more "modern"...

How Do You Implement an Editable Grid Control in Html/JavaScript that Binds to a Collection of Java Objects?

Consider a simple POJO Java Object: class MyObj { String a, b; Integer c; } My application executes a Struts action and sets a Collection of these on the Http Request: request.setAttribute("myObjects", getCollectionOfMyObj()); The action then forwards to a JSP page, and this is where my questions centres: What is the simplest...

How to develop an asynchronous web service in Netbeans?

Hi, Netbeans has a very nice setup for creating and testing synchronous web services with Axis2. However, I'd like to develop an asynchronous web service in Axis2, again in Netbeans. Is there a link somewhere I can look at? Is my best bet to check the example code in the Axis2 distribution? Thanks! ...

Dynamic width DIV next to a static width DIV

Its in all in the title. I'm trying to get a div on the left of the page to a static width 170px; this works fine. What I'm having issues with is getting a div next to it, that scales to fit the remaining width. Is there a simple approach I can use here? ...

Domain with directories or new domains?

Hi, what is better, a domain with subdirectories or whole new domains for those directories? I have a website divided by 12 directories which are the main purpose of the website like: example.com/subject1 example.com/subject2 I was wondering what is better for me, new domains for subject1 and subject2, like subject1.com and subj...

Use input-submit to represent multiple options.

I have a table of events on a page. Last column contains available actions, i.e. "accept", "tent. accept", "cancel". So if you are an attendee you'll get "accept"/"tent. accept" buttons. If you are the organizer you have "Cancel" option. Now, I have done "Cancel" as <input type='submit'... element, and put "accept"/"tent. accept" as lin...

Spring MVC - Web Flow Controller

Hi. I have a j2ee application developed using spring framework and spring webflow. Currently all of my url requests go through the Web Flow. What I want is to be able to choose whether to direct it to Web Flow or an ordinary spring mvc controller. I have no idea how to direct it to custom controllers. How do I do this? I tried having t...

Connectivity between Mysql & .net 3.5

Hi i want the connection string to connect the MySQL from the .Net 3.5 SP1 ...

COM object to web service for mobile devices.

We got a COM object for our web applications. now we need to develop application for different mobile devices like IPhone, Android and windows mobile. what are the options out there ( rest server, soap serverice ) any idea. ...