web

Web service soap header authentication

Hi, I have a web service, i want to authenticate the user from the soap header. That is, i want to check a token id (random number) in soap header and validate it against a value in my database and if the number matches i allow the request to go through otherwise i dont want to allow execution of my web method. Is there any clean way o...

Getting youtube links from embedded youtube video on pages?

Is there a regex to get youtube video links or ids from embedded youtube videos on webpages? ...

Software/Batch/Something that connects to web and downloads

Hello, does it exists a Software/Batch/Something for Windows OS that could access the web and download a file (like a xml) in a specified folder, recursively in time (like 1 time a day)? ...

Using a Session Scoped Bean

The following code is returning null: AController.java private MyAppUser getMyAppUser(HttpSession session) { MyAppUser myAppUser = (MyAppUser) session.getAttribute("myAppUserManager"); return myAppUser; } I also have tried this: AController.java @Autowired MyAppUser myAppUser; Despite the fact that I have ...

Visual Studio 2008 - App_webreferences and dynamic urls

When you add a web service reference in VS 2008 Web site project, you get a new folder in App_webreferences. This contains a disco,wsdl and discomap file. Additionally, you get a key/value pair in the web.config which contains the endpoint URL. Within the disco,wsdl and discomap files, the URL is strewn about leaving many places to chan...

Is it recommended to use the Web SQL Database for storage on the client side

The use case is to have an application store data on the client side when offline. Is it advisable to use the Web SQL Database (which Chrome and Safari support, not FF though), or wait for the browsers to implement the Indexed Database API? ...

Deploying remote EJB and Web application

Hi, I have successfully deployed an EJB 3 module and a JSF WEB app which calls the EJB module's beans using netbeans IDE locally. Now when I try to deploy this in staging environment, i get the following error: root cause javax.servlet.ServletException: com.sun.enterprise.InjectionException: Exception attempting to inject Unresolve...

Web App for smartphones in ASPX

I have been looking around recently to try and find a good place to learn how to start making my website more smartphone friendly when it is visited by an iPhone, android, or blackberry. This is something like what Digg.com does when it is visited by a smartphone. I have found a few tutorials for PHP but none for ASPX, and all I have is ...

Spring 3 MVC - Does Anything Just Work? Very Simple Use Case Not Working

index.jsp ... <h1> ${myobject} </h1> ... HomeController.java @RequestMapping(value = "/index") public ModelAndView indexPath() { System.out.println("going home"); return new ModelAndView("index", "myobject", "isastring"); } Output: going home The <h1> on index doesn't show anything, how is this even possible? I absolute...

Spring 3 MVC - Form Failure Causes Exception When Reloading JSP

EDIT: NEW SIMPLER VERSION OF THIS QUESTION - http://stackoverflow.com/questions/3014579/spring-3-controllers-maintaining-model-through-flow Using Spring 3 MVC, please bear with the long code example, it's quite simple, but I want to make sure all relevant information is posted. Basically here is the use case: There is a registration p...

Webpage background scrolls with content

I have a webpage with a static CSS background, but the content is longer than the height of the image. This causes whitespace at the bottom after the image ends. How can I make the image scroll along with the view of the user's screen? Thanks in advance! ...

What should I check in my ASP.NET application to make sure it won't run out of resources?

We have a website on IIS7 using ASP.NET Routing that seems as though it might be running out of resources. It just hangs after a few days, there is no error message or apparent crash. We are making sure every .Open command is matched by a .Close command on the database connection. We are doing the same with file Open/Close but there are...

Cannot connect using WebSockets, not changing readyState

Ive tried several approaches and even copy/pasted from http://code.google.com/p/phpwebsocket/ Im using Google Chrome 5.0.375.70 beta and the error is always the same: Error: INVALID_STATE_ERR: DOM Exception 11 when debugging I see the readyState is always 0 (connecting), no other error is shown. Any ideas? ...

Redirecting non www to www?

Will search engines see the non-www as a different domain from the www version?Whether it is a must to put redirection for non-www to www? Regards, Rekha http://hiox.org ...

Forwarding Mouse Events through layers/divs

Hi Does anybody know of either a Jquery or native JS way to enable mouse events through layers? e.g. enable a link underneath a div. Other solutions but cannot use in my case: The simple way, although using not really supported 'pointer-events' http://hacks.mozilla.org/2009/12/pointer-events-for-html-in-firefox-3-6/ A ExtJS solution: ...

How to add site search function to website using XHTML/HTML?

I really want to learn how to make my own search engine for my site. I have the defined buttons and labels, but it doesn't search. I can't figure out the HTML or XHTML code for actually searching the site. This is the code I have so far: <p class="search"> <label>SEARCH</label> <input name="search" type="text" class="txt" /> ...

sites/tools/apps to collect client feedback on web design

looking for recommendations on various tools to collect client feedback on web design - both for mockups and live versions. cheers! ...

W3C Web Content Accessibility Guidelines 1.0, which technology could I use?

Hi, I've a project where one of the requirements is fullfil the "W3C Web Content Accessibility Guidelines 1.0 (WCAG 1.0)". I'm now considering wich technology could I use to acomplish it, but I'm a little bit confused. Silverlight would be the easiest way, but I cannot find conclusive information about if silverlight is or isn't compi...

How to Start/Stop Default Web Site and Apllication Pools in IIS7 programmatically

Hello together I want to Start/Stop the Default Web Site and any Application Pool of the IIS7 programmatically in C# Knows anyone how to do this, is there any library?? Thank you very much ...

WCF interoperability with WSDL proxy and performance consideration advise.

I'm essentially writing a broker service. The requirement is that I write an API that acts as an intermediary broker between our in-house developed services and a 3rd party provided API. The intention being that my API abstract the actual communication with the 3rd party API from our internal systems. The architect on the project chose...