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

JSP  RSS feed

 
surekha Nidadavolu
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai all,
Is it possible to convert a JSP page to HTML?If it is possible may i know how to do that?Do give me a solution for this?:-)
 
gaurav chhabra
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
open the page save it as page.html at the place of page.jsp
try it out

best of luck

gaurav
 
surekha Nidadavolu
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai,

If it is a simple JSP fine we can do that but if we use tag-libs and all i.e a complex JSP then that way won't work out.Is there any other way to comvert complex JSP pages to HTML pages??

Regards,
Surekha
 
gaurav chhabra
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello buddy
as you are saying that your file contains the tag-libs that means that you have knowledge of JSTL .... i am new to JSTL and unable to run it could you please help me that how to run an application of JSTL

thank you
gaurav
 
surekha Nidadavolu
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai,

When using the tag-lib u have to first give the directive statement for that particular tag-lib....May i know wats the error it gives while opening that JSP??
 
gaurav chhabra
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for reply

i hae a class file name t2.class and i have put that in the \webapps\root

and when i am using it through jsp file then it is saying that CANNOT RESOLVE SYMBOL t2....

please tell me that exactly what to do...

thank you

gaurav
 
Sarath Mohan
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it is a simple JSP fine we can do that but if we use tag-libs and all i.e a complex JSP then that way won't work out.


What do you mean? JSP will be converted to html and sent to browser. Whatever the JSP contains should be compiled and executed will be availble as html file.So why is not working?

Regards
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!