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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to call servlet from java app.

Status
Not open for further replies.

yytan

Programmer
May 8, 2002
113
MY
hi there;

i am wondering whether can call servlet from my java app. program?

let say in dos promp i type:

> c:\ java TReport

then it will conn to db and retrieve field from db
after that, i want to pass the data to servlet.
 
servlets are java class files. Hence, you can instantiate the servlet classes from your "regular" java class.Everything is object in java.

However, servlets are typically built for web apps.

~za~
You can't bring back a dead thread!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top