You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by gopalbi <go...@hytechpro.com> on 2008/08/21 10:20:11 UTC

How will we go diectly to the catalog login page?

Hello friends i need your help,


Problem
I have done these changes:Then it go to the
https://localhost:8080/catalog/control/main. But the problem is that if we
enter https://localhost:8080/webtools/control/main then it go to the
catalog/control/main page. I need:

1. Framework/webtools/webapps/webtools/wEB-INF/web.xml
changes:
 <init-param>
            <param-name>redirectPath</param-name>
            <param-value>/catalog/control/main</param-value>
 </init-param>

2.Framework/webtools/webapps/webtools/index.jsp
changes:
<%response.sendRedirect("catalog/control/main");%>

Need:
1.If i put http://localhost:8080/ -----> Then it go to the
http://localhost:8080/catalog/control/main page.
2.if i put directly this http://localhost:8080/webtools/control/main on the
browser then the webtools page open.

Please help me.
Thanks in Advance:

Thanks & reagards:
Gopal Bisht




-- 
View this message in context: http://www.nabble.com/How-will-we-go-diectly-to-the-catalog-login-page--tp19084456p19084456.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: How will we go diectly to the catalog login page?

Posted by Pranay Pandey <pa...@gmail.com>.
Hello Gopal,

At least we need to have the comp name in the url for moving further. As if
you enter http://localhost:8080/catalog then the redirect path comes from
the index.jsp and if you enter url like
http://localhost:8080/catalog/any/url then it takes redirectPath specified
in web.xml.

Thanks & Regards
--
Pranay Pandey

On Thu, Aug 21, 2008 at 1:50 PM, gopalbi <go...@hytechpro.com> wrote:

>
> Hello friends i need your help,
>
>
> Problem
> I have done these changes:Then it go to the
> https://localhost:8080/catalog/control/main. But the problem is that if we
> enter https://localhost:8080/webtools/control/main then it go to the
> catalog/control/main page. I need:
>
> 1. Framework/webtools/webapps/webtools/wEB-INF/web.xml
> changes:
>  <init-param>
>            <param-name>redirectPath</param-name>
>            <param-value>/catalog/control/main</param-value>
>  </init-param>
>
> 2.Framework/webtools/webapps/webtools/index.jsp
> changes:
> <%response.sendRedirect("catalog/control/main");%>
>
> Need:
> 1.If i put http://localhost:8080/ -----> Then it go to the
> http://localhost:8080/catalog/control/main page.
> 2.if i put directly this http://localhost:8080/webtools/control/main on
> the
> browser then the webtools page open.
>
> Please help me.
> Thanks in Advance:
>
> Thanks & reagards:
> Gopal Bisht
>
>
>
>
> --
> View this message in context:
> http://www.nabble.com/How-will-we-go-diectly-to-the-catalog-login-page--tp19084456p19084456.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>


-- 
Thanks & Regards
--
Pranay Pandey
Indore, India

Re: How will we go diectly to the catalog login page?

Posted by BJ Freeman <bj...@free-man.net>.
use to know where to go to redirect that but things have changed.
hopefully someone with more up to date info can tell you.
otherwise will check it out a little later


gopalbi sent the following on 8/21/2008 5:17 AM:
> Ok, 
>   
>   but i need if i do this 
> http://localhost:8080/
> then it directly go to the 
> https://localhost:8080/catalog/control/main
> 
> Is that possible: 
> 
> Thanks for your reply. 
> Thanks & Regards: 
> Gopal Bisht 
> 
> BJ Freeman wrote:
>> first problem is
>> you using https with an non ssl port 8080
>> if you do a
>> http://localhost:8080/catalog/
>> this will automatically
>> go to
>> https://localhost:8080/catalog/cntrol/main
>> this is built in.
>>
>> to deal with
>>     http://localhost:8080/
>> it now redirects to /ecommerce
>>
>>
>>
>> gopalbi sent the following on 8/21/2008 1:20 AM:
>>> Hello friends i need your help,
>>>
>>>
>>> Problem
>>> I have done these changes:Then it go to the
>>> https://localhost:8080/catalog/control/main. But the problem is that if
>>> we
>>> enter https://localhost:8080/webtools/control/main then it go to the
>>> catalog/control/main page. I need:
>>>
>>> 1. Framework/webtools/webapps/webtools/wEB-INF/web.xml
>>> changes:
>>>  <init-param>
>>>             <param-name>redirectPath</param-name>
>>>             <param-value>/catalog/control/main</param-value>
>>>  </init-param>
>>>
>>> 2.Framework/webtools/webapps/webtools/index.jsp
>>> changes:
>>> <%response.sendRedirect("catalog/control/main");%>
>>>
>>> Need:
>>> 1.If i put http://localhost:8080/ -----> Then it go to the
>>> http://localhost:8080/catalog/control/main page.
>>> 2.if i put directly this http://localhost:8080/webtools/control/main on
>>> the
>>> browser then the webtools page open.
>>>
>>> Please help me.
>>> Thanks in Advance:
>>>
>>> Thanks & reagards:
>>> Gopal Bisht
>>>
>>>
>>>
>>>
>>
>>
> 


Re: How will we go diectly to the catalog login page?

Posted by gopalbi <go...@hytechpro.com>.
Ok, 
  
  but i need if i do this 
