on 09-26-2007 12:47 PM
Hi, i´m doing an application, i execute in my pc an work fine with this direction:
http://localhost:4444/MIAPPLICATION/initial.jsp
but when i execute in the pda... appear this direction:
http://localhost:4444/MIAPPLICATION/start
and don´t work, because don´t existe start, but if i change by initial.jsp, work fine... how can modify this? In my pc the direction good, but when i execute in the PDA the direction bad...
Thanks,
I don´t find the solution....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, in the PDA now in web.xml appear:
But when i execute in http://localhost:4444/me the application, the link that appear is http://localhost:4444/HELLO/start and start don´t exist, should be http://localhost:4444/HELLO/initial.jsp
Why???
Thanks,
Message was edited by:
Victor Capi
hi victor,
here's the cause:
<servlet-name>MEJSPAPP</servlet-name>
<url-pattern>/initial.jsp</url-pattern>
your request to <b>/initial.jsp</b> will be directed to your hello.MiProjectClass which is
named as MEJSPAPP because you have defined it for <b>/initial.jsp</b> url pattern. try
removing this entry and invoke your initial.jsp code directly. if your initial.jsp is
under start folder, then logical path will be /start/initial.jsp.
regards
jo
Hi Victor
The reason could be that the web.xml file present under <MI_HOME>/webapps/<APP_NAME>/WEB-INF are different on Laptop and PDA. Please check this. Something like the following tags should be available. May be this is there in Laptop but not in PDA
<servlet-mapping>
<servlet-name>start</servlet-name>
<url-pattern>/initial.jsp</url-pattern>
</servlet-mapping>
Best Regards
Sivakumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, im my pda:
...
<servlet-mapping>
<servlet-name>MEJSPAPP</servlet-name>
<url-pattern>/start</url-pattern>
</servlet-mapping>
...
In my PC:
...
<servlet-mapping>
<servlet-name>MEJSPAPP</servlet-name>
<url-pattern>/initial.jsp</url-pattern>
</servlet-mapping>
...
But, how can change? I don´t change from PDA, i want that when synchronize appear the same that in my pc...
Thanks,
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.