Open Source Forum software

2003-06-16 Thread Dimitar Georgievski
I'm looking for java based open source forum software. Something like eForum
but that integrates with Struts. Is there anything like that available?

thanks,

dimitar


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: how to submit Unicode text in Struts/JSP?

2003-06-07 Thread Dimitar Georgievski
Dan,

that solved the problem. I wasn't aware the application needs a filter to
set the content type.

thanks a lot,

dimitar

- Original Message -
From: "Dan Tran" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, June 07, 2003 2:45 PM
Subject: Re: how to submit Unicode text in Struts/JSP?


> http://www.anassina.com/struts/i18n/i18n.html
>
> I heard Struts 1.2 may incorporate this in the future.
>
> -Dan
>
> - Original Message -
> From: "Dimitar Georgievski" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Saturday, June 07, 2003 11:41 AM
> Subject: how to submit Unicode text in Struts/JSP?
>
>
> > hi,
> >
> > I'm trying to submit Unicode encoded to a search engine through a web
> client
> > developed is Struts.
> >
> > Each JSP page of the Web client sets the page encoding using the
following
> > HTML statement:
> >  
> >
> > After the submission, in the Action servlet, I compare the request with
> what
> > I would expect to receive as a submission:
> >
> > It goes like this:
> >
> >   String request2 = new String("\u017Eivot");
> >
> >   if (request2.equals(_request)){
> >System.out.println("request OK");
> >   }
> >
> > They are not the same and I don't know why. When request2 is submitted
> > directly to the search engine there is result received back.
> >
> > How to submit successfully Unicode text to the server?
> >
> > I'm using
> >  J2SE 1.4.1
> >  JBoss 3.0.4
> >  Tomcat 4.1.x
> >
> > thanks,
> >
> > dimitar
> >
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Newbie Q: Cannot load JDBC driver class using Datasource Connection

2003-06-07 Thread Dimitar Georgievski
I would put the JAR files of the JDBC driver in the lib folder of the
application. It works in my case.

dimitar

- Original Message -
From: "Mark Galbreath" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Saturday, June 07, 2003 2:03 PM
Subject: RE: Newbie Q: Cannot load JDBC driver class using Datasource
Connection


do you have your jdbc driver in your classpath?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 07, 2003 1:59 PM
To: [EMAIL PROTECTED]
Subject: Newbie Q: Cannot load JDBC driver class using Datasource Connection


Am I missing something here? Tomcat keeps on giving me the following
exception about my JDBC connection driver not being loaded when I try to
establish a
datasource connection to a mysql database in struts :

Initializing application data source org.apache.struts.action.DATA_SOURCE
java.sql.SQLException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.jav
a:529)
at
org.apache.commons.dbcp.BasicDataSource.setLogWriter(BasicDataSource.java:38
1)
at
org.apache.struts.action.ActionServlet.initApplicationDataSources(ActionServ
let.java:942)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:457)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93
4)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3420)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc
essorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

My struts-config.xml looks like this :


























Info: This driver , com.mysql.jdbc.Driver, does establish connection to this

same database with no exception when I use it in a normal java class.

Can someone tell me or atleast point me to where I can find further
help/information. I could not find anything at
http://jakarta.apache.org/struts/faqs/database.html  and also in this list's
archives.

Thanks,

robert



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



how to submit Unicode text in Struts/JSP?

2003-06-07 Thread Dimitar Georgievski
hi,

I'm trying to submit Unicode encoded to a search engine through a web client
developed is Struts.

Each JSP page of the Web client sets the page encoding using the following
HTML statement:
 

After the submission, in the Action servlet, I compare the request with what
I would expect to receive as a submission:

It goes like this:

  String request2 = new String("\u017Eivot");

  if (request2.equals(_request)){
   System.out.println("request OK");
  }

They are not the same and I don't know why. When request2 is submitted
directly to the search engine there is result received back.

How to submit successfully Unicode text to the server?

I'm using
 J2SE 1.4.1
 JBoss 3.0.4
 Tomcat 4.1.x

thanks,

dimitar




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]