web

Spring-MVC Opening New Tabs For No Apparent Reason

there is a form with a submit that logs in a user <div class="logInDIV"> <form action="login.do" target="login.do" method="post"> <span style="font-size:77%;"> <label>email:</label> <input path="userName" cssClass="textfield" cssStyle="width:160px;" title="user name" name="userName" type="text" /> ...

Accessing the location object of an external script from the external script

Here's an interesting JS q... suppose you have: host1.html on host1.com which references an external javascript (host2.js) on host2.com. In the host2.js, I'd like to get the location.hostname of the host serving the host2.js, but because host2.js is called inside of host1.html, it returns the location.hostname of host1. Is there a way...

Dynamic web page...filling in data on the page when a link is clicked

I want to implement a web page (using HTML/PHP, whatever else), that will populate data int the top half of the page (seem image below). The top half will contain links. When the user clicks on the links, I want to populate the bottom half of the page with detailed information about the item clicked on in the link in the upper half of ...

Using HTMLAgility Pack to Extract Links

Hi Folks, Consider this simplest piece of code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using HtmlAgilityPack; namespace WebScraper { class Program { static void Main(string[] args) { HtmlDocument doc = new HtmlDocument(); doc.LoadHtml("h...

Can I process video using flash?

I want to have a web page where user can activate his/her web-camera and send video to another user. Additionally to that I want to have a possibility to process video on the client side. In more details, I want to have a program which analyze video on the client side. Is it possible to do it with Flash? ...

Jquery number of clicks record

Hi, I am working on this page where I'm using a Jquery Mp3 Player (Jplayer) with its playlist. What I want to do is very simple in theory: I want to record the number of clicks for every playlist element. When someone enters the page, his number of clicks are at 0 for every element. The visitor can click a few times on element #1, the...

Javascript break breaks Firefox

Hi, I'm working on this Javascript script that works nice in Safari and Chome but for some reason it doesn't work at all in Firefox. I identified the line that caused this: it's "break;". How do I fix this? ...

Obtaining WSDL from a Web Service Endpoint Address

Is there a generic way of obtaining the service WSDL by using the service endpoint address. I know this can be done by appending ?wsdl to Axis2 services. But does this property hold for other web service containers as well? ...

I can't change a value, for a web service using an axiom client!

Hi.I just started learning about web serices. I succesfuly installed Tomcat, and deployed axis2 on it. I followed the tutorial from here http://ws.apache.org/axis2/1_1_1/quickstartguide.html . I made the StockQuoteService web service, moved the .aar file in the WEB-INF/services folder and tested it - it worked all fine. Then I made a ...

Creating avatar from uploaded image

We are using asp.net with .net 4.0 We want to allow users to upload any image and we want to create tiny avatar for uploaded image? What is the best way to convert uploaded images for avatar? We want to keep the same height width ratio if we can convert gif, bmp, jpg, png to one standard format it would be greate. Which could be the...

This method implicitly uses CAS policy, which has been obsoleted by the .NET Framework. In order to enable CAS policy for compatibility reasons

Hi Guys, I have just updated my nant script to compile my .net framework 4 solution. And I got the above error while generating commonassemblyinfo.cs in my solution. I visited msdn website and also added <NetFx40_LegacySecurityPolicy enabled="true" /> in my web.config under runtime->configuration. But that didn't solve my problem. Ca...

plain http images with a https/ssl page

Is it still not kosher to have a https page with images that are not accessed via SSL? (ie imagine a web app which is SSL for all important content, but images and styles are coming via a plain http CDN). ...

DIV with text over an image on hover.

OKay first off this is really really similiar to the http://dribbble.com homepage. In the simplest form possible. I have an image, and i'm trying to CSS it so that when i hover over the image, a DIV shows up with some text and a partially transparent background color. I have no idea how to do this.. ...

Best free site/blog to put video tutorial

Hi, i am planning to upload a video tutorial on a particular software technology. The size of the videos will be around 600 MB's to say 1 GB. I am putting it for free for anyone to download. Is there any site/blog where i can put it.I am planning to divide the videos in parts and zip them. Does blogger or any other cms allow me to upload...

MCX Ticker in ASP.NET Application

Hello, I Want to put MCX India(http://www.mcxindia.com/) Ticker in My Asp.NET Page I have Searched Lot for this problem on the net but nothing gets helpful If Any one has idea about that or done stuff like that then please Please Help.... ...

Using PHP, how to parse the title and meta tags from a HTML page?

Hey guys, I need to be able to get the TITLE and DESCIPTION metadata out of a page. I've been trying to do this but I've been getting more errors than actual results. (I have an array of about 10 URLS, usually only about 2 of them give me the descrption. I have yet to get the title). So how do I, in PHP, get the Desc and Title from a ...

Does VSTO run on Windows Azure?

I have a Web application which will be deployed to Windows Azure and I'm looking for alternatives to generate Excel spreadsheets. Can I use VSTO to programatically generate an Excel spreadsheet in a Web Role running on Windows Azure?... If yes, how should I deploy the application to Windows Azure? What assemblies should I include? Than...

Flash CS5 Publish Website Problems

Hey there, I just got Flash CS5 and I finally finished my website layout. But after publishing it and uploading it online, my browser says I don't have the newest version of flash and that I need to install it. Since I know that I have the most recent version (Flash Player 10), I don't understand why my website won't show. Do you guys ...

how to use XML in Sdk for web base application ?

hi every one I'm want to know how's correct way to use Xml in sdk for web base application i'm trying to do magazine in iphone but they told me that i have to use XML to take body and other thing from that web site? please some one direct me to that and if you have any tutorial for that thanks ...

Performance on .NET Remoting

Hi all, I have a web service that uses a shared object through '.NET Remoting'. For avoiding problems related with channel duplication, I call the UnregisterChannel method everytime one webmethod is done. Does anyone know if this solution (unreg a channel after webmethod is going to finish) is acceptable in terms of performance? Tha...