web-applications

IIS: multiple web application vs single web application root

Hi, We have a legacy system which is build in classic ASP. As we move to asp.net, we find ourselves creating web applications as we migrate old stuff to .net and add new functionalities to the system. I would say maybe 30% of them would share the same library, loading the same dlls. (all applications share the same app pool) My questi...

Problem when call an application from webApp

Hi, I Create a web application that when I click on button this open another application installed on iphone. I call another application with this code: window.launchAPP = function() { setTimeout(function() { window.location = 'http://www.app.com/' }, 500); window.location = 'app://'; }; T...

What makes CakePHP secure, and how can we increase it's security?

Hello Stackers, Right now I'm learning about the CakePHP framework, and I just wanted to know what makes CakePHP secure. How secure are its components like for example how secure is the authentication component. Also, what can we do as developers to increase the security of our CakePHP base web application? Also do you guys recommend a...

How to retrieve set of rules defined in scope in custom post processor module in Heritrix.

Hi, I am using Heritrix API for crawling web sites. I am facing a problem in writing my own post processor similiar to LinksScoper. Class which Heritrix API provied LinksScoper uses isInScope(CandidateURI) to check if CandidateURI is in scope or not. But It applies all the rules in one shot. Is there a way to write my own post process...

Web enabling Java console application's JMX beans

I have built a Java console-based application and exposed key methods via Spring/JMX declarations. Using JConsole, I can invoke these methods but more ideally, I would like to build a management-style web application to provide browser-based access to these methods. Thanks. Ashwin ...

Embed .Net C# In Web Page?

I would like to embed some C# .Net code that does some simple Encryption/Decryption functions into a web page. This will be an internal web page so users will be implicitly trusted. Is there any way to do this? I will need to hit user's Windows-MY key store (via CAPI) to pull out the keys for decryption and hit an LDAP server to grab pub...

Prevent cached iPhone webapp from reloading (scrolling to top)

I have an iPhone webapp that uses a cache manifest to work offline. I add the webapp to my home screen, use it (say scroll to a certain location on a page), then go back to homescreen. When I open the app again, for a brief moment I see where I used to be (at that scrolled location on that page), but then the app "reloads" and I get scro...

securely pass api key from remote server to authentication page

This is my first time building an authenticated API and I'm running into a few roadblocks. How do I securely pass an API key from the remote client's page to my server (for the user to authenticate connecting his account to the client's page/app)? -dylan ...

Dojo with application/xml+xhtml content-type

How can I get Dojo Dijits (1.5.0, currently) to work with XHTML as application/xml+xhtml? It works if sent as text/html, but application/xml+xhtml is required. This seems to be tied to dijit.form.DatePicker and a few others. This isn't a matter of validating against W3C, it just plain doesn't work, at all. Error: mismatched tag. Expec...

Pattern for website content that updates periodically?

I often find myself designing simple little web projects that are serving up aggregate content or doing a 'mashup'. Typically this involves running a script to scrape/parse/manipulate some data periodically, then serving that as 'static' content. I run the 'refresh' script as a cron job that generates HTML that is served up to the end-...

Problem with distributing web applications on the Apple Store

Hi, I have quite a problem with finding out how to distribute the web based application. There is the description: I have a web based application I would like to distribute over Apple Store (the application itself is free - I would like to use Apple Store because everybody uses it and it is a natural distribution channel for iPhone). T...

Please help me fill in the gaps of my knowledge of deploying a web application to a web host? (warning: many related questions)

This will be my first attempt to build a full web application from scratch myself. I have huge gaps in my knowledge and would appreciate some advice. Please point me to a tutorial so I can learn myself, or give me pointers on where to start searching. I do maintain a web application for a living, but work within a set environment. I am ...

iPad webapp problems: statusbar over page, html/JS links

Hi there. I have a webpage/webapp that works really good. Just 2 problems right now: The statusbar of the iPad is not above the page, like i think it should be, but its in the page. So the top ~10px are overlayed by the statusbar and therefore my menu at this place is nearly unusable. I used 'black-transulent' but also 'black' as status...

Question about alert in webapp iphone

Hi, I write a webapp, I need to modify or catch automatic alert of safari such as "cannot open page. SAFARI cannot open the page because the address is invalid". is possible this?? Another question is: how to cache title of alert javascript? Best regards Samantha ...

Loading spring context in web application after some servlet

Hi all, We need to load the spring application context in our web application after one of our servlets is initialized, so I wonder what is the best way to do it? I know that it's recommended to use the listener in web.xml, but it's obviously not good for us because in this case the context will be loaded before the first servlet. I s...

Validate page request only client side

I'm using a caching server to cache different instances of some pages. All the pages have two instances.(they have a version for the html when logged in and another when logged out). What I am trying to achieve is the following: I want to make a request to the server based on some credentials(username password for example) for validatio...

How to send status information from a Web service while is being executed?

Hi all, I'm new to web development so I'm not sure what's the best option for the problem that I'm having. Basically I have a web application that calls a web service for processing some data. This process may take a long time (hours) and I would to know if there is an easy way to send some status information to the client from time to...

Web Project planning tutorial

Hello, I am about to start a web project in PHP/MySql and would like to do proper planning but i have no experience in doing this, so i am looking for an online tutorial i can read that will help me learn how to plan web projects. Please post resourcesful links. Thanks. ...

Google Chrome err_failed chrome (err2) - Web App

I'm a web application developer, who runs a site http://myfav.es. We've been struggling with this issue for about a month now. We use the HTML application cache spec - www.w3.org/TR/offline-webapps/ - with dynamically generated manifest files - myfav.es/personal.manifest - to speed page delivery. These dynamically generated manifest fi...

How to handle large data sets for server-side simulation --> client browser.

Sorry for the somewhat confusing title. Not sure really how to title this. My situation is this- I have an academic simulation tool, that I in the process of developing a web front-end for. While the C++-based simulator is computationally quite efficient (several hundredths to a tenth of a second runtime) for small systems, it can gen...