http://localhost:8080/
then it directly go to the 
https://localhost:8080/catalog/control/main

Is that possible: 

Thanks for your reply. 
Thanks & Regards: 
Gopal Bisht 

BJ Freeman wrote:
> 
> first problem is
> you using https with an non ssl port 8080
> if you do a
> http://localhost:8080/catalog/
> this will automatically
> go to
> https://localhost:8080/catalog/cntrol/main
> this is built in.
> 
> to deal with
>     http://localhost:8080/
> it now redirects to /ecommerce
> 
> 
> 
> gopalbi sent the following on 8/21/2008 1:20 AM:
>> Hello friends i need your help,
>> 
>> 
>> Problem
>> I have done these changes:Then it go to the
>> https://localhost:8080/catalog/control/main. But the problem is that if
>> we
>> enter https://localhost:8080/webtools/control/main then it go to the
>> catalog/control/main page. I need:
>> 
>> 1. Framework/webtools/webapps/webtools/wEB-INF/web.xml
>> changes:
>>  <init-param>
>>             <param-name>redirectPath</param-name>
>>             <param-value>/catalog/control/main</param-value>
>>  </init-param>
>> 
>> 2.Framework/webtools/webapps/webtools/index.jsp
>> changes:
>> <%response.sendRedirect("catalog/control/main");%>
>> 
>> Need:
>> 1.If i put http://localhost:8080/ -----> Then it go to the
>> http://localhost:8080/catalog/control/main page.
>> 2.if i put directly this http://localhost:8080/webtools/control/main on
>> the
>> browser then the webtools page open.
>> 
>> Please help me.
>> Thanks in Advance:
>> 
>> Thanks & reagards:
>> Gopal Bisht
>> 
>> 
>> 
>> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-will-we-go-diectly-to-the-catalog-login-page--tp19084456p19087534.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: How will we go diectly to the catalog login page?

Posted by gopalbi <go...@hytechpro.com>.
Ok,
 
  but i need if you do this 
http://localhost:8080/
then it directly go to the 
https://localhost:8080/catalog/control/main

Is that possible:

Thanks for your reply.
Thanks & Regards:
Gopal Bisht



BJ Freeman wrote:
> 
> first problem is
> you using https with an non ssl port 8080
> if you do a
> http://localhost:8080/catalog/
> this will automatically
> go to
> https://localhost:8080/catalog/cntrol/main
> this is built in.
> 
> to deal with
>     http://localhost:8080/
> it now redirects to /ecommerce
> 
> 
> 
> gopalbi sent the following on 8/21/2008 1:20 AM:
>> Hello friends i need your help,
>> 
>> 
>> Problem
>> I have done these changes:Then it go to the
>> https://localhost:8080/catalog/control/main. But the problem is that if
>> we
>> enter https://localhost:8080/webtools/control/main then it go to the
>> catalog/control/main page. I need:
>> 
>> 1. Framework/webtools/webapps/webtools/wEB-INF/web.xml
>> changes:
>>  <init-param>
>>             <param-name>redirectPath</param-name>
>>             <param-value>/catalog/control/main</param-value>
>>  </init-param>
>> 
>> 2.Framework/webtools/webapps/webtools/index.jsp
>> changes:
>> <%response.sendRedirect("catalog/control/main");%>
>> 
>> Need:
>> 1.If i put http://localhost:8080/ -----> Then it go to the
>> http://localhost:8080/catalog/control/main page.
>> 2.if i put directly this http://localhost:8080/webtools/control/main on
>> the
>> browser then the webtools page open.
>> 
>> Please help me.
>> Thanks in Advance:
>> 
>> Thanks & reagards:
>> Gopal Bisht
>> 
>> 
>> 
>> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-will-we-go-diectly-to-the-catalog-login-page--tp19084456p19087465.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: How will we go diectly to the catalog login page?

Posted by BJ Freeman <bj...@free-man.net>.
first problem is
you using https with an non ssl port 8080
if you do a
http://localhost:8080/catalog/
this will automatically
go to
https://localhost:8080/catalog/cntrol/main
this is built in.

to deal with
    http://localhost:8080/
it now redirects to /ecommerce



gopalbi sent the following on 8/21/2008 1:20 AM:
> Hello friends i need your help,
> 
> 
> Problem
> I have done these changes:Then it go to the
> https://localhost:8080/catalog/control/main. But the problem is that if we
> enter https://localhost:8080/webtools/control/main then it go to the
> catalog/control/main page. I need:
> 
> 1. Framework/webtools/webapps/webtools/wEB-INF/web.xml
> changes:
>  <init-param>
>             <param-name>redirectPath</param-name>
>             <param-value>/catalog/control/main</param-value>
>  </init-param>
> 
> 2.Framework/webtools/webapps/webtools/index.jsp
> changes:
> <%response.sendRedirect("catalog/control/main");%>
> 
> Need:
> 1.If i put http://localhost:8080/ -----> Then it go to the
> http://localhost:8080/catalog/control/main page.
> 2.if i put directly this http://localhost:8080/webtools/control/main on the
> browser then the webtools page open.
> 
> Please help me.
> Thanks in Advance:
> 
> Thanks & reagards:
> Gopal Bisht
> 
> 
> 
>