Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!

Harry Pattern

Greenhorn
+ Follow
since Nov 27, 2002
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Harry Pattern

The idea of persisting while the server is running is a great idea. But can you guys give me a code snippet on how to do this .
Thanks
18 years ago
JSP
Im using tomcat 4.1 webserver and programs written in jsp. Is there a way where I can create an object on the server side . And the object should be running as long as the tomcat 4.1 webserver is running.
Thanks
harry
18 years ago
JSP

Originally posted by Harry Pattern:
hi,
Kindly advice some technique or procedure on this matter. Im currently working on a web program using jsp . The web application requires user's login and information being taken are the usual username and password. I need to ensure that the user can only only login once in any terminal. For example I login on terminal A as SUPERMAN and login again on terminal B as SUPERMAN . The program should be able to detect if superman has already logon if it is then superman will not permited to login again.
Kindly advice me on this matter. Your help will be highly apreciated.
thanks
Harry

18 years ago
JSP
hi,
Kindly advice some technique or procedure on this matter. Im currently working on a web program using jsp . The web application requires user's login and information being taken are the usual username and password. I need to ensure that the user can only only login once in any terminal. For example I login on terminal A as SUPERMAN and login again on terminal B as SUPERMAN . The program should be able to detect if superman has already logon if it is then superman will not permited to login again.
Kindly advice me on this matter. Your help will be highly apreciated.
thanks
Harry
18 years ago
JSP
hi,
Can I change the port number for my tomcat4 cause I do have an IIS running and have existing application in IIS .
Can I run IIS application and tomcat4 application programs together ? How ?
18 years ago
hi,
I just recently created a program that will read an xml document and parse contents then display on the web page . the program segment contains something like this.
SAXParserFactory factory=SAXParserFactory.newInstance();
SAXParser parser=factory.newSAXParser();
parser.parse("webconfig.xml",this);
I successfully load the contents if I specify the complete path of the xml document. What I need is to specify that the xml document is on the same directory as my class, or I need to specify the current directory. Im running tomcat4 on a linux server. The path should be in linux.
Kindly help me on this.
Thanks
18 years ago
JSP
hi,
Kindly help me on this. I need to use Ms Access as the back end for my application with tomcat4 as the webserver. What are the entries that I need to provide in the administration section of tomcat4 . Like what are the entries for datasoource name and other stuff.
thanks
Harry
18 years ago
Hi ,
how do you deploy servlet in tomcat4 ?
I already modified the web.xml
Thanks
18 years ago
Hi,
How can I exactly do a hidden iFrame ? Can you enlighten me on this ...
18 years ago
JSP
HI,
Can you help me on this. I do have a button in html/jsp . How can I use <jsp:forward> and forward it to a servlet whenever I click a button .
Thanks
18 years ago
JSP
Hi,
This is a brilliant solution. But is there a way in which I don't have to submit the form . Cause I need to keep track of all the data in the form .The output is almost similar below.
ITEMNAME PRICE
item1 100
item2 200
item3 300
I Need to select the item name which is in the combobox. And this should be for multiple items . If I select an item name then query the database then get the corresponding price.
How can we do this ?
18 years ago
JSP
hi,
kindly help me on this..
I do have a combobox with 5 items. and 4 textbox. If the user select an item in the combobox the textboxes should be update based on the values stored in the database. Jsp should be the one that will query the database and bring the values to the textboxes. I wonder what would be the approach that you can suggest on this.
If you do have this kind of experience how did you resolved it ?
Thanks
18 years ago
JSP
HI,
I need your advise on this. Im running a tomcat as a webserver, database is postgres . I used jdbc to connect my java program to the database. The connection was successful but upon displaying the contents on the browser the rs.getString(2) that extracts the 2nd column produced an error. I've check the table and found out that the column contains � character in which it should have that character cause it will contain the lastname. I think java does'nt recognize such char. Is there a class or method to pacify the situation.
Thanks
Hi guys,
Can you help me find out how am I supposed to to <jsp:forward> and direct the output to a frame . Is there an attribute called "target" so I can direct it to the name of the frame.
Are there any setbacks in sending data using session ?
thanks
Hcm
18 years ago
JSP
Thanks for the information. But I still getting the error below whenever I try to run the j2ee server .
----
J2EE server listen port: 1050
Naming service started:1050
Exception in thread "main" java.lang.NoSuchMethodError
at com.sun.corba.ee.internal.corba.AnyImpl.createTypeCodeForClass(AnyImp
l.java:1256)
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.createTypeCode(Sh
utdownUtilDelegate.java:223)
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.writeAny(Shutdown
UtilDelegate.java:178)
at javax.rmi.CORBA.Util.writeAny(Util.java:80)
at org.omg.stub.com.sun.enterprise.naming._SerialContextProvider_Stub.re
bind(Unknown Source)
at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:188
)
at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:202
)
at javax.naming.InitialContext.rebind(InitialContext.java:370)
at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManag
erImpl.java:192)
at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManag
erImpl.java:149)
at com.sun.enterprise.server.J2EEServer.bindObject(J2EEServer.java:718)
at com.sun.enterprise.server.J2EEServer.createServerObject(J2EEServer.ja
va:473)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:244)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
----
Don't have an idea how to facify the errors. Kindly help me on this matter .
Thanks so much !