• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to add spring mvc jsp tag lib prefix uri to simple html  RSS feed

 
alper kopuz
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I am using SpringMVC with thymeleaf library. Our all pages are in html format and we have to implement taglib tag to html. Do you think I can add

<%@taglib prefix="botDetect" uri="https://captcha.com/java/jsp"%>`
to html page.

Is there a way to add tag lib prefix and uri to simple html page ?

( <%@taglib prefix="botDetect" uri="https://captcha.com/java/jsp"%>)
to html page ?

Regards,
 
M Khalid
Ranch Hand
Posts: 57
2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSP is a Server-side Technology or Language. HTML is for presentation only. you can achieve few functionality like displaying content from variable and stuff using JSP syntax via JS but cannot add libraries or tags or Uri/prefix in HTML because it wont process those tags.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!