由买买提看人间百态

topics

全部话题 - 话题: myapp
1 (共1页)
a****l
发帖数: 8211
1
我用vb2005做一个windows的application,原来的bin\release目录下有四个文件:MyApp
.exe, MyApp.pdb, MyApp.vshost.exe, MyApp.xml
后来我做了一次publish(就是build->publish MyApp),奇怪的是这以后编译出来的文件
就变成六个了:Myapp.vshost.exe, MyApp.application, MyApp.exe, MyApp.exe.
manifest, MyApp.pdb, MyApp.xml
这是怎么会事呢?以前4个文件的时候编译出的exe也可以直接在别的机器上运行,那现在
怎么会多出两个?Myapp.application, MyApp.exe.manifest是怎么会多出来的?
谢谢帮助!
l**********n
发帖数: 8443
2
来自主题: Programming版 - AngularJS 怎么样?
angular的module定义得很错乱啊,
比如
return angular.module('myApp', [
'ngRoute',
'myApp.controllers',
'myApp.filters',
'myApp.services',
'myApp.directives'
]);
you would expect that myApp is a module, and controllers is a property of
myApp, but the truth is that myApp.controllers is another module name which
is totally independent of myApp.
not mention so many predefined naming of variables, which you have to look
up in the documen... 阅读全帖
M***0
发帖数: 1180
3
各位做这方面的,你们公司用的是以下哪种方式,优点缺点各是什么?
1 让所有tenants用同一个application instance
例如application的名字叫MyApp(root url), 有N个客户A,B,C,etc
部署以后的URL是
对A公司用户 Http://hostname/MyApp/../A/../..
对B公司用户 Http://hostname/MyApp/../B/../..
对C公司用户 Http://hostname/MyApp/../C/../..
在runtime的时候用各种interceptor来决定用哪个bean implementation哪个jdbc
connection等等
2 给每个tenant deploy一个ear(can be in the same cluster or different
clusters),在compile之后package之前,用ant等工具修改bean implementation(i.e
inject哪个class), web.xml,application.xml, persistence.xm... 阅读全帖
u****n
发帖数: 7521
4
来自主题: Military版 - 学习古兰经
学习古兰经ZZ
不用穆斯林来告诉我们什么是伊斯兰,大家都识字,也有脑子,推荐相关资料: 【安
卓app】1.歌木斯《古兰经》链接出处:http://android.myapp.com/myapp/detail.htm?apkName=com.gamoos.gmsquran
2.明灯《伊本·凯西尔古兰经经注》链接出处 http://android.myapp.com/myapp/detail.htm?apkName=com.android.glj.activity
3.伊斯兰教法 链接出处http://http//android.myapp.com/myapp/detail.htm?apkName=cn.apppark.ckj10002360
【适合大电脑阅读的版本】链接出处 (解压密码:zifei) http://pan.baidu.com/s/1sj4qYPv
开始阅读时,不一定能读得下去,此时建议在文中Ctrl-F查找“不信”二字。另有中国
伊斯兰教协会全国经学院统编教材编《古兰经基础简明教程》、《圣训基础简明教程》
,都是非常好的资料,但没找到可下载的电子版,不过超星数字图书馆里... 阅读全帖
M***0
发帖数: 1180
5
来自主题: Programming版 - 菜鸟问个node.js问题
假如我有一个service method要更新user info,但必须先查询该user是否active,代码
是不是像这样?
定义一个全局变量:
var eventEmitter = new events.EventEmitter();
DAO layer:
var isUserStatusActive = function isUserStatusActive(userId)
{
...
return true/false;
}
var updateUser = function updateUser(user)
{
...
}
eventEmitter.on("com.myapp.dao.userDao.isUserStatusActive",
isUserStatusActive);
eventEmitter.on("com.myapp.dao.userDao.updateUser", updateUser);
Service layer:
var validateAndUpdateUser = function validateAndUpdateUse... 阅读全帖
a*********s
发帖数: 22
6
来自主题: BuildingWeb版 - Tomcat server.xml setting problem
我想把我自己写的文件放在一个工作目录里,我在tomcat的server.xml里加上了

