Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Initializing object with parameters

Status
Not open for further replies.

Smarty

Programmer
Apr 12, 2001
191
BE
Hi,

I have a class named company. How can I call the instructor

public company(String CompID)
{
....
}

from within my JSP page? All examples I find are with a constructor with no parameters.

Thank you already,

Smarty
 
For entry level programmers I seriously recommend using a book designed for beginners. They will cover all those basic topics for you in a short period of time. Using a message based conversation to learn programming basics will take forever.

-pete
 
And to followup up petes comment, jsp's and server side programming in general ar ADVANCED topics. If you are this green, stick to basic console apps until your skills and understanding of Java and OO have improved.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top