web-development

Finding a needed dll after a JBoss (hot) redeploy?

My web application uses a native dll for part of its functionality (the location of which is provided in PATH). Everything works until I make a change to the WAR and JBoss hot deploys this WAR. At this point, the dll is no longer found and I need to manually restart the server. What is the best way to load the dll back into the app afte...

Best book to learn web development for a professional developer?

I'm a professional software developer. I've been programming in a lot of different languages over the course of more than two decades now. Picking up a new programming language is very easy for me. However, I have no knowledge or experience whatsoever developing modern AJAXy web applications. What I need is a book that gives me a goo...

From Idea to Solution - Next Step to take in Programming Project

I'm planning a programming project, but am an unexperienced programmer. Aside from a couple of intro courses in C and Java long ago, I know little about programming, except that I know what I want the end point of the project to look like Without getting too specific, what I want to do is this: Create a website where users can regist...

what is the right way to use log4j within jsp pages

I mean, I want the logger name to reflect the source.jsp file, no matter if it is included in another file or compiled to a class or whatever. ...

What would you want in a self-hosted project support/information web app?

My next project will be a lightweight PHP alternative to Trac, since Trac is often confusing to install and is often a little too big or feature-rich for smaller project. Features planned so far: Wiki Bug tracker Forum(s) Static pages (easily edited of course) Markdown support No code repo hosting (I consider this a feature since most...

iPhone: Sharing data between native and webapp

Hi! I would need to share data (not necessarily a large amount) between a native iPhone app, and a safari/webkit javascript app... Do you know how this could be done ? I considered sqlite.. But it seems an application can only read/write inside its own bundle (so, not in the webkit databases directory), and the other way, i guess javasc...

ASP.Net 3.5 website project VS web application project

I have an interesting scenario: - Site has 209,000+ pages. - Evertime a user submits a new article/item a new page is generated and if it has a refernece to one of the existing pages then that page is also re-generated and saved. - A windows service is looking after the generation of pages which creates a page(file) in the site directory...

jQuery-JSONP plugin fails when placed in a directory

I have an HTML page that uses the JSONP Plugin to gracefully handle errors in my JSONP call. My problem is quite perplexing (and I hope it has a simple, easy "D'Oh!" solution :)). When the .js file is in the same directory as the HTML page and is loaded like this: <script type="text/javascript" src="jquery.jsonp.min.js"></script> All ...

Integrated Windows Authentication & SSL

I have an administrative website on our intranet that currently uses Integrated Windows Authentication through IIS. We would like to move this application to a public website and secure it with SSL so our users can access it from anywhere. I had been planning on using an HttpModule to redirect from http to https, but it doesn't look lik...

__call() function in CakePHP?

hi, is __call() function availabe in CakePHP? I used this fucntion in Zend Framework. class UsersController extends AppController { function home(){ /*some action*/ } function __call($m, $p){ print_r($m); print_r($p); } } getting erro like this Missing Method in UsersController <?php class UsersController extends AppController { ...

Automated link-checker for system testing

I often have to work with fragile legacy websites that break in unexpected ways when logic or configuration are updated. I don't have the time or knowledge of the system needed to create a Selenium script. Besides, I don't want to check a specific use case - I want to verify every link and page on the site. I would like to create an a...

Problem authenticating by doing a POST to an HTTPS page.

This relates to my other question on accessing a REST service that uses forms authentication, but I feel it is substantially enough a discrete issue. When I paste a REST call into my browser address bar, before I am authenticated, I am redirected to a login page on the services web site. I log in and receive a cookie, which authenticat...

Detect prematurely closed connection in web.py

Is there a way in Web.py to detect and handle connection being closed by user while the request is processing? I tried setting unloadhook handler, but it doesn't get called in this case. It's only called after the request was successfully completed: class handler: def __init__(self): pass def GET(self): try: ...

CakePHP Session vaiable use in view page?

hi i have a varible contaning "username" and want to get these values via session to any of the view page. How can i use session vaible in view ...

any experience with "Play" java web development framework?

I've just stumbled upon the following new java web framework: Play http://www.playframework.org/ http://www.playframework.org/documentation/1.0/home with such a stunning list of features, I'm pretty much surprised I haven't heard of it before... Sounds like the java web development promised land... has anybody tried it? any real exp...

What is this menu style called?

I am trying to style a menu that has a static height and the content is displayed between the headers. (Please see below image. ...the right side is the view after a user clicks on Header 2) What is this menu style called? How can I accomplish this with jQuery? Edit: Thanks! I searched for accordion before asking, but I was unable to...

What is better in sIFR 3 beta than sIFR 2 ?

What is better in sIFR 3 beta than sIFR 2 ? What is benefit of using sIFR 3 over 2 ? I need details on differences . Which is easy to implement and to maintain? in my new projcet i want to use sIFR so which vesion should be choose and why ? I want to make my site compatible with al a Grade browsers? ...

How to get MySpace profile info using OpenSocial client library?

Any advice on how to get MySpace or Orkut info such as birthdate from a person's profile using OAuth using the OpenSocial PHP Client library? I am lost on the process, and the tutorials are complicated. Any simple code would be helpful! Thanks. ...

Spring - Security : how are login username and password bound to the authentication-provider?

Hi, I am new to spring and spring security, I have understood how beans are created and referenced in the xml files, I need to provide security using spring into my application. I included a custom applicationContext-security.xml file in my web.xml : contextConfigLocation in this file, I have intercepted url patterns using <intercep...

Selecting all direct children of a <ul> element

Say I have: <ul class="menu"> <li>One</li> <ul class="submenu"> <li>Apple</li> <li>Orange</li> </ul> <li>Two</li> <ul class="submenu"> <li>Pear</li> <li>Banana</li> </ul> </ul> Is there a way to select only the first children of the top level <ul> element (in this case "One" and "Two") with just CSS? ...