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
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
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
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
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
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();
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:
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
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
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
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
-
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
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.
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
--
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:
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
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
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
...
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,
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
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
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
22 matches
Mail list logo