c*****s 发帖数: 214 | 1 当然不是。任何一个webserver都不会有这么无聊的约束。
打开$TOMCAT_HOME/conf/server.xml,找
目录。那个root通常是默认应用。
或者启动tomcat时带-Dcatalina.base=<另一个目录>可以启动指定目录下的TOMCAT,那个
目录里只要有/conf/server.xml和webapps/就行了。 |
|
w*r 发帖数: 2421 | 2 看来我的requirement 没有写清楚
这样说吧:
Webapp security: LDAP realm
Servlet To DB connection: standard JDBC, however, requires each user to
logon to database using his/her own credential. (username/password)
因为 DB 端接收的是LDAP also, 所以实际上user's username password to web app's
authentication are the same as username/pwd login to database.
所以我只需要在user login form submit authenticate成功之后(或者之前)把
password记下来,这样用户在执行DB操作的时候就不需要再输入用户名和密码了
有人提到了getPrincile()这样的调用,这只能返回username, 从login form里面post
的password是无法得到的。
keep
L... 阅读全帖 |
|
w*r 发帖数: 2421 | 3 这个答复靠谱,看来简单的作法就是webapp里面自己extend
LDAPAuthenticationLogingModule,然后手动干,实际上这样的requirement比较常见,
除非所有的system都kerbros,大家share一个ldap,一次sign-on不需要重复password是
一个common feature.
用spring麻烦了,自己手干一个loginModule方便一些
getCredentials( |
|
w*******y 发帖数: 60932 | 4 Free shipping shows at the last page, just before you hit "Place my order".
Boys Board Shorts, first 2 in link are $2.88 shipped
Boys Board Shorts:
http://www.academy.com/webapp/wcs/stores/servlet/CatalogSearch? short&langId=-1&Ntk=All&storeId=10151&catalogId=10051&N=0&Ns=NowPrice|0
There are other styles for $4.88 with free ship as well-you just need to
make sure that there is the "Free Shipping" in red still on the page after
you select your size and color-if it disappears, shipping won't show... 阅读全帖 |
|
|
|
|
|
e********y 发帖数: 216 | 9 出售一些AF的完美屁股和开衫. 全部NWT. 大部分还在原来的塑料包装袋里. 价格为税
后. non-cc Paypal交易. 邮费按实际算, 不承担邮寄的损失.
1. Perfect butt pant, Green, XS, $20
https://www.abercrombie.com/webapp/wcs/stores/servlet/ProductDisplay?
catalogId=10901&storeId=10051&langId=-1&productId=664128&seq=04
2. Perfect butt pant, Brown, XS, $20
https://www.abercrombie.com/webapp/wcs/stores/servlet/ProductDisplay?
catalogId=10901&storeId=10051&langId=-1&productId=664274&seq=01
3. Perfect butt pant, Blue, XS, $25
https://www.abercrombie.com/webapp/wcs/s... 阅读全帖 |
|
|
|
w*******y 发帖数: 60932 | 12 I keep on finding more but I can't keep up!!
Oxford Silver finish only.
Linky:
http://www.homedepot.com/h_d1/N-5yc1v/R-100469425/h_d2/ProductD ALL&jspStoreDir=hdus&superSkuId=202573134&catalogId=10053&navFlow=3&keyword=Progress Lighting Bedford Collection Oxford Silver 5-Light C&Ntpc=1&langId=-1&Nu=P_PARENT_ID&storeId=10051&Ntpr=1&ddkey=Search
Merchandise Subtotal $127.98
Standard FREE
Estimated Total Shipping Charges* FREE
Savings -$95.98
Sales tax determi... 阅读全帖 |
|
w*******y 发帖数: 60932 | 13 I keep on finding more but I can't keep up!!
Oxford Silver finish only.
Linky:
http://www.homedepot.com/h_d1/N-5yc1v/R-100469425/h_d2/ProductD ALL&jspStoreDir=hdus&superSkuId=202573134&catalogId=10053&navFlow=3&keyword=Progress Lighting Bedford Collection Oxford Silver 5-Light C&Ntpc=1&langId=-1&Nu=P_PARENT_ID&storeId=10051&Ntpr=1&ddkey=Search
Merchandise Subtotal $127.98
Standard FREE
Estimated Total Shipping Charges* FREE
Savings -$95.98
Sales tax determi... 阅读全帖 |
|
w*******y 发帖数: 60932 | 14 I keep on finding more but I can't keep up!!
Oxford Silver finish only.
Linky:
http://www.homedepot.com/h_d1/N-5yc1v/R-100469425/h_d2/ProductD ALL&jspStoreDir=hdus&superSkuId=202573134&catalogId=10053&navFlow=3&keyword=Progress Lighting Bedford Collection Oxford Silver 5-Light C&Ntpc=1&langId=-1&Nu=P_PARENT_ID&storeId=10051&Ntpr=1&ddkey=Search
Merchandise Subtotal $127.98
Standard FREE
Estimated Total Shipping Charges* FREE
Savings -$95.98
Sales tax determi... 阅读全帖 |
|
w*******y 发帖数: 60932 | 15 I keep on finding more but I can't keep up!!
Oxford Silver finish only.
Linky:
http://www.homedepot.com/h_d1/N-5yc1v/R-100469425/h_d2/ProductD ALL&jspStoreDir=hdus&superSkuId=202573134&catalogId=10053&navFlow=3&keyword=Progress Lighting Bedford Collection Oxford Silver 5-Light C&Ntpc=1&langId=-1&Nu=P_PARENT_ID&storeId=10051&Ntpr=1&ddkey=Search
Merchandise Subtotal $127.98
Standard FREE
Estimated Total Shipping Charges* FREE
Savings -$95.98
Sales tax determi... 阅读全帖 |
|
z*********e 发帖数: 10149 | 16 我的tomcat manager里面显示是附件这样的
一定要deploy .war文件吗?我看了其他几个application也没有.war文件。
文件目录
tomcat/webapps/springapp/下面有
META-INF folder
WEB-INF folder
hello.htm
hello.jsp
index.jsp
其中tomcat/webapps/springapp/META-INF folder下面有
MANIFEST.MF
tomcat/webapps/springapp/WEB-INF folder下面有
classes folder
lib folder
springapp-servlet.xml
web.xml
tomcat/webapps/springapp/WEB-INF/classes下面有
tomcat/webapps/springapp/WEB-INF/classes/springapp/web/HelloController.class
tomcat/webapps/springapp/WEB-INF/classes/springapp/we... 阅读全帖 |
|
|
|
|
h****9 发帖数: 381 | 20 *** SALE或COUPON专贴,请JMs将有关信息贴这个专贴里,以方便大家查找 ***
*** 请JMs存下这个贴子的链接,我会尽量每周都来更新,如果大家看不到这个贴子,我更新就没有意义了。 ***
只是想跟JMs说明一下,为了方便大家查找,我答应版版MM帮助收集和整理我所
知道的以及JMs提供的COUPON/DEAL信息,我会尽量及时更新coupon专贴的主贴,
也欢迎更多JM将coupon贴在这个贴子里,在此一并感谢所有提供COUPON/DEAL
信息与大家分享的JMs,并感谢在COUPON专贴出问题时给予我很大支持与帮助的steedzhu、BelugaWhale及brightsmoo几位版版MM。
除了某些 BRU/TRU COUPON可能是扫描件以外,其它基本上都是printable coupons,请需要的JM用链接打印啊。JMs可以在文摘区找到更多coupon信息
包括交换等信息(请从首页找起)。
★ 有JM问起,觉得这个贴子太长了,慢的原因可能是图片太多,我将图片显示出来是想方便JMs很快找到自己想要的DEALS(我可以将图片略去,如果更好的话)。简介一下主贴的内容啊... 阅读全帖 |
|
|
|
|
|
|
|
|
|
m**c 发帖数: 90 | 29
Sorry I didn't make myself very clear in my post: You need to have a file
called "web.xml" in "${TOMCAT_HOME}/webapps/myapp/WEB-INF". You can copy
"web.xml" from "${TOMCAT_HOME}/webapps/examples/WEB-INF" to
"${TOMCAT_HOME}/webapps/myapp/WEB-INF", then modify it a little bit. Why
don't post the "web.xml" from "${TOMCAT_HOME}/webapps/examples/WEB-INF" to
this board so that I can take a look?
place
it?
examples.
面
文件放在examples目录下(D:\jakarta-tomcat-4.1.24\webapps\examples\WEB-INF\class |
|
s*********g 发帖数: 849 | 30 老板给了一个项目,这周五due,没有思路应该怎么搞。我们有个webapp,deploy到三
个server上。webapp是传统的spring,hibernate弄的。整个app的ID,CODE都存在
oracle的一个表里面,然后load到servletcontext里面。
现在的问题是要任意一个server上面的webapp update了CODE,需要update其他两个
server上webapp的servletcontext,同时还需要persist到oracle里。对real-time没有
要求。
我的想法是用activemq和spring的jmstemplate来弄:在‘更新CODE’的代码里面send
message到其他server,来update servletcontext,但是不明确这个怎么弄?
同时call另外一个service来persist到oracle里, 这样servletcontext里面的code随
时都是最新的。但是app里面基本上所有service都会用这个updated code,所以不知道
性能会不会有影响?
但不让设置一个单独的broke... 阅读全帖 |
|
w*******y 发帖数: 60932 | 31 Not sure how good of a deal this is but I thought it was great. This thing
has great reviews and it is free shipping. You usually have to spend $250 to
get the FS. My local ad has it advertised for $69.88 but on-line it shows $
69. I have a corporate perks site that I checked out thru and my total after
shipping ended up being $66.91, not sure how that happend but I'll take it!
It is sort of like that borders rewards program where you get reward/bonus
points that add up. Anyway, here is the info... 阅读全帖 |
|
w*******y 发帖数: 60932 | 32 Bikes are on clearance for $27.88 with $16.46 shipping for total of $44.34.
Tax applicable in AL, AR, FL, GA, LA, MO, MS, NY, OK, SC, TN, TX, and VA.
Most likely very few available.
MongooseMen's Invert 20" Freestyle Bicycle:
http://beta.academy.com/webapp/wcs/stores/servlet/Product_10151
MongooseMen's Gavel Forest 20" 1-Speed Freestyle Bicycle:
http://beta.academy.com/webapp/wcs/stores/servlet/Product_10151
Cheap Kid's Bike Helmets:
Bell Kids' Racer Helmet:
http://beta.academy.com/webapp/wcs/st... 阅读全帖 |
|
w*******y 发帖数: 60932 | 33 Hey guys,
I didn't see this posted anywhere so I thought I'd share.
Prestone is currently offering a mail-in rebate for $7 off any 1 gallon or $
15 off any 2 1 gallon containers of concentrated Anti-freeze (Extended Life
& Dex-Cool Extended Life). The rebate also provides for $5 off any 1 gallon
of 50/50 Pre-diluted or $11 off any 2 1 gallon containers of Pre-diluted
Anti-freeze (Extended Life & Dex-Cool Extended Life).
Here is the REBATE FORM:
http://www.prestone.com/sites/default/p/Prestone-R... 阅读全帖 |
|
w*******y 发帖数: 60932 | 34 The Canon refurbished gear at the Canon StoreLink:
http://shop.usa.canon.com/webapp/wcs/stores/servlet/ProductList
is a good deal at regular prices. At 15% off, these deals are very hot.
The Canon Store has announced that, from Dec 11 through Dec 17, you save 15%
on all refurbished Canon EOS DSLR Cameras, Canon Lenses and Flashes and
Canon PowerShot Cameras.
When these deals go live on Sunday the 11th, act fast as most of this gear
is going to go out of stock very quickly. Then check these lin... 阅读全帖 |
|
|
w*******y 发帖数: 60932 | 36 Soffe.com has 50% off all sale items and free standard shipping on all
orders through 12/24! They also have free express shipping on orders $40
and up! Note that the discount is only for sale items.
This is an even better deal for those of you who might have missed out on
their deal last week, or just want to stock up some more of their clothing.
Codes:
50% off - MERRYSALE50
FS - SHIPFREE
Free express shipping - EXPRESSFREE
Sale prices (after discount):
Women:
http://www.soffe.com/webapp/wcs/s... 阅读全帖 |
|
|
|
|
|
|
|
y****e 发帖数: 1012 | 43 接手了一个别人的项目,目前功能部分已经调通了,现在前端部署遇到了一些问题。前
端才用zk,zk里面嵌入一些java code。
整个page,data打包成DCL.war,我把它拷贝到/var/lib/tomcat7/webapps/下面,chmod
to 755, chown to tomcat7:tomcat7.运行localhost:8080/DCL/解压,页面正常显示~
但是运行提交页面的时候出现java.io.FileNotFoundException: cache.csv (Permissi
on denied)
这个cache.csv.是从我的某个jar写出来的,我改了相应目录的权限好像还是不行,我在
‘/etc/tomcat7/policy.d/03catalina.policy’加入了写权限:
grant codeBase "file:${catalina.base}/webapps/DCL.war" {
permission java.security.AllPermission;
permission java.io.FilePermission "fil... 阅读全帖 |
|
|
|
|
|
w*******y 发帖数: 60932 | 48 Here we go again.. BOGO for almost all of menswearhouse's clothing line &
accessories except Shoes & Everyday Low Price items (eg. Wilke Rodrigez Suit
's dont qualify for BOGO).
Those Who bought the MW's B1G3 Ties deal, can now add Suit Seperates to
their wardrobe.
No COUPON Code Needed. All qualifying items have "Buy 1, Get 1 Free!" under
the prices
Limted Sizes so.. HURRY!
Dont Forget - BOGO Men's Wearhouse Single Suit Garment Bag (for your coats)
for $1.50 each.
Garment Bag $3 BOGO:
http://ww... 阅读全帖 |
|
|