Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to load .jsp files in java programs  RSS feed

 
Hongyun Sun
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Recently,i face a tricky question:
in my program,i want to load my jsp files without tomcat,say,while i run my program ,i'm able to freely show my jsp files content written by HTML and javabean .
Exactly speaking,is there any classes or packages in JDK or other manuls i can use to fulfill this function mentioned above?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. JSP pages have no meaning outside of a servlet container, so what you ask is fundamentally impossible (assuming that by "Tomcat", you mean any servlet container).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!