web-applications

Java JSP/Servlet: how to automatically serve either a .dmg or a .exe file?

What is the correct way to automatically serve either a .dmg or a .exe file depending on the OS/browser the user is using to connect to a Java Webapp? I'd like to do it server side, without having to use any JavaScript. For example if, from an OS X machine, I go to: absolute poker and click on "Download & Play" (it is just an example o...

What is the Microsoft version of an embedded Java web applet?

What is the Microsoft version of an embedded Java web applet? Is there a good example of one on the web? Also, why is the dynamic web dominated by ajax and not embedded applications? ...

IP2Location to get user's campus

I'm writing a web page that will detect which college campus a user is accessing the site from. I have a list of which IP ranges go with which campuses. My question is whether it would be better to detect the user's campus from their IP, using this list, or from their hostname, or both. My concern with using IP ranges is that these ma...

Recommended way to access Spring beans in Apache Tomcat webapp?

I'm developing a web application on Apache Tomcat 6 with Hibernate and Spring, I'm using different XML configuration files to define my Spring beans (like the Hibernate DAO, Quartz scheduler and some other stuff). All these files are loaded at Tomcat start up via web.xml (ContextLoaderListener). Now I'm not sure what is the recommended ...

Application Pool, Worker Processes and web applications??

can anybody explain these things in IIS?? ...

How iis recognize a web application??

I have been asked these question in interviews... 1.How iis recognize that which web application we are requesting? 2.How iis recognize that web application is developed in which language? Can anyone explain them in detail... ...

what is the best module in perl that can implement paros proxy functionality

did someone know about a good perl module that implement the most of the functionality of paros proxy http://www.parosproxy.org/ if yes could someone provide some modules do that ...

How do cookies work?

I want to know all the possible uses of cookies. Are they good or bad? How do they work? Some Best Practices I collected so far- Use Cookie-free Domains for Components tag: cookie When the browser makes a request for a static image and sends cookies together with the request, the server doesn't have any use for those cookies. So they...

How to identify the URL of an Java web application from within?

My Java web application contains a startup servlet. Its init() method is invoked, when the web application server (Tomcat) is started. Within this method I need the URL of my web application. Since there is no HttpServletRequest, how to get this information? ...

Need an online customisable estore solution which can be integrated - any ideas?

Hi guys, I was looking through different online applications such as freshbooks and like how they have an api to allow for a certain degree of integration so you can use their application for invoicing instead of having to build your own invoicing system from scratch. I'm looking for an online shopping service - is there any such web ap...

Self-hosted WCF service has HttpContext.Current == null despite the fact that AspnetCompability allowed

I'm using self-hosted (programmatically hosted) WCF-service in Web Application. I placed the [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)] attribute to the SampleService class and placed <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="false"/> e...

Can I avoid Java EE to create a light-weight web page?

Everything I download seems hellbent on using all of Java EE. I need to build a single page to handle requests to it and do a tiny bit of processing based on parameters. This is to hook into another framework that will routinely call this URL. I want a quick and easy way to create a page with some processing. Is there an easy way to do ...

How is something like Sproutcore/Qooxdoo helpful?

I am learning Python and building my first web app. I have been going thru the django tutorials and just beginning to think about how to do the client side. I want it to be web 2.0-ish, and will need some AJAX/javascript functionality for displaying lists from the database, and cool things like date choosers, auto-completion, etc. It s...

Creating ASP.Net Mobile Web Applications in VS 2010

I am trying to create a mobile version of a web application using VS2010 (.Net 3.5, not 4). When I search for information on ASP.net mobile I see a lot of references to mobile controls that adapt their HTML to the specific device requesting the page. Since I would like this app to be viewable on as many as devices as possible, it seems...

Which is the best technology to make live multi-user video conference in a web application?

My criteria are : less latency possible & less installation needed on client side ...

SQL Server 2005 Reporting Services: Reports are Compressed

I have a report that I am capable of viewing correctly in Internet Explorer (IE) with the help of Reports from SQL Server 2005 Report Server (SSRS). The problem is that the report is compressed to about 100px by 100px in Firefox and probably other browsers such as Safari and Chrome. Also, I am using IIS6. How can a report be rendered pr...

How can I use google app engine?

I've begun planning a kind of web store interface that I want to work on soon. I'm starting to import products from China and want to have a completely unique feel for my site. Now I'm kinda a google fanboy and have heard alot about google app engine. Mostly I like the hosting available with google more then anything though. But I wanted...

Is there somewhere I can submit SQL code and have the website display a graphic?

I'm trying to create a graphs of my database. Is there somewhere online that offers this service for free? I think it would be a great tool. :) EDIT: Turning this CREATE TABLE pertipoempleado ( id_tipoempleado INT primary key, descripcion VARCHAR2(200) ); CREATE TABLE perarea ( id_area INT primary key,...

Java Web Application - Deployment Strategy Alternative to WAR - Managing UI Changes Separately from Full Code Base Patches

I've heavily edited this question because responses indicated I wasn't being clear problem: UI changes to a Java web project can be tedious and time consuming because every web-app file is contained within the WAR my proposed solution: Manage the JSP's, CSS, JS and Tags separately from the application code base which for the purpose ...

Is it OK to design and test a secure web app without SSL ?

I need to build a small web app that will ultimately need to be launched via SSL. My question is, can I design and test it as if it was an ordinary application and only later add whatever is necessary to make it secure ? Or I have to test it over SSL right from the start. ...