Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

JSP  RSS feed

 
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?:-)
 
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
 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!