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!

Can I use jsp tag libs within java program code?

Status
Not open for further replies.

no137

Programmer
Feb 5, 2002
7
US
Can I use jsp tag libs within a regular java program code? If so, how?
 
can you be more precise, what do you want to do ? Water is not bad as long as it stays out human body ;-)
 
I don't believe so. The tags for jsp are resolved by the web server into servlet code. If your running an application than it won't be processing your program as a servlet through the webserver, thus no resolution of tags. It may be possible to create a jsp page and then use an HTML enabled object to reference the page, so that the JSP code is resolved by the webserver, but the rest of the application is standard java. I don't think you will be able to reference objects in the page from tghe application and vice versa though.

-Tarwn --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top