crossContext="true"/>
可是怎么总是出错啊?比如我写了一个myHelloWorld,放在
D:\jakarta-tomcat-4.1.24\webapps\myapp\WEB-INF\classes试的时候总是得到下面
的错误。如果
文件放在examples目录下(D:\jakarta-tomcat-4.1.24\webapps\examples\WEB-INF\classes)
就可以用。
HTTP Status 404 - /myapp/servlet/myHelloWorld
l******9
发帖数: 579
7
来自主题: JobHunting版 - IIS7.5 大于 64KB 文件不能下载 ?
大于 64KB 文件不能下载 (from C# code). 大于 文件不能完全下载, 只能下载 64KB
, 然后
truncated. Why ?
I have published a web service application (C# built in VS2010) to a desktop
with IIS 7.5 win7.
The web service has been hosted successfully on win 7.
Now I can install the application on my laptop (win 7) by accessing the URL
http://myDesktopName.domain.com/MyApp/MyAppSetup.msi
pointing to a physical location in desktop
E:myPathmyAppmyAppService.svc
Now, in my application, I need to download (from C# on my laptop) a .da... 阅读全帖
w******o
发帖数: 32
8
来自主题: Java版 - tomcat连接mysql求助
配置了半天还是
HTTP Status 404 - /myapps/index.jsp
type Status report
message /myapps/index.jsp
description The requested resource (/myapps/index.jsp) is not available.
Apache Tomcat/7.0.16
s******e
发帖数: 493
9
来自主题: Java版 - tomcat连接mysql求助
Check your deployment file structure. You should have some directory called
webapps/myapps in the tomcat root. And as myapps's direct child, you should
have index.jsp file. If you index.jsp is in myapps/WEB-INF, you will see the
error like this since you cannot access it from outside.
(actuallY once you fully understand how to deploy web app, you will know
that a url pattern can be forced to map any servlet/jsp inside WEB-INF) but
for a beginner I think that might be your problem.
l******9
发帖数: 579
10
【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: IIS7.5 大于 64KB 文件不能下载 ?
发信站: BBS 未名空间站 (Tue Jun 23 12:47:53 2015, 美东)
大于 64KB 文件不能下载 (from C# code). 大于 文件不能完全下载, 只能下载 64KB
, 然后
truncated. Why ?
I have published a web service application (C# built in VS2010) to a desktop
with IIS 7.5 win7.
The web service has been hosted successfully on win 7.
Now I can install the application on my laptop (win 7) by accessing the URL
http://myDesktopName.domain.com/MyApp/MyAppSetup.msi
... 阅读全帖
l******9
发帖数: 579
11
【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: IIS7.5 大于 64KB 文件不能下载 ?
发信站: BBS 未名空间站 (Tue Jun 23 12:47:53 2015, 美东)
大于 64KB 文件不能下载 (from C# code). 大于 文件不能完全下载, 只能下载 64KB
, 然后
truncated. Why ?
I have published a web service application (C# built in VS2010) to a desktop
with IIS 7.5 win7.
The web service has been hosted successfully on win 7.
Now I can install the application on my laptop (win 7) by accessing the URL
http://myDesktopName.domain.com/MyApp/MyAppSetup.msi
... 阅读全帖
b***k
发帖数: 2673
12
来自主题: Quant版 - [合集] Excel中的问题
☆─────────────────────────────────────☆
yuyy (yyy) 于 (Thu Mar 27 18:03:57 2008) 提到:
我想编个程序处理一个Range中的数据,就象Sum(A1:E8)一样,最好可以在Excel中直接
使用。
我的设想是编个VBA function,比如
function myApp(var) as Range
让后把Range("A1:E8")对象作为var输入到我的函数中,
这样我就可以处理里面的数据了
函数的输出也是一个相同大小的Range对象
刚才用VBA试了试,没有成功,是不是这样不行啊?
那应该用什么办法在Excel中可以实现我的想法。
谢谢。
☆─────────────────────────────────────☆
njupeer (np) 于 (Thu Mar 27 19:55:45 2008) 提到:
you can do this:
Function myapp(var....) as variant
myapp = range("A1:E8")
end functio
b*e
发帖数: 3845
13
来自主题: BuildingWeb版 - TOMCAT 3.2 and TOMCAT 4.1 question, Help?
In one of my previous project, i use TOMCAT 3.2,
I put my jsp files in webapps/myapp, and Javabean class files
in webapps/myapp/WEB-INF/classes,
everything works fine, even no need to modify server.xml and web.xml.
However, in TOMCAT 4.1, I use the same application files,
every time when the jsp files use java bean, always can't find it,
any body help pls, i have followed the instruction on
http://www.moreservlets.com/Using-Tomcat-4.html
but no use. Thanks
m**c
发帖数: 90
14
来自主题: BuildingWeb版 - Tomcat server.xml setting problem

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
d******8
发帖数: 2191
15
来自主题: BuildingWeb版 - 有用过MEAN.io的吗?
居然需要装那么多文件,用gtmetrix测试下首页加载的速度,居然要0.92s,直接F等级。
用了这些命令:
mean init myApp
cd myApp
sudo npm install
bower install bootstrap
每一条命令都装了N多文件,tree|wc -l 一下居然有20969行。
顿时感觉好没有潜力的一个系统。。。。
D*******I
发帖数: 29
16
来自主题: Database版 - 借人气问:连MySQL的问题?
GRANT USAGE ON myapp.* TO 'someuser'@'192.168.%' IDENTIFIED BY 'some_pass'
or
GRANT USAGE ON myapp.* TO 'someuser'@'%' IDENTIFIED BY 'some_pass'
also make sure port is ok

pass'
b******r
发帖数: 1106
17
来自主题: DotNet版 - Cannnot open project file after https
I have an asp.net application MyApp. After I set it to https
I cannot open the project file or solution file. Always get error saying
cannnot find the resource even after I have changed the webinfo file to point
to https://MyApp
Any suggestion?
Thanks a lot.
d*r
发帖数: 238
18
I have a test file with the input data as standard input.
In C, I can use < to redirect, like: myapp < test
How do to it in java? Use java myapp < test?
s*******y
发帖数: 558
19
thanks a lot
但是你们的解释还是没法说服我
我看到下面这样的解释 觉得比较明白叻
public class MyApp {
public static void makenull(java.util.ArrayList c) {
// c - is a new refference on object of ArrayList class
// value of c refference is same as in s
// so you have two reffeneces on same object
c=null; // here you make c (one of this refference) as null
}
public static void main(String[] args) {
java.util.ArrayList s = new java.util.ArrayList();
MyApp.makenull(s);
//s - is still reffere
m******o
发帖数: 774
20
写了个并不复杂的applet,自己的jar file一个(digital.jar),需要其它两个lib jar
(dpotapi.jar, dpotjni.jar)。我靠,中文写这个实在不行。
Everything worked perfectly, however, I hate the fact that I must place the
same jar files at two places to make it work. It is deployed under JBoss as
a WAR file, however, I must store the same 3 jar files in both the myapp.war
directory and the myapp.war/WEB-INF/lib directory to make the applet work.
I have tried more than 3 hours with all possible combination I can think of
with the applet tag:

发帖数: 1
21
来自主题: Java版 - spring mvc 静态文件访问不了

但访问myapp/html/index.html时返回404,看了pivotal server文件结构如下:
myapp->WEB-INF->html->index.html
完全新手求解惑
c********1
发帖数: 5269
22
String or object,根据 header 来的吧 -- I does not define header.
customer.html source







  • {{ x.Name + ', ' + x.Country }}