由买买提看人间百态

topics

全部话题 - 话题: jsp
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
t********y
发帖数: 47
1
来自主题: Java版 - jsp和j2ee什么关系?
你是指jsp现在已经直接被编译成为servlet,然后部署到服务器上,从而,jsp只是
servlet的一种了?
看了这么多wiki,不能解决的问题是,各位开发人员的观点是什么,开发中的体会,都
用这些工具作了哪些,有 什么比较。
我感觉,对一个入门的人来说,最需要的就是一个有经验的高手的带领,而不是看那些
看似有用实则无用的类似微软帮助信息的网页。另外,我想在google app engine上练
习一下,所以不支持php阿。

jsp
g*****g
发帖数: 34805
2
来自主题: Java版 - jsp和j2ee什么关系?
It all started with Struts, the first popular java web framework
that uses jsp for presentation only. From there people move away
from jsp even more, particularly after gwt showing a way to code web
like swing.
Back to the original question, j2ee is a stack of technologies
that passed Java Community Process. Various vendors will support it
as it's a standard. JSP, like servlet, is one of them. In broader
sense though, j2ee is the java stack for server side programming,
many open source framework... 阅读全帖
c*********e
发帖数: 16335
3
发现有的自我refresh的jsp网页,用scriplet比用el更方便自如,可以根据if 语句来
用scriptlet加一个input field,drop down list什么的。有没有更好的办法来自我
refresh的?
ajax可以把网页提交给一个servlet,web services url或者一个jsp文件,带参数,这
样能有效地利用多个不同的jsp文件处理数据,servlet的重要性大大降低。
s****s
发帖数: 628
4
为什么html page 做view page 就不行? 报错:
no mapping found for http request with uri in Dispatherservlet...
jsp page 就没问题.
现在用的是internalresourceviewresolver.
我的mapping没有问题.





阅读全帖
T*******x
发帖数: 8565
5
我有一个网页,主要是从数据库读出数据然后用html table显示。
行数不定,所以是动态的。每一个
可能还有一些操作。
这些功能既可以用jsp jstl实现,也可以在jsp中只有一个空的table,
然后由javascript动态装入。
我关心的是可读性。请问哪一种比较好一点?jsp vs javascript?
h*******l
发帖数: 153
6
来自主题: Postdoc版 - JSPS日本的postdoc怎么样?
现在的老板和日本东京大学的老板关系较好,让我申请jsps.但是我有点想申请美国的或
英国的.请问有人了解JSPS奖学金吗? 它和去美国university top30的,或英国帝国理工
相比,
好还是不好?
谢谢
s*******n
发帖数: 14
7
来自主题: Postdoc版 - JSPS日本的postdoc怎么样?
我看你还是不要来吧
能够去美国就去美国
日本JSPS Fellowship腐败的很,拖的时间有很长.
主要不是看你,而是看你未来的老板有多想要你和有多少影响.
而且外国人最长两年. 不懂日语在日本超级郁闷,而且在日本,
对中国人的歧视还是比较明显的.
JSPS就是一点薪水.其实也不是很多.万一没有拿到,还给你一不好的ranking.
你会郁闷到死.
如果没有其他机会,可以试试.
d********6
发帖数: 73
8
来自主题: Postdoc版 - 没听说过JSPS很奇怪么
一个在日本的朋友跟我吹她拿了日本的JSPS,说的好像faculty职位一样,形容半天我
明白过来好像是博后,我说没听说过,她说是世界最著名的博后之一,钱超级多,我没
听过好像我是外星人一样。。。。。
这个JSPS真的这么牛?
PS,这人农学方向,本科二本,博士一个日本的普通国立,发了好像4,5篇IF 1-3的
paper,就能拿世界著名博后了?
k******s
发帖数: 537
9
jsps的比例似乎不是那么高的
这有前几年的数据
http://www.jsps.go.jp/j-pd/pd_saiyo.htm
p********y
发帖数: 84
10

