web

can jax-ws web methods return objects that have static methods?

public class Pojo { private String value; public static void printValue() { System.out.println("value=" + value); } } I would want to return this from a web service as follows: @WebService public class MyService { @WebMethod public Pojo getPojo() { return new Pojo(); } } Can't seem to find the definiti...

Web development for iPhone

Hi - I am developing a website for the iPhone. Need to get some specks on optimum page sizes and control sizes and best practices for iPhone Web Developement. I know that it runs a full size browser but I want to optomise the site for the iPhone screen. Thanks ...

snapshot from browser with flash or javascript

Hi All, I saw a thread here suggesting using a HPA to take a browser screenshot, but I was wondering if you could help me. I would like to be able to select a part of a piece of a web page and render it as an image. I know flex can take images of its own canvas, but is it possible to take a picture of the rest of the page? I would like...

How does a web page remember you on next log in?

I am trying to implement the functionality that is done by most web applications on the web that have a login screen and a "Remember me" checkbox on the side that if checked will allow open entry to the user next time they visit the web page...As in, it does not ask the user for username and password anymore it just logs them in. I want...

Good Reference for Web Concepts

My business analyst approached me and asked if I could recommend a book that would help her get up to speed on some of the concepts, trends and buzzwords related to todays internet technologies. Basically, "I want to understand some of the words you [programmers] bring up during meetings." (We work on ASP.NET web sites for the financia...

Where does a theme end and an app begin?

We have created a portlet. We then went through some pain to move images from our portlet into a theme created for our portal vendor. I disagreed with this move, thinking that having application images within the theme overstepped the bounds of the theme. We are now having issues caused by having the images in the theme rather than th...

How to parse Web page with dynamic web content in java?

Hi i want to parse a HTML page which contains some values displayed.That values are updated at regular intervals.I have to get that value from a standalone java program.If i parse the HTML page with some HTML parser the source of that page is displayed instead of that value.i tried with NEkoHTML parser and JTidy parser but there are not...

Google Analytics: _trackPageview without page refresh?

Hi I'm reworking some site tracking for a site I'm working with. For the tracking we are currently using Google Analytics, which seems to be working fairly well. However, I'm having some troubles resembling the ones in this question, but it's old and no one answered, so I'm bumping a bit here. :) Basically, I'm tracking two kinds of th...

Using <span> to add a direction (dir = "rtl")

I'm new to html, and use hebrew a lot. I came across this problem, which makes me think I'm misunderstanding something. As for as I know, the element has no effect, but it does allow adding style. However, trying to do this: <span dir="rtl"> some text that should be rtl'ed </span> Doesn't seem to work for me (the dir has no effect)...

Classic ASP - It’s totally outdated but is it irrelevant?

Although I develop all of my company’s web-sites in .net, all of my personal sites are still in "Classic ASP". I'm always being pressured to move away from it... but it works! Why change? ...

What do you recommend for web development frameworks?

I am evaluating web frameworks. The criteria is lightweight, secure, easy to learn and deploy. There're plenty, but I come up with the following short list, web2py - the python version of "ruby on rails" wt. - desktop version of web application CGI/Perl - the old buddy Have you worked with any of the above web frameworks and what's y...

HTML parser...My recent project needs a web spider..

HTML parser...My recent project needs a web spider..it automatically get web content which it gets the links recursively.... But, it needs to know its content exactly. like tag. it runs in linux and windows..do you know some opensource about this needs.. thanx or about some suggestion. ...

Web page summary with Ruby

Can anyone recommend a Ruby library for creating a summary of a given URL? What I have in mind is the sort of one- or two-sentence summary as seen in search engine results. ...

Totally JavaScript Web Stack - Middleware, Webserver, DB suggestions?

Hi Everyone I'm currently looking for a new web stack to build a hobby project on and would like it to be powered by JavaScript. I've had a quick look at Nitro, NarwhalJS etc. but was wondering if anyone had any solid recommendations or experience of an entire end-to-end javascript/json architecture ( jquery, middleware, standard libra...

website analysis tools

As a web developer who also designs web-forms using JS,CSS, etc. I am generally stuck with finding tools that will tell me - total size of my js being used for the page. - total size of CSS being used for the page. - total traffic to-and-fro I have come across YSlow, but that is for firefox only.Nothing that works for IE. Funny thing i...

Preventing access to files if a user types the full url on the address bar

Hi. i have a website, some folders on the websites contains images and files like .pdf , .doc and .docx . the user can easly just type the address in the url to get the file or display the photo http://site/folder1/img/pic1.jpg then boom.. he can see the image or just download the file my question is: how to prevent this kind of acti...

JSP Performance using jsp:include

I am beginning to break apart a large JSP file into a some smaller JSP pages so I can reuse this across other areas of the site. I can take the approach of leaving as a large Monolithic JSP file that takes params and adjusts it's behavior accordingly. The other approach I can take is breaking it apart so that it's called via jsp:i...

What would be a good way of creating graph on a website?

I got a bunch of data in a database. The goal is to present them to a user in a readable way, and since they're stock-data, there needs to be a graph there. Now it brings one question: which approach would be better, to create a graph on a server side dynamically or let the server just push raw data, allowing the client to generate grap...

I want to show off my C++ projects through a website.

The problem is that, well, it's C++. The way I've created them makes it such that they've always been run via a terminal/console window and wait for user input or else simply take a sample input and run with that. The output has also always been to the terminal screen or sometimes to a file. I'm not quite sure how I could take all of ...

Plugin Style architecture vs Mavenised Component Style

Which is a better approach to build Java Spring Web Application 1) Plugin Style architecture Ex : Blojsom 2) Component based architecture something like developing features as maven dependents Also can anyone suggest a good plugin style application for reference ...