• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to write an HTML file in a portlet with JSF

 
Alejandro Barrero
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can do it with a plain JSP and <jsp:useBean; but I need to put a back button and I cannot do that in a portlet (mangling). In NetBeans, I have to use a visual JSF with woodstock tags, but ><jsp:useBean is not working. I need to know what kind of tag I can use.

Your help will be greatly appreciated,

Alejandro Barrero>
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A portlet is very similar to a regular servlet/JSP application. So, your normal JSP/Servlet skills will work. There is no problem with the usebean tag in a JSP.

If you need to firm up your fundamentals, check out my siganture links for some easy to follow Portlet tutorials.

-Cameron McKenzie
 
Alejandro Barrero
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Cameron for your prompt reply. The problem is that I am using a NetBeans "Visual Web JSF Portlet Page". It doe3sn{t appear to be a JSP and the code doesn´t work:

I cannot use a plain JSP because I need a back button and I don{t know how to do that in a portlet; the usual locations like caller.jsp don{t work because of name mangling.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic