You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Santosh Singh <sa...@gmail.com> on 2010/10/07 05:03:46 UTC

web path address problem, Is it a bug?

*Hi all,
we are novice for ofbiz.*
yesterday when we are trying  to create the "Practice Application", noticed
that
on hitting the address in address bar of browser
*http://localhost:8080/practice/control/person/main
*or* http://localhost:8080/practice/control/main*, we got the same output of
main page

*http://localhost:8080/practice/control/main/person
* or* http://localhost:8080/practice/main/person*, we got the same output of
Person page.


After a hrs of struggling found that it is also happens on the following
links of demo site.

*http://demo-trunk.ofbiz.apache.org:8080/ecommerce/control/main/contactus
http://demo-trunk.ofbiz.apache.org:8080/ecommerce/control/contactus*
out put are same.
again it repeated with this also.

*http://demo-trunk.ofbiz.apache.org:8080/ecommerce/control/contactus/main
http://demo-trunk.ofbiz.apache.org:8080/ecommerce/control/contactus/main*
 *
*Are we doing something wrong or silly mistakes? or it is a kind of bug
"some redirection problem" or something else.

Please guide us, your great help will be appreciated whole heartedly.

Kashi, Himanshu & Santosh Singh.

Re: web path address problem, Is it a bug?

Posted by pankaj savita <pa...@gmail.com>.
We just need to write URL
http://localhost:8080/practice/
then it internally append control/main to it.
It is defined in indes.jsp : <%response.sendRedirect("control/main");%>.


-- 
Thanks & Regards,
Pankaj Savita
Mob: +91 9890262476
Mail to: pankajsavita@gmail.com


On Mon, Oct 18, 2010 at 9:34 AM, Atul Vani <at...@hotwaxmedia.com>wrote:

> We generally use URLs of this type
>
> http://localhost:8080/practice/control/*
>
>
> So, the correct URL for main page would be
>
>
> http://localhost:8080/practice/control/main
>
>
> And for person page it would be
>
>
> http://localhost:8080/practice/control/person
>
>
> --
> Thanks & Regards
> Atul Vani
> Enterprise Software Developer
> HotWax Media Pvt. Ltd.
> http://www.hotwaxmedia.com/
> We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for
> yourself.
>
>
> Santosh Singh wrote:
>
>> *Hi all,
>> we are novice for ofbiz.*
>> yesterday when we are trying  to create the "Practice Application",
>> noticed
>> that
>> on hitting the address in address bar of browser
>> *http://localhost:8080/practice/control/person/main
>> *or* http://localhost:8080/practice/control/main*, we got the same output
>> of
>> main page
>>
>> *http://localhost:8080/practice/control/main/person
>> * or* http://localhost:8080/practice/main/person*, we got the same output
>> of
>> Person page.
>>
>>
>> After a hrs of struggling found that it is also happens on the following
>> links of demo site.
>>
>> *http://demo-trunk.ofbiz.apache.org:8080/ecommerce/control/main/contactus
>> http://demo-trunk.ofbiz.apache.org:8080/ecommerce/control/contactus*
>> out put are same.
>> again it repeated with this also.
>>
>> *http://demo-trunk.ofbiz.apache.org:8080/ecommerce/control/contactus/main
>> http://demo-trunk.ofbiz.apache.org:8080/ecommerce/control/contactus/main*
>>  *
>> *Are we doing something wrong or silly mistakes? or it is a kind of bug
>> "some redirection problem" or something else.
>>
>> Please guide us, your great help will be appreciated whole heartedly.
>>
>> Kashi, Himanshu & Santosh Singh.
>>
>>
>

Re: web path address problem, Is it a bug?

Posted by Atul Vani <at...@hotwaxmedia.com>.
We generally use URLs of this type

http://localhost:8080/practice/control/*


So, the correct URL for main page would be

http://localhost:8080/practice/control/main


And for person page it would be

http://localhost:8080/practice/control/person


-- 
Thanks & Regards
Atul Vani
Enterprise Software Developer
HotWax Media Pvt. Ltd.
http://www.hotwaxmedia.com/
We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for yourself.

Santosh Singh wrote:
> *Hi all,
> we are novice for ofbiz.*
> yesterday when we are trying  to create the "Practice Application", noticed
> that
> on hitting the address in address bar of browser
> *http://localhost:8080/practice/control/person/main
> *or* http://localhost:8080/practice/control/main*, we got the same output of
> main page
>
> *http://localhost:8080/practice/control/main/person
> * or* http://localhost:8080/practice/main/person*, we got the same output of
> Person page.
>
>
> After a hrs of struggling found that it is also happens on the following
> links of demo site.
>
> *http://demo-trunk.ofbiz.apache.org:8080/ecommerce/control/main/contactus
> http://demo-trunk.ofbiz.apache.org:8080/ecommerce/control/contactus*
> out put are same.
> again it repeated with this also.
>
> *http://demo-trunk.ofbiz.apache.org:8080/ecommerce/control/contactus/main
> http://demo-trunk.ofbiz.apache.org:8080/ecommerce/control/contactus/main*
>  *
> *Are we doing something wrong or silly mistakes? or it is a kind of bug
> "some redirection problem" or something else.
>
> Please guide us, your great help will be appreciated whole heartedly.
>
> Kashi, Himanshu & Santosh Singh.
>