看和你一起申请的老板牛不牛,
看你的文章多少,领域是否热门,
如果是女生,非有机合成等专业,几率减2/3.
找下家看你自己的情况,如果jsps成功了,你那个下家也成了,
若拒绝jsps,可能会承担后果。
s*****2
发帖数: 117
11
来自主题: Japan版 - YRP vs JSPS
前几天和老板讨论了一下博士毕业后的问题。
其中提到了JSPS和YRP,
JSPS的待遇我比较清楚。
有人对YRP熟悉吗?也是短期的研究员?
y****i
发帖数: 9
12
来自主题: Japan版 - 关于JSPS博后申请的问题!
我是做MEMS的,东北大的江刺正喜,和东京大的下山勲,大家觉得相对来说谁更有把握
能拿到JSPS?哪位对以后就业或寻找教职更有推荐力?
现在经济不好,是不是教授都没有什么自己的funding招人,而想通过JSPS试试?
s*********7
发帖数: 9
13
来自主题: Japan版 - 有没有JSPS博士后在这?
我做经济史。36。4一个月的收入
想向前辈问几个问题:
1。 是不是所有的税费都不用交。在国民保险申请表上填收入为零?
2。 奖金包括学日语学校的费用(15万),什么样的语言学校jsps认可。校内的日语课
能报销吗?
3。 jsps对呆在日本的时间管的严吗?我可能明年要提前一两周结束离开,真的象
program上说的会扣钱吗?
非常感谢!
t**t
发帖数: 27760
14
来自主题: Japan版 - 有没有JSPS博士后在这?
其实JSPS是看老板的。
老板牛,JSPS就能上。
说白了,就是看关系。
t**t
发帖数: 27760
15
来自主题: Japan版 - JSPS日本的postdoc怎么样?
所谓JSPS博士后跟德国洪堡一样是一个资助经费的title。
水平是看你的host老板,跟JSPS没关系。
t**t
发帖数: 27760
16
来自主题: Japan版 - JSPS日本的postdoc怎么样?
JSPS每个月36万多日元,我那时候是39万多日元。
一年大约合4万多美元。因为JSPS算资助,不算收入,所以完全免税,因为收入算0,所
以保险也很非常低。实际上算应该有5万多美元的水平。
t**t
发帖数: 27760
17
来自主题: Japan版 - JSPS日本的postdoc怎么样?
JSPS是要申请的,几率大约是10-15%。
如果你现在的老板和日本东京大学的老板真的关系较好,你应该是要求东大的老板答应
没有申请到JSPS,也可以从自己的经费里出钱雇你。
M***a
发帖数: 175
18
来自主题: Japan版 - JSPS日本的postdoc怎么样?
jsps之后一般都去哪里?我现在比较关心这个。
感觉日本很难找到比jsps好的薄厚职务了
f********n
发帖数: 6465
19
来自主题: Japan版 - JSPS博后
JSPS博后,是自己给教授发信问他是否可以申请JSPS博后?一般哪些学校可以申请
呢?
JSPS博后的2年算是在日本工作吗?是否可以算入归化的时间计算呢?
好像在日本留学后工作的,只要工作3年就可以归化了,这个JSPS博后的2年是否可以
算进去呢?谢谢。
u*********n
发帖数: 864
20
不可能都拿,国费是给外国人的,JSPS是给所有在日本读书的博士学生申请,JSPS有研究经
费,每年60万到100万不等。两者性质完全不一样。
w***f
发帖数: 46
21
来自主题: BuildingWeb版 - Who's online --JSP ?
Does anyone know how to implement a jsp program which can identify who's
online at the moment? I search for long time and can't find any jsp source
code.I want to know their number, ip address . Help appreciated!
Wu
t******y
发帖数: 884
22
来自主题: BuildingWeb版 - need help on jsp issue under Tomcat 5.5.17
Hi there,
I recently downloaded and installed Tomcat 5.5.17 on my Windows XP machine,
and did some basical tests. It turns out that the it has problems executing
jsp files with the vrey basic functions. For example, I have a very simple
jsp file as follows:
w***f
发帖数: 903
23
来自主题: BuildingWeb版 - 请教jsp问题
现在我用jsp实现一个web interface
用户提交请求后,要做两件事,
第一,返回一个id号,
第二,调用一个程序。这个程序会跑很久
这两步是独立的,互不影响。
现在的情况是,jsp一直在跑那个程序,返回id号的页面打不开,因为要等那个程序,
请问怎么办?
t********y
发帖数: 47
24
来自主题: BuildingWeb版 - jsp和j2ee什么关系? (转载)
【 以下文字转载自 Java 讨论区 】
发信人: technology (技术), 信区: Java
标 题: jsp和j2ee什么关系?
发信站: BBS 未名空间站 (Tue Nov 15 22:47:26 2011, 美东)
做动态网站用什么?Servlet应该是直接用服务器的程序返回超文本吧?
对php有一定了解,jsp和php象吗?
另外,j2ee, ssh, gwt, vaadin都什么关系,和特点?编一个大概几个页面,包括上传
文件功能,用户管理的网站,用什么比较适合?谢谢
m*****g
发帖数: 8
25
来自主题: Database版 - HELP!!!Connect to MySQL in JSP
I got java.lang.ClassNotFoundException when i link to MySQL in JSP file, and i
also sure that is database can't connected. The class called in JSP is working
well when it called by a Java file under the same system, and that class is
dedicating to link database. So i think problem is on Tomcat3's configuration,
any guru can help?
m*****g
发帖数: 8
26
来自主题: Database版 - HELP!!!Connect to MySQL in JSP
I definitely set the driver up in classpath, and the code i post is a sub
class that in charge of linking to database. Again, when i use a .java file to
call this class then it link to mysql well, but not when i use .jsp to call
it. So i think if its classpath wrror, it shouldn't work on .java file right?
Moreover, when i copy the driver to my_jsp_home_directory/WEB-INF/lib/ , the
.jsp file will work.
Any idea?Thx
h***a
发帖数: 358
27
来自主题: Database版 - JSP access database的问题
JSP 是Java 的东西。 你如果想机子上能跑起来, 第一要装j2sdk,
第二还要装支持JSP的engine. Tomcat就是其中一个, JBOSS,
JRUN也都行。不过现在TOMCAT满流行的,而且还免费, 所以很不错的一个样选择。
g****y
发帖数: 323
28
来自主题: Java版 - 水母关于jsp的讨论
看看国内的同学是怎么认识的。
大家会文的时候不要引言,否则太长了:
发信人: ghopper (初来诈到), 信区: Java
标 题: JSP是什么东西?
发信站: BBS 水木清华站 (Thu Dec 2 10:08:36 1999) WWW-POST
JSP主要是用做干什么的呢?
w***f
发帖数: 46
29
来自主题: Java版 - Who's online--JSP?
Does anyone know how to implement a jsp program which can identify who's
online at the moment? I search for long time and can't find any jsp source
code.I want to know their number, ip address . Help appreciated!
Wu
m**c
发帖数: 90
30

