web-applications

How to access web page hierarchy inside a application.

Trying to figure out how to programmatically access the web pages in the application. Just something simple like a list of them would be awesome. I know I can create a list but I was wondering if there was something that could 'look' at the pages and add a new one to the list if you make a new page for the application. Example with 7 p...

What's the easiest way to let people add friends from Facebook, Gmail, etc?

Rather than just grabbing the user's friends' emails, I want to show their list of friends with profile pic, etc in my app. Is there a "widget" (JS and HTML) way of doing this, rather than going to the trouble of coding everything yourself using Facebook, Gmail, etc libraries for your server-side language? ...

create fixed length flat file with Java

I have a process that currently runs in a Delphi application that I wrote and I need to convert it to a Java process that will run on our web application. Basically our State Financial (legacy) system requires this file in a specific output. In Delphi it is like this: procedure CreateSHAREJournalFile(AppDate : string; ClassCode : stri...

Web Apps: Closeable Announcements/Info/Tooltip boxes

I want to understand how to implement an announcement/info box system that displays a box for the user with information. The user can do nothing or close the box, but then it will never be seen again. E.g. Facebook home page. Box asking for Translators. if you leave it then its always there. But if you close it, it never appears again....

Java webapp: adding a content-disposition header to force browsers "save as" behavior

Even though it's not part of HTTP 1.1/RFC2616 webapps that wish to force a resource to be downloaded (rather than displayed) in a browser can use the Content-Disposition header like this: Content-Disposition: attachment; filename=FILENAME Even tough it's only defined in RFC2183 and not part of HTTP 1.1 it works in most web browsers as...

What is the best way to profile a mobile Web Application?

I am looking to profile my web application on Android for starts...what is the best way to get the kind of information that a tool like Web Inspector would give me on the desktop? Since I cannot use Web Inspector or Speed Tracer on the mobile device...how can I get such data/info ? ...

Can you publish a .war directly from eclipse to a web server

Can you publish a .war directly from eclipse to a web server. I know it's not a programming question, but I still think it's a relevant question. Thanks ...

How to structure Javascript programs in complex web applications?

I have a problem, which is not easily described. I'm writing a web application that makes strong usage of jQuery and AJAX calls. Now I don't have a lot of experience in Javascript archicture, but I realize that my program has not a good structure. I think I have too many identifiers referring to the same (at least more or less) thing. L...

not using partial mocking? do they also mean in web-app?

Im learning Mockito and in chapter 16 they say you should not use partial mocking in new system. I disagree, for example in one of my actions i use partial mocking for static framework methods, sql calls, etc. I extracted the stuff into methods and then mock it in tests. Most of those methods are specific to this action and wont be call...

Definitive country list for e-commerce applications

I am looking for a list of countries for use in the development of an e-commerce app including: Country Name, Country Code, Language, etc. While only the country name (and probably the country code) are really necessary, some of the other info may be nice (as long as there isn't too much!). I used to have a good list but I can't find ...

Is Django the Best solution for me, if so please help me

What is the easiest (and fastest) way to migrate (+-) a simple data driven "app" to a Framework that does most of the work for me (like forms, add , remove). What I have is a simple Excel 2003 for Stock managemment. Quite simple, 3 tables: 1 for **Information **on the product. 1 with product code, type of movemment (IN ou OUT), quan...

Using charts in web application (negative value in bar chart)

I want to use bar chart in web application. I have searched many libraries including google code, and many but many do not support negative values for bar charts. ...

Building a very custom application upon google applications and enterprise - CAN it be done?

Hi guys - I think I haven't been able to define my question properly. I've been doing a bit of reading on google applications and the idea of integrating their applications such to form a complete product. Especially after reading case studies of small companies shifting to google and 'customising' google applications. Basically I have ...

What technology to choose for creating reusable component for Eclipse RCP and Java web application?

We have two applications which solve different business tasks. One is based on Eclipse RCP. Another is web application based on Java server technologies. Currently we need to develop one common component. It is for scheduling events. One group of users use Eclipse RCP application and will create and plan some events. Another group of us...

How do i access EJB implementing remote interface in separate web application?

Hello, I am using Netbeans 6.8 and Glassfish v3.0. I created an ejb module and created entity classes from database and then created stateless session bean with remote interface. Say eg. @Remote public interface customerRemote{ public void add(String name, String address); public Customer find(Integer id); } @Stateless pub...

what is the concept for clustering web apps ?

Hi, I am going to built a web apps that (hopefully) someday it could serve thousand or may be millions users. Now, I need to know concept of clustering web apps. I have no experience about this in the past. For example, I have 2 servers, one located in Australia and the other located in USA. Both will be a cluster so they share the s...

Get hyperlinks to all PDFs on a website

I need to download all PDFs (or any other files) available on a given website. I have a separate download module to which I provide a link to a pdf file and it downloads the file.I need a tool that can crawl through a given website and extract hyperlinks of all the pdf files available on the site so that I can send them to my download mo...

Home/Landing screen design for a website in asp.net

Hi, I have an web based application. The content for the Home page has been currently mentioned in the HTML code for the Home page using , and tags. To change the content anytime in future, it needs to be changed in the HTML code. :( Is there a way that we can pick up the content from some external place and get it reflected through ...

Dotfuscator with a Web App

I have a situation where the client would like to have some minimal security for their source code. It is a web app and the host will be someone they will be partnering with. The worry is that it would be easy for the host to reverse engineer the code and setup shop on the side. I told them while it was not a real solution, obfuscatin...

Struts2 + Sitemesh + Freemarker doesn't work

I've tried following every example i ccould find and i can't get struts2 + sitemesh + freemarker to work on a simple jsp. I have a very simple web.xml, a single action that just goes to index.jsp, and a simple .ftl decorator that just adds some text to the result. When i hit index.action, the page "seems" to be decorated, but I get the...