cancel
Showing results for 
Search instead for 
Did you mean: 

<nameapplication>/start i want <nameapplication>/initial.jps

Former Member
0 Kudos

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,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I don´t find the solution....

Former Member
0 Kudos

Hi Victor

Now that they are different, i suggest you replace the web.xml file present in the PDA with that available in the laptop and this should solve your problem.

Best Regards

Sivakumar

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

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,