The communication between JSP and JS is one-way. You can only access JSP
information in JS, but not the other way:

There are two ways to solve your problem:
1. Use "processSel()" function to submit a form so that page can be
regenerated. If you don't want use to see the form is submitted, you can use
B**z
发帖数: 38
31
有的review说,jsp更好,有的说asp更好。
还有,有没有在cluster上run jsp的?
大家指导一下,谢了。
F*****l
发帖数: 7
32
来自主题: Java版 - JSP is rubbish!
Maybe you can convert it to servlet. If you have a jsp engine, it should not
be difficult to convert a html to a servlet. So you can try a servlet
instead a jsp, but they are euqal.
But I don't know if there is also such a limitation for java file.
s******d
发帖数: 6
33
在jsp生成向导中,只有 submit form 一种格式,请问还有其它的格式吗?
如何修改?能否有工具像frontpage 那样修改页面,而不须动手改文件?
n*****k
发帖数: 123
34

Sorry, you have to hard code I guess, but you may see the output from Jbuilder
if just html.
If your web pages are based on static html or javascript without any server
side programming, do not bother to use JSP.
s******d
发帖数: 6
35
能不能先在frontpage 中编写静态的html,载复制到jsp中,在进行动态设计?
这样会不会简单一些?
n*****k
发帖数: 123
36

designer
code
change
just
necessary.
To tell you the truth, I do not know if there is a very good JSP IDE
available.
Most of time you will have to hard code.
r***l
发帖数: 67
37
Spending money on good books is never a waste. The penalty will be huge if you
studied a bad tutorial on the internet. Of course, some online documentation
is very good. However, for beginner, you'd better go to buy a book with better
reputation.
Normally, I prefer Oreiley book for java. However, for java web programming, I
prefer the manning series:
http://www.rational.com/products/rose/gstart/gstart.jsp
I have their struts, jstl, jsp and jsf books and they all pretty good.

about
w***y
发帖数: 6251
38
来自主题: Java版 - 请问JSP里这个怎么设
【 以下文字转载自 Programming 讨论区 】
【 原文由 woomy 所发表 】
我现在用jsp做网页, 用tomcat 做jsp server
我知道硬盘上一个txt文件的绝对路径, 譬如path=/home/woomy/text.txt
我想做个link可以指向这个文件,用户click这个link可以打开这个文件,
可是我试了一下link 不行
我把鼠标放在link上的时候状态栏显示的是
http://hostname:port/home/woomy/test.txt
我知道tomcat是到他的webapps/root下面找文件, 请问这个href该怎么设呢?
多谢多谢!
?
T*****e
发帖数: 361
39
我主要是想用JSP做Web开发,现在正在看Java的教程,正准备配置编程环境。
能够想到的包括:
1 J2EE/J2SE 1.4.01,这两个选哪一个好呢?JSP需要有Application Server么?
是不是J2SE+别的东东也可以呀?呵呵,没人理我的话,就装J2EE,多就多点吧。
2 Eclipse 3.0,还需要什么plug-in么?
3 Apache 2.0.50,TOMCAT是直接在里面了吧?如果不在,就另外安装吧,
应该能够搞定。准备装在自己的机器上(WinXP Home),这样可以直接调试了。
不过Network Domain和Server Name两项不知道该怎样设置?
4 DBMS,准备用MySQL。
这样配置主要是为了能够在自己的计算机上做开发和调试。
开发差不多之后,会考虑往别的server上移植,可能会试Linux和WinXP吧。
各位大侠的开发环境是怎样配置的呢?对于我的初步想法,欢迎任何建议和评论。
虽然自己折腾,可能最后也能够鼓捣出来,不过大侠们的任何提示,都可能使我
少走不少弯路。多谢了先。
m**c
发帖数: 90
40

