web-applications

Running C code directly in the browser?

Performance considerations aside, is there any known way to take existing C, C++, or Objective C code and run it directly in the browser? For example, a compiler that converts all the code into some interpreted language that can be run in the browser. Like Javascript, or Actionscript and the Flash player, or I suppose Java and the JVM. ...

Where will WebLogic look for files by default?

Hi All, I have a web application deployed in WebLogic. In one of my java file, I tried to read PleaseNote.txt as following: File file = new File("PleaseNote.txt"); Now WebLogic is taking PleaseNote.txt from its domain directory.My question is: [1] Why it is domain directory? Why not the directory where my java file which has the abo...

How can state be maintained between Java Servlets?

Situation I have a few single-responsibility Servlets that take a request, do their job, respond, and are done -- no state need be maintained in these cases. However, I have I "Plain Old Java Object" that maintains state information based on actions the user has initiated on the client that I would like to make available upon request t...

Good web based download manager?

I'm looking for a good web based "download manager" open source application. Mainly a web based interface to some files in a Linux server filesystem. I've looked in sourceforge and google can't find a good one. Maybe I'm searching it with the wrong keywords? PHP is preferred, but can be written in other programming languages as well. S...

Recommendations for visualising a directed graph in a Web UI

I need to visualise a directed graph that represents the flow of data in a web application. Can anyone recommend any JavaScript or Flash solutions for this please. It must support hooking a node click event because I need to fire off an AJAX call when this happens. Can be free or commercial. The server-side technology is Java if this mak...

C# Recycle IIS 6's App Pool error

I want to Recycle IIS 6's App Pool in a web app using asp.net c#. protected void Page_Load(object sender, EventArgs e) { //Recycle IIS 6's App Pool Recycle("localhost", "appPool_02"); } void Recycle(string machine, string appPoolName) { string path = "IIS://" + machine + "/W3SVC/AppPools/" + appPoolName; DirectoryEntr...

How can I enable folder sharing in Google Docs? Can I write my own program/application for it?

Google Docs does provide sharing of files.But it does not provide sharing of folders. Is there any way by which I can share the folders too? Can I write my own application/program for it? If yes, then how? UPDATE: Now this question is no longer useful.Gmail now supports folder sharing too.Cheers! ...

disable rotation of a webpage in iphone

I'm developing a webapp for the iphone. I'd like to force a certain page to always show in landscape mode not rotate. Is there an easy way to do this? ...

How do I expose bean in JSP?

How can I expose a Java bean to a JSP page by using struts? I know how to configure a StrutsAction to include a form-bean, but I wonder if there are other ways to interact with Java code from a JSP page? I ask this question because I don't understand fully a likely answer to a problem that I have asked here: http://stackoverflow.com/que...

Python-based Gallery web applications?

I'm trying to cut my last dependencies on PHP and MySQL. The last stumbling block is a image gallery I set up for a client a while ago. The whole website is built around Django and Zine, except for the image gallery, which is based on plogger. I'd love to replace plogger with a Python solution. Requirements include: good admin interfac...

How do I move my spring xml configuration outside of my web application?

How do I move my spring xml configuration outside of my java web application? I'd like to store my spring.xml outside of my web application so I don't have to create a new build of my application to change the configuration. What is the best way to do this? ...

Which java webserver is most suitable here?

Hey, I am developing a simple web application which contains these 3 components: client that uses Ajax,javascript, html to display data on the browser. Java webserver that interfaces between the client and data processing entity. data processing entity, implemented in C++. I need to decide which java webserver to use. Some options ...

Is there an online user agent database?

How do you parse your user agent strings? I'm looking to get: Browser Browser Version OS OS Version from a user agent string. My app is written in perl and was previously using HTTP::BrowserDetect. It's a bit dated and is no longer maintained. I'm in no way tied to using perl for the actual lookup. I've come to the conclusion that a...

Building site.. custom inventory system.. cart recomendation?

I am building a site using code igniter. I am developing a custom product catalog using php and mysql. What is the best way to go about making those products purchaseable online. I thought about writing my own cart, but I am a little worried about how much time that would take. Most carts I come across online are full fledge invent...

Review of existing Java Web Frameworks

Is there a canonical site/book/article I could go to that discusses the hundred of existing Java Web Frameworks out there, and which objectively compares their strengths, features and weaknesses? Note that I am not asking which framework is the best. Others have already done so. I'm looking for a comparative review of the existing frame...

aspnet_compiler shows warnings for "The 'AddressOf' expression has no effect..."

Hello, I am using the aspnet_compiler to pre-compile my asp.net web application VB.NET project with the following command line: aspnet_compiler.exe -f -fixednames -p C:\myfolder\myproject\WebApp lication1\ -v / C:\myfolder\myproject\pre-compiled When I run the above command I keep getting the following warning message: C:\myfolder\W...

Possible to incorporate "push email" into a web app?

I was reading about this new feature in Gmail called push email which seems to be designed with smart phones in mind. But I wonder if it would be possible to incorporate this into a web app. So for example, let's say I allow Gmail to push email to a particular HTML form and then I have my web app process the emails. Would that make...

Automated Deployment solution for multiple Java web-apps

I'm looking for solutions, preferably open source, that can manage deployments of multiple interdependent java web-applications. The solution requires an ability to create and store a release specification containing multiple items for release - specific versions of each application and relevant other artifacts (database config, apache ...

UI, Business Logic Layer, Data Layer and where to put web services

We are developing a web application. We want to possibly reuse the work we do here for a different application that will use the same database, and use the same business rules for reading and writing to said database. Which design would be more correct Having the UI call web services, which would use business objects containing the b...

Is this a good canditate for a web-service?

Ok so coming in from a completely different field of software development, I have a problem that's a little out of my experience. I'll state it as plainly as possible without giving out confidential details: I want to make a server that "does stuff" when requested by a client on the same network. The client will most likely be a back-e...