> If I have to prioritize my education (which -for better or worse - drives
> the corporate strategy), should I focus on learning Velocity or learn how
> to
> use JSP?

I use both JSP and Velocity but I am quite particular to Velocity.  The nice thing 
about Velocity is you don't need to "focus" on learning it.  It has a learning curve 
of about 2 to 3 hours and is so elegant and simple it's almost scary.


> I reference to a white paper would be the best answer to this question.

The Velocity site is the best the place to start, here is link to comparison of 
Velocity vs. JSP.

http://jakarta.apache.org/velocity/casestudy1.html

*===================================*
* Scott T Weaver������������������� *
* Jakarta Jetspeed Portal Project�� *
* [EMAIL PROTECTED] *
*===================================*
� 


> -----Original Message-----
> From: Ron Wheeler [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 07, 2003 9:44 AM
> To: Jetspeed Users List
> Subject: RE: Velocity vs JSP
> 
> Thanks for the strategy and the code fragment.
> 
> Without getting into theology, what is the current thinking about JSP
> versus
> Velocity?
> As a latecomer to the server side development wars, we have done one
> fairly
> large and complex application in JSP and XML.
> The Jetspeed framework looks like it might be easier and more productive
> than continuing to develop our own portal architecture.
> I was not the coder on the JSP/XML portal but I am getting more
> technically
> involved in the investigation of Jetspeed and Velocity.
> 
> Bottom Line question
> 
> If I have to prioritize my education (which -for better or worse - drives
> the corporate strategy), should I focus on learning Velocity or learn how
> to
> use JSP?
> I do not care about "working on my resum�" since I am way too old to make
> a
> living as a programmer. I am only trying to try to keep the company at the
> most productive point of the technology spectrum.
> 
> I reference to a white paper would be the best anwer to this question.
> 
> Ron
> 
> -----Original Message-----
> From: D.S. Johnson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 07, 2003 8:13 AM
> To: Jetspeed Users List
> Subject: Re: master detail records displayed in a portlet
> 
> 
> 
> I don't use Velocity very much so I don't know if this will work for
> you. But, I have used java server pages and servlets to switch between
> pages in the same portlet. Usually, I create a menu and then based on
> the users choice I switch to that page in the portlet.  Using links I
> can then switch between different pages in the same portlet, I believe
> this is what you want to do.
> 
> What I do is create the initial jsp page which will have the logic for
> jumping to other pages. So the switch file would look something like this;
> I don't know if this is the best way but, it is a way to solve your
> problem, it has worked  me.
> 
> 
> ## switch.jsp##
> 
> <[EMAIL PROTECTED] language="java" import="java.sql.*"%>
> <%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld'
> prefix='jetspeed' %>
> 
> <%
> //  Create and get the switch val, this will be a val to decide on what
> page to load.
> 
> String var_switchval =request.getParameter("switchval");
> 
> // If  switchval is null ( on first pass ) then load the main menu page
> 
> if ( var_switchval == null || var_switchval.compareTo("val_main_menu")
> == 0  ) {
> 
> %>
> 
> <%
> 
> // Include the file with the menu code, this file will have HTML code
> and a parameter called switchval.
> // So in this included file you will need to create a parameter
> (switchval), setting this val will cause the other pages to be included
> // into switch.jsp
> 
> // Example: <a href="?switchval=val_casestudies">
> // When this link is executed then the case studies page would be
> included and loaded.
> // You would want to add code for each page you want to switch to
> 
> @ include file="/WEB-INF/templates/jsp/portlets/html/artifact_menu.jsp"
> 
> %>
> 
> <%
>  }
> %>
> 
> <%
>   if ( var_switchval != null )
>   if ( var_switchval.compareTo("val_casestudies") == 0  ) {
> 
> %>
> <%@ include file="/WEB-INF/templates/jsp/portlets/html/casestudies.jsp" %>
> 
> <%
>  }
> %>
> 
> <%
>   if ( var_switchval != null )
>   if ( var_switchval.compareTo("val_whitepapers") == 0  ) {
> 
> %>
> <%@ include file="/WEB-INF/templates/jsp/portlets/html/whitepapers.jsp" %>
> 
> <%
>  }
> %>
> 
> 
> <%
>   if ( var_switchval != null )
>   if ( var_switchval.compareTo("val_trainingcourses") == 0  ) {
> 
> %>
> <%@ include file="/WEB-INF/templates/jsp/portlets/html/training.jsp" %>
> 
> <%
>  }
> %>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to