${object} refer to a variable you defined in page or session level, .name means call the method getName() of that object.
It's called expression language, check out http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPIntro7.html
To be frank, it is horrible horrible "language". The only purpose is to make the JSP page look "neat" and easy for designer to understand. But under the hood, it is total mess. If you read the compiled JSP code, you will know what I mean.
Any processing, like regex, you'd
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.
I edited my .jsp in the source code, made the .war, deployed,
but I still see the old page in the browser, I looked into
the tomcat/weblogs/my_application/WEB-INF/jsp page, the page is indeed
changed.
but why isn't tomcat refreshing it? where does tomcat keep its "cache"?
I removed tomcat/work/Catalina , but after a few seconds, it regenerated
the same old content
thanks
dude. What you need is Wikipedia.
Yeah. JSP functions kind of like php. But nowadays nobody serious use jsp
as php. You should stick with php for your purpose.
同意这个。根据我的经验,struts, jsf, spring web 都有很大的缺陷。尤其是处理
form submission的时候。
我这几年总结出来一套好的方法是增加一个web service层。 然后在jsp里面用include
调用web service. web service的结果放到request attribute里面供jsp取值。 这个
做法适合于GET请求。 对POST请求,用AJAX调用web service. Web service 可以做
validation, 返回错误码如果输入有错。 没错的话就用ajax切换到其他页或者更新当
前页。
client直接和各种service的交互,server只返回数据。
什么是Service? Server 如何返回数据? 仍然需要PHP/JSP/ASP/C# 等服务器端支持的
语言与数据库/源 交互后返回结果(JSON, XML or even HTML fragment)。所谓的
Service无非就是服务器端的一个程序,可以是CGI也可以是PHP/JSP/ASP 程序。
JavaScript并不能直接读取服务器。所以楼主的断言有点早。
The company is located at santa clara, california. Perfer to local candidate
. We support H1B.
找有一,两年工作经验的,用JAVA, JSP做WEBSITE的.
If you are interested, send your resume to s********[email protected]. Thanks
and serious candidate only please.