[java ee programming] Netbeans version AppServer type?

2009-02-06 Thread Mick T.
The first homework instructions say to use Netbeans 6.1. Can I use NetBeans 6.5? Also, if I use Tomcat instead of Glassfish? Thanks Mick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Java EE (J2EE) Programming

[java ee programming] Re: Glassfish password?

2009-02-06 Thread nikita.koselev
Try adminadmin please. On Feb 6, 4:18 am, Carlos Duran cdu...@klodlink.com wrote: Hi, I installed Glassfish as part of the NetBeans IDE 6.5 complete download, as suggested in the lab exercise, as I am running my forst project, Glassfish is asking for the admin password, I did not setup any

[java ee programming] Re: Question about LAB-4002

2009-02-06 Thread Yalon
Hi Mark, Normally the user is the one who enters the address in his browser (either by keying in or by clicking some link). When working with NetBeans, one can define as one of the project properties, which URL do load for the Run action. For the hello2 project, this has already been defined for

[java ee programming] Re: Glassfish password?

2009-02-06 Thread Kristanto Oetomo
It would be adminadmin In case you're interested about the default password for java db, it's app cheers Kris On Fri, Feb 6, 2009 at 1:18 PM, Carlos Duran cdu...@klodlink.com wrote: Hi, I installed Glassfish as part of the NetBeans IDE 6.5 complete download, as suggested in the lab

[java ee programming] Re: Homework 3 JSP basics

2009-02-06 Thread Rajiv Jha
Hi Harmeet , Use 'action' in your form tag . form method=get action=whereYouWantToGOAfterSubmit Also you need to define servlets mappings in web.xml if you are submitting to servlets. Hope this helps :-) - Original Message - From: Harmeet To: Java EE (J2EE) Programming

[java ee programming] Clear Console Screen

2009-02-06 Thread Nelson Rodrigo - LHQ
Dear Friends I'm new to Java and I'm working with Console Application (DOS Mood) So my problem is when I execute the program I want to clear full screen (like CLS command) and display my result And also I want to know how I can keep separate line in out put (Like System.out.println();

[java ee programming] Re: Clear Console Screen

2009-02-06 Thread ashish shrestha
Hi Nelson! You said u are working with console so cls command can clear your screen. For printing in separate line you can use: System.out.println(\n); // \n will show your output in new line Regards Ashish Shrestha On Feb 6, 3:09 am, Nelson Rodrigo - LHQ nelson.rodr...@loadstarlk.com wrote:

[java ee programming] Re: Clear Console Screen

2009-02-06 Thread Bernd Ritter
Hi, you shouldn't do that as you would brake the platform independency of java. Better try to run a System.out.println(); for like 30 times in a loop. If you really want to execute a operating system command (syscall) do this: Runtime.getRuntime().exec(cls); This is just a hint! Look up

[java ee programming] Re: Clear Console Screen

2009-02-06 Thread Nelson Rodrigo - LHQ
Ok Ashi and Bernd Thaks you very Much Nelson Rodrigo Staff Officer - Software Development LOADSTAR (PRIVATE) LIMITED Sri Lanka | Tel: +94 11 483 7914 | Fax: +94 11 224 0892 | Mobile: +94 77 311 6556 P SAVE PAPER - Please consider our environment before printing * _ From: ashish

[java ee programming] Re: Clear Console Screen

2009-02-06 Thread Eugene Grant
Hi, Google your query with http://www.google.com/search?q=java+dos+command+cls to see some discussions and solutions about this. Regards On Fri, Feb 6, 2009 at 9:12 AM, Nelson Rodrigo - LHQ nelson.rodr...@loadstarlk.com wrote: Ok Ashi and Bernd Thaks you very Much Nelson Rodrigo

[java ee programming] Re: Clear Console Screen

2009-02-06 Thread Evans Anyokwu
The clue to the problem is in the error message - try putting your code inside a try/catch clause. e.g try { Runtime.getRuntime().exec(cls); ... } catch (IOException e) { e.printStackTrace(); } -- Evans http://www.javawug.org -

[java ee programming] Re: Servlet long processing cancelation when browser closes.

2009-02-06 Thread Artashes Hovasapyan
If client terminates the connection the server will close it after the timeout (should be specified in server configuration). Another thing is that IMHO it is not a good idea to manage threads manually inside of any component - you should leave it for container, it is container's job to control

[java ee programming] Re: Netbeans version AppServer type?

2009-02-06 Thread Tomasz Dziurko
I am using NB 6.5 instead of 6.1 and so far no problems appeared. I didn't try using Tomcat. Regards, Tomasz Dziurko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Java EE (J2EE) Programming with Passion! group.

[java ee programming] Re: Netbeans version AppServer type?

2009-02-06 Thread Sang Shin
Tomasz Dziurko wrote: I am using NB 6.5 instead of 6.1 and so far no problems appeared. I didn't try using Tomcat. Yes, please use NetBeans 6.5. In time, I am going to update the documents to reflect 6.5 screen captures and so on. Thanks. -Sang Regards, Tomasz Dziurko --

[java ee programming] Re: Clear Console Screen

2009-02-06 Thread Gaurav Verma
No Way dude Clear Console Screen from program is not possible in java . So don't try. From: java-ee-j2ee-programming-with-passion@googlegroups.com [mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On Behalf Of Evans Anyokwu Sent: Friday, February 06, 2009 4:07 PM To:

[java ee programming] Re: Servlet long processing cancelation when browser closes.

2009-02-06 Thread Mikhail Gerdov
I used threads only to simulate delay in servlet preocessing. Other than that it all happens in one thread inside the request.How do I specify the timeout server close on disconnected requests, can I get some notification in the code to break the loop in request? Would the timeout affect

[java ee programming] Re: Question about LAB-4002

2009-02-06 Thread Kristanto Oetomo
Hi Mark, You could probably do this: servlet servlet-nameMyOwnServlet/servlet-name servlet-classmyownpackage.MyOwnServlet/servlet-class /servlet servlet-mapping servlet-nameMyOwnServlet/servlet-name url-pattern*.do/url-pattern /servlet-mapping So

[java ee programming] Re: Lab 4008 - Tag Files Problem

2009-02-06 Thread Chris
OK. I used a fresh set of the Tomcat demo files and rebooted the server and now it works. I'd still be interested if anyone's got an idea about what was up though. I don't mind when the code is complicated and things don't work due to my lack of understanding - I can usually figure things out in

[java ee programming] LAB-4018 Web Application Security

2009-02-06 Thread SuperHeo
... 1. Only parentabstract abstract role can access the application - you will have to modify web.xml 2. An invalid user xyz tries to access the application, a your own error page (HTML or JSP page) called myownerror.jsp should be displayed indicating the error condition. 3. Users sang,

[java ee programming] current java distributed computing technologies

2009-02-06 Thread Ken
I tried to understand the current available java distributed computing technologies. I have the following list, I guess Web Services/SOA should be the latest technology. please advice. RMI CORBA Web Services/SOA thanks. --~--~-~--~~~---~--~~ You received this

[java ee programming] what is the difference between web server and web container

2009-02-06 Thread Anas
hello there what is the difference between web server and web container ? is the web container part of web server ? is servlet web container or web component ? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[java ee programming] Question

2009-02-06 Thread Chase Hainsworth
How much Java experience do you think you would need to manage and add to a MMORPG that runs on a server? If needed, what other experience would I need? Thanks. ~Life is but a grain of sand on an endless beach~ --~--~-~--~~~---~--~~ You received this message