Using callback function.
1. In your JSP/HTML page, make sure add "MAYSCRIPT":
CODE="..."
CODEBASE="./"
ARCHIVE="..."
WIDTH="..."
HEIGHT="..."
MAYSCRIPT>
...

2. Add a public method in your applet to allow JSP/HTML to register a call
backback function name:
public void setCallbackFunctionName (String name) {
...
}
3. Use JSObject to call callback function from Applet:
JSObject win
w***y
发帖数: 6251
41
got it work! thx a lot:)
我还有个问题: javascript能传给jsp一个string 参数么?
或者说, 我这个页面上有一个, 这个webpage里的jsp能读它的值么?
m**c
发帖数: 90
42

No. The JSP page is parsed and compiled on the server side, and JavaScript is
on the client side. What you want to do is to submit the form to itself so
that JSP can get the input value via "request.getParameter("")".
y*****n
发帖数: 48
43
When we finish the code development and testing on the development server, we
need to publish
these new changes from development server (testing) to production server
(www).
Apache ANT is used to do this publishing. When ANT is executed, ANT will
compile the JAVA codes to JAVA class files, then compile the JSP codes to JSP
class files, then transfer the these class files to www. The codes on the
testing server are intact and should work fine, then once we run ANT, the code
should be compiled and
p***p
发帖数: 559
44
来自主题: Java版 - Jsp-Mysql for multitype resources
I want to develop a Web-Application, some rescource such as mp3, PDF, DOC
would be save in Mysql DB and client browser can access them though a JSP page
.
I know how to load and show pics, as
JSP
in Servlet:
Blob picblob = getPic from DB
resp.setContentType("image/jpeg");
ServletOutputStream op = resp.getOutputStream();
op.flush();
op.close();
But for mp3, PDF, a Trumb will be showed, when customer click it, the browser
will downl
d****c
发帖数: 24
45
来自主题: Java版 - A question with JSP. Thans for help.
I have a login page (JSP) that uses a form to pass a username and password.
The recipient (another JSP) of the post parse the parameter, do some
processing, and present the result. The problem is that the username and
password are shown in the address line of browser on the recipient page.
How can I remove the username/password from showing in address line of browser
? Thanks for help.
m******t
发帖数: 2416
46
来自主题: Java版 - session lost between JSP and Struts

jsp
another
Are they running in the same _web application_ is the question. Also can you
post how you form the link to call the struts action in welcome.jsp?
I*******e
发帖数: 1879
47
来自主题: Java版 - [合集] Are JSPs Dead?
☆─────────────────────────────────────☆
goodbug (好虫) 于 (Fri Apr 20 01:29:10 2007) 提到:
http://www.theserverside.com/news/thread.tss?thread_id=45080
Interesting discussion. JSP is still the most adopted view
solution to date. We do feel the pain though, JSP is much
harder to navigate, debug and test. But again, view layer is
much involved with designer and it has to be leveraged somehow.
Ideally, I would like a WYSIWYG view layer technology that matches the
ease of .Net in desktop application
l****u
发帖数: 2166
48
来自主题: Java版 - Tomcat JSP syntax error
it is JSP error.
they are JSP developers, they know how to fix the error if they
can see the error messages...
e*******0
发帖数: 367
49
来自主题: Java版 - Tomcat JSP syntax error
Tomcat only print the JSP error. In order to print your own stack, you need
to catch that exception, store the message in the session.
When rendering the JSP page, check if message is null, if not, print it.
F**e
发帖数: 593
50
来自主题: Java版 - 这个是JSP的什么技术
好多年没碰JSP了,不懂现在这些是怎么work的。
在一个jsp file里有这样一段code:
${object.name}

这个$里面的是什么东西啊,这个算是struts吗?JSTL?一点概念都没有。如果我要对这
个${object.name}变量做些处理怎么整?比如说我想做对这个变量一些regex和其他一
些处理。
先谢了。
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)