用weblogic8.1服务器,jsp文件应放到哪个目录下才能在IE中看到 放哪都可以,只要在控制台设置正确的路径。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 首先配置你建立的域的:config.xml<?xml version="1.0" encoding="UTF-8"?><Domain ConfigurationVersion="8.1.0.0" Name="mydomain"> <Server ListenAddress="" ListenPort="7001" Name="myserver" NativeIOEnabled="true" ServerVersion="8.1.0.0"> <SSL Enabled="false" HostnameVerificationIgnored="false" IdentityAndTrustLocations="KeyStores" ListenPort="7002" Name="myserver"/> </Server> <Application Deployed="true" Name="mainWebApp" Path=".\applications" StagingMode="nostage" TwoPhase="true"> <WebAppComponent Name="mainWebApp" Targets="myserver" URI="mainWebApp"/> </Application> <Application Deployed="true" Name="struts" Path=".\applications" StagingMode="nostage" TwoPhase="true"> <WebAppComponent Name="struts" Targets="myserver" URI="struts"/> </Application> <Security Name="mydomain" PasswordPolicy="wl_default_password_policy" Realm="wl_default_realm" RealmSetup="true"/> <EmbeddedLDAP Credential="{3DES}D7DLPBRrV951I6vD+tyMTPVguWALjN6kKHFMZTOFmx0=" Name="mydomain"/> <SecurityConfiguration Credential="{3DES}3vTOnurNGyQjJ46uQSyghoSvALwxclTDUy1XzqKpsTSnlpG0cvulxUD9uU9q68l90njrgtglS2BQ2b2L8UtfsuEZsjpXT+JK" Name="mydomain" RealmBootStrapVersion="1"/> <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/> <FileRealm Name="wl_default_file_realm"/> <PasswordPolicy Name="wl_default_password_policy"/> <JDBCConnectionPool DriverName="weblogic.jdbc.oci.Driver" Name="boyunpool" Password="{3DES}SVNNgyWrWa0=" Properties="user=gaosu;codeset=GBK;server=gaosu" Targets="myserver" URL="jdbc:weblogic:oracle"/> <JDBCTxDataSource JNDIName="boyunds" Name="boyunds" PoolName="boyunpool" Targets="myserver"/></Domain>****************************然后在你的域目录下建立指定的文件夹********这个配置文件是:D:\bea\user_projects\mydomain\applications\mainWebApp也就是说在D:\bea\user_projects\mydomain\applications\下面建立文件夹mainWebApp现在把你的JSP文件放到mainWebApp文件夹里面,启动服务器就可以采用:http://localhost:7001/mainWebApp/*.jsp来进行调用了! 登陆表单 在Java中使用正则表达式,麻烦进来看下,帮个忙~ 谁能给一个新建seam3小例子并运行的步骤 疑惑:为什么会有多个线程同时访问同一个Session? hibernate spring整合错误 数据连接池的问题 WSAD中如何配置STRUTS? 既然jboss也可以做web服务器,为什么还要整和Tomcat呢? 请问一条命令的具体含义? WebLogic如何建立SQL Server的JDBC? 完全没学过编程,应该怎样学习JAVA呢?100分 请问那种模式能使我们对数据库的表完全操作,添加字段,删除字段,添加、修改、删除数据页面都能很快完成?
<?xml version="1.0" encoding="UTF-8"?>
<Domain ConfigurationVersion="8.1.0.0" Name="mydomain">
<Server ListenAddress="" ListenPort="7001" Name="myserver"
NativeIOEnabled="true" ServerVersion="8.1.0.0">
<SSL Enabled="false" HostnameVerificationIgnored="false"
IdentityAndTrustLocations="KeyStores" ListenPort="7002" Name="myserver"/>
</Server>
<Application Deployed="true" Name="mainWebApp" Path=".\applications"
StagingMode="nostage" TwoPhase="true">
<WebAppComponent Name="mainWebApp" Targets="myserver" URI="mainWebApp"/>
</Application>
<Application Deployed="true" Name="struts" Path=".\applications"
StagingMode="nostage" TwoPhase="true">
<WebAppComponent Name="struts" Targets="myserver" URI="struts"/>
</Application>
<Security Name="mydomain"
PasswordPolicy="wl_default_password_policy"
Realm="wl_default_realm" RealmSetup="true"/>
<EmbeddedLDAP
Credential="{3DES}D7DLPBRrV951I6vD+tyMTPVguWALjN6kKHFMZTOFmx0=" Name="mydomain"/>
<SecurityConfiguration
Credential="{3DES}3vTOnurNGyQjJ46uQSyghoSvALwxclTDUy1XzqKpsTSnlpG0cvulxUD9uU9q68l90njrgtglS2BQ2b2L8UtfsuEZsjpXT+JK"
Name="mydomain" RealmBootStrapVersion="1"/>
<Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
<FileRealm Name="wl_default_file_realm"/>
<PasswordPolicy Name="wl_default_password_policy"/>
<JDBCConnectionPool DriverName="weblogic.jdbc.oci.Driver"
Name="boyunpool" Password="{3DES}SVNNgyWrWa0="
Properties="user=gaosu;codeset=GBK;server=gaosu"
Targets="myserver" URL="jdbc:weblogic:oracle"/>
<JDBCTxDataSource JNDIName="boyunds" Name="boyunds"
PoolName="boyunpool" Targets="myserver"/>
</Domain>
****************************然后在你的域目录下建立指定的文件夹********
这个配置文件是:
D:\bea\user_projects\mydomain\applications\mainWebApp
也就是说在D:\bea\user_projects\mydomain\applications\
下面建立文件夹mainWebApp
现在把你的JSP文件放到mainWebApp
文件夹里面,启动服务器就可以采用:
http://localhost:7001/mainWebApp/*.jsp
来进行调用了!