• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Integrating jforum with existing app

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am trying to integrate jforum with an existing web app, with no luck at the moment.

I need to integrate jforum with the web app directory structure, something like this:

- myapp/store
- myapp/products
- myapp/forum

Is there an easy way to put JForum under a simple directory? or it always has to start at the root directory?

Anyway, thanks for that great software.
[originally posted on jforum.net by jnoob]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, currently you can't put it on a regular directory.

This is planned to be supported some day - does not require a lot of hard work - it's just a lot tedious

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I put forum in /, but I make dir "forum" and move index.htm in it.
And now I can type URL http://my.site.ru/forum/ and it rederect to http://my.site.ru/forums/list.page.
[originally posted on jforum.net by VVD]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

VVD wrote:I put forum in /, but I make dir "forum" and move index.htm in it.
And now I can type URL http://my.site.ru/forum/ and it rederect to http://my.site.ru/forums/list.page.



if you use servlet container with support 2.4, you can add
<welcome-file>jforum</welcome-file>

in <welcome-file-list> section win web.xml file

[originally posted on jforum.net by Serge Maslyukov]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to use "myapp" as start page.
Forum only as part of "myapp": I have link Forum on one of the page of the "myapp".
[originally posted on jforum.net by VVD]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

VVD wrote:I want to use "myapp" as start page.
Forum only as part of "myapp": I have link Forum on one of the page of the "myapp".



Merge all web apps in one big .war is very bad practice. Avoid this configuration as possible.
[originally posted on jforum.net by Serge Maslyukov]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"?? ����?? ?�?�?�?����?" (c) ...

??�� ?��??�?� ???�?�?? ����???��� ?���?�?� ???���?��? ?�?�?�?� �??�?���??? ???� ��??�ۄ�???� ?� ???� ??�?��?�?Ȅ�??? �??�??��?�. ?�??�� ?� ???� ???�?��� �???�܄??�?� ��?�?�?�?�???���� ???� ��?��?��?�.
?� ?���� ?��Ą��� ??�??�??? ?��ۄ�??? ?���?��� ???�?�?�?Ȅ�???�?�??? ?���?�???��� ?� ��?�?� ?�???���?�???�?�.


2Authors: Why u use MD5? SHA1 is better. Now I use SHA512 for "myapp".
[originally posted on jforum.net by VVD]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

VVD wrote:"?? ����?? ?�?�?�?����?" (c) ...

??�� ?��??�?� ???�?�?? ����???��� ?���?�?� ???���?��? ?�?�?�?� �??�?���??? ???� ��??�ۄ�???� ?� ???� ??�?��?�?Ȅ�??? �??�??��?�. ?�??�� ?� ???� ???�?��� �???�܄??�?� ��?�?�?�?�???���� ???� ��?��?��?�.
?� ?���� ?��Ą��� ??�??�??? ?��ۄ�??? ?���?��� ???�?�?�?Ȅ�???�?�??? ?���?�???��� ?� ��?�?� ?�???���?�???�?�.


2Authors: Why u use MD5? SHA1 is better. Now I use SHA512 for "myapp".



��� �???���?�?� ???� net.jforum.sso.LoginAuthenticator ?� net.jforum.sso.SSO?
?��??�?� ?�?�, ��?? ?�?�?�??? ���???���?�???�?Ȅ�???�?��?� ???� ��???���?�?�?? ?�?Ȅ? ��???�??? �??�??��?�, ����???��� ???� ???��??�?�?�??�?��� ?���?�?�???�?�???�??
??��?� ?�??��?� ?���?�?��� ?�??��?���?��???� �? ��??��?�?� ?��?�???�? ?�?�?Ȅ�???�??��?�??? ��?�?�???��?�? jForum.

[originally posted on jforum.net by Serge Maslyukov]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
?� ???�??�? �???� ��?�?�?�?�?Ȅ� �??�??��?�, �???� ?���?�???� ?�??�?���?�?�, �???� ??�ۄ�?�?��� ?� ???� ???�� ??�?�� ?�?�??�??�?�???. ?�???�? ?�???�?�?� ?� ?���?�?���??��???���� ����??-��?? ???� ???��� ??��?�???�???� ?� ?�?�?�?�???�?.
???��??�?�?�???�???�? ?���?��� ?�?�?�?���� �??�??��?�?� ??�??�??? ��???Ȅ�?�?? ???� �Ą�???� ?�?�?�� - ��?�?� ?��?��� ???��܄� ?���?�?��ۄĄ�?�???�???�? phpBB ?� ?�???�???�???�� �??�??���, ??? ???�� ?�?���?�?���� ?�???�?���?� ?�?� java ?� php (tomcat/jboss ?� apache+mod_php) - ???��� �???�܄??�?�. ?�??�� ?� ��?���?�?� ???�??��?� ��???�?�???��?? ��??�ۄ�?? ???� ?�?�???�.
??�� ???�?��� ?���� ?�???��܄�?��?�?�� ��?�?�ۄ?��?���� ?�??��???�???�??, ����???��� ???�??? ?���?�?? ?�???�???��΄?�? ��???Ȅ�?�?? ?? ???�??? ???��?��?�, ?� ?? ?��ۄ�??? ��?�?� ?���?� ?�??��???���?��?��??�?� ?�?�?�???�???�??.
[originally posted on jforum.net by VVD]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!