由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - 其实JSP也不错
相关主题
Problem on ANT,JAVA,JSP,JSPPrecompilerTomcat JSP syntax error
jsp文件不能compile是咋回事?这个是JSP的什么技术
Java 求解2new in JSP 2.0 spec
有人玩macro language 么? (转载)谁给科普一下什么是javascript?
请教现在java的工作是否多会基于web用到jsp?node.js还是tomcat
help neededusing SQL in Java
[转载] javascript怎么访问JSP里的arraylist?Ant problem
Re: Problem on ANT,JAVA,JSP,JSPPrecompil入门Java CLASSPATH问题:
相关话题的讨论汇总
话题: jsp话题: java话题: use话题: places话题: lines
进入Java版参与讨论
1 (共1页)
k***r
发帖数: 4260
1
虽然网上一片B4声,JSP还是有很显著的优点哦,
是compiled的language,compiler可以多抓住一些bug;
同时是scripting language,很容易改。
虽说JSP很适合于one-off的项目,不太容易reuse,但是你
说来大部分web project,或者web project的大部分差
不多都是one-off的。
后来出来的试图代替JSP的Java framework,写code还是要
多不少才能做同样的事情。
b******y
发帖数: 9224
2
For me, I like Apache Velocity template engine. I use it in a lot of places
and nice and simple.
JSP is good but just use caution. I've seen long JSP pages like 1000 lines
of java code and html, nasty.
k***r
发帖数: 4260
3
I haven't got a chance to try velocity yet. When I do,
I'll give it a try.
Yeah, it's always a good idea to put Java code in a servlet.
But good tools like eclipse really make embedding Java code
in JSP much less painful and prohibitive :-)

places
lines

【在 b******y 的大作中提到】
: For me, I like Apache Velocity template engine. I use it in a lot of places
: and nice and simple.
: JSP is good but just use caution. I've seen long JSP pages like 1000 lines
: of java code and html, nasty.

a*******n
发帖数: 237
4
试过好多的template engine, 觉得还是jsp简单实用
i**e
发帖数: 6810
5
java + jsp deploy起来还是很麻烦啊

【在 a*******n 的大作中提到】
: 试过好多的template engine, 觉得还是jsp简单实用
s*******e
发帖数: 3042
6

places
lines
Use taglib or leave those methods in helper classes, i also like jsp,
quick and dirty

【在 b******y 的大作中提到】
: For me, I like Apache Velocity template engine. I use it in a lot of places
: and nice and simple.
: JSP is good but just use caution. I've seen long JSP pages like 1000 lines
: of java code and html, nasty.

1 (共1页)
进入Java版参与讨论
相关主题
入门Java CLASSPATH问题:请教现在java的工作是否多会基于web用到jsp?
java & XML 2 example problemhelp needed
help: where to download JAVA/swing? (转载)[转载] javascript怎么访问JSP里的arraylist?
what is $1.class file in Java?Re: Problem on ANT,JAVA,JSP,JSPPrecompil
Problem on ANT,JAVA,JSP,JSPPrecompilerTomcat JSP syntax error
jsp文件不能compile是咋回事?这个是JSP的什么技术
Java 求解2new in JSP 2.0 spec
有人玩macro language 么? (转载)谁给科普一下什么是javascript?
相关话题的讨论汇总
话题: jsp话题: java话题: use话题: places话题: lines