[Logo] smithproject.org
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
Messages posted by: boris.pavlovic  XML
Profile for boris.pavlovic -> Messages posted by boris.pavlovic [9]
Author Message
on http://smithproject.org/faq.cfm i have found this, too:

I would like to use both JSPs and CF scripts in my application. Does Smith support this?

Yes, you may use JSPs or any other Java-driver scripting along with ColdFusion® scripts. For example, you can include JSP page from CF script using something like: <cfinclude template="mypage.jsp">.  


there's also howto.txt file in the smith distribution which explains how to write java extensions
hi brekhtman,

it seems that tag CFXML is supported. yes, you can write java extensions

since Smith doesn't use jsp as an intermediate step in compilation to java byte code you can't use cfml tags inside jsp pages neither jsp tags inside cfml. on the other side you are free to submit your cfml form to an action jsp page which will return it's results to the cfml caller page and vice versa

you are able also to extend some of smith functionalities into the form of jsp TagHandlers

hope this will help you

regards,
bp
our user Kenaz Thomas has contributed a manual how to configure datasource using JTDS

I was able to connect to SQL Server 2005 using JTDS driver. Here?s the information in case you need:

? I first downloaded the latest version of JTDS driver from this website:

? http://sourceforge.net/project/showfiles.php?group_id=33291

? According to the instructions all you need to do is to simply drop the jar file in the classpath. Here?s what I did:
I extracted the JTDS zip file and copied only the jar file to the Lib folder in the Web-INF directory:
smith-bin-windows-1.3b4\wwwroot\WEB-INF\lib

? After this, I went to the SMITH admin page and configured the datasource with the following specs for SQLServer 2005:

? Name: SQLServer
? JDBC URL: jdbc:jtds:sqlserver://localhost:1433/Coldfusion
? JDBC Driver full class name: net.sourceforge.jtds.jdbc.Driver

? Then I saved the datasource and clicked on validate and I got a green check mark for SQL server!
Hi Prasad,

there's a topic on the page http://www.smithproject.org/forum/posts/list/85.page which deals with this issue.

In order Smith OS to work you need a Java Servlet Container, e.g. Apache Tomcat. Then you connect it to your IIS web server http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html

Best,
Boris
Hi Neoraph,

For such a small and limited purpose as writing web-admin console using some of the MVC frameworks that you've mentioned is expensive. Though using JSTL is quite a good idea.

You are more than welcome to help us by contributing your version of the pages using JSTL or in your preferable MVC framework. You should know that it has to work on JETTY, too
Function createObject("component",...) hasn't been implemented yet. What is the trace that you get using the tag <cfinvoke>?
Sorry, my mistake. Check it again
Changes have been added in the news section http://www.smithproject.org/news.cfm
The bug has been fixed. Wait for the new version which will be published in next few days.
 
Profile for boris.pavlovic -> Messages posted by boris.pavlovic [9]
Go to:   
Powered by JForum 2.1.6 © JForum Team