0
votes
3answers
64 views

What's the difference between Java Web Application and Java Enterprise Application? [on hold]

I have been doing some research about the difference between Java web application and enterprise application and what I have found is that they have little bit similar architecture. For example ...
0
votes
1answer
20 views

Authentication mechanism for session management in java web application

I am developing a web application using java-spring, where normal html files will post requests to a servlet using ajax. Here in this scenario what kind of authentication mechanism I can use for ...
0
votes
4answers
35 views

Including WAR file in another java web project

How to include a WAR file in another web project? If this is possible which Context do we need to use to hit services in WAR file and where do we need to place(location) the WAR file? I informed my ...
-1
votes
0answers
19 views

how to upload java web app to website

I have created a java web app in netbeans by following This tutorial. Everything works fine in local machine.But now I want to upload that .war in form of website.I have wordpress site(for testing) ...
0
votes
1answer
33 views

Is it webapp-root/META-INF or webapp-root/WEB-INF/classes/META-INF (Tomcat 7)

Unless I put META-INF in the root, context.xml along with the resources defined (queues, jdbc connection pool, etc) are not read correctly and Spring throws exceptions during start up. Now I end up ...
1
vote
2answers
32 views

NetBeans doesn't see style.css

I have a Servlet/JSP webapp. So now I am having troubles in pointing NetBeans to my style.css file. If stylesheet is being placed in WEB-INF or META-INF or outside them in Web Pages dir - everything ...
1
vote
5answers
68 views

Null result being displayed using jsp

I am new to the concepts of dynamic web project .I have made the following two JSP and a one java class as just starting experiment. The following rae my code user.java package com; public ...
-1
votes
0answers
42 views

web project ideas for hibernate [closed]

I am undertaking a hibernate course.It will be over within few days and I am planning a small, powerful web application. A project that will mark my completion of the hibernate course. Please ...
2
votes
4answers
55 views

Purpose of storing variables in web.xml?

A lot of the advice on the web on storing variables which may change depending on the env/other conditions is to put them in web.xml, but isn't the web.xml within the war file? even if you find the ...
1
vote
1answer
67 views

Deploy Java Web Application and MySQL database in the cloud

my issue is that I've been developing a Java Web app in Netbeans 7.2, which I've used Hibernate and JSF Facelets to communicate and show the data from a MySQL database deployed in my local server ...
2
votes
1answer
60 views

Adding conditions in web.xml

This is a part of my web.xml <error-page> <error-code>500</error-code> <location>/index</location> </error-page> Is there any way to tell to ...
2
votes
1answer
63 views

nature of input/output streams in a servlet

I'm able to extract contents from the request object through an input stream. So if it is a stream, does it mean the data is being transferred 'live' from the client to the servlet through ...
0
votes
2answers
57 views

How to differentiate users in web application

How to differentiate users, after they log in into their account, in the way that they cannot see and edit other users' data? Is it a good approach to remember somehow user id during logging procedure ...
-1
votes
8answers
148 views

Using global variables in servlet evil?

I have a global variable called loginAttempt in a servlet class. What will happen to this global variable if two requests hit on the same time?What will happen is an unforeseeable event. Is having ...
0
votes
1answer
74 views

Call an ejb entity class from an independent web application (netbeans)

I'm making a small webshop application for school in Netbeans. I have a Customer entity class in an EJB module together with a local session bean and a remote session bean. Next I have an ...

1 2 3 4 5 24
15 30 50 per page