jsp新人,问几个简单问题
这两天接到一个别人的jsp网站,没接触过,领导要求改问几个基础问题,谢谢!
1、服务器我用tomcat,jsp能像asp那样直接运行吗,需要打包发布之后再部署到tomcat里吗?
2、我现在甚至不确定我拿到的是代码还是发布好的网站,如果是代码,我怎么总也找不到关键的那些代码呢,有没有简单办法区分。
3、文章的链接地址有这么一句:
<a target="_blank" href="Front_ghdt.do?action=review&id=<bean:write name='ghdt' property='id'/>" class="text_zh">
Front_ghdt.do是个什么?我在structs-config.xml中找到了如下代码
<action path="/Front_ghdt" scope="request" type="com.anxin.actions.Front_GhdtAction">
<forward name="front_ghdt_title" path="front_stand.front_ghdt_title"/>
<forward name="front_ghdt_content" path="front_stand.front_ghdt_content"/>
</action>
两者有关系吗,我怎么看Front_ghdt.do的代码?
4、代码有这么一句:title=ghdt.getTitle();获取文章标题, 上哪找getTitle的具体定义呢