I'm a little new to Python and am stuck in a deeply awkward situation. I'm working at a client site where I have no control over what is installed on their server and no ability to do any sort of upgrade. They're running what appears to be a very stripped down version of Python 2.1, which is...
...they are using with an “active_user_database” table in the central DB and pass that on through a view. The syntax would be something like
select * from <database name>.occupants
where <database name> is a dynamic value that I would pull out of the “active_user_database” table.
The goal...
...Nov 22, 2006 3:59:23 PM com.sun.faces.config.rules.NavigationRuleRule end
WARNING: [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
Nov 22, 2006 3:59:23 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Here are the applicable lines from faces-config...
...my resultset/datatable connection is just dead in the water. The offending code is pasted below, any help would be much appreciated.
Thanks,
Alex
**********
main.jsp
**********
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<%@ taglib uri="http://java.sun.com/jsf/html"...
...I set up the following stored procedure to query my “occupants” table:
[dbo].[occ_select] (@p1 char(20), @p2 char(20)) as
execute('SELECT * from occupants where ' + @p1 + ' = ''' + @p2 + '''')
I loaded it into my “test” datasource and, when I ran a test with a couple of initial values, it...
...To clarify, here’s what I have now:
<asp:SqlDataSource ID="test" runat="server" ConnectionString="<My String>"
SelectCommand="SELECT * FROM [occupants] WHERE (LastName = @LastName)">
<SelectParameters>
<asp:ControlParameter ControlID="searchText" Name="LastName"...
Another interesting development... I took the postgres connection jar out of both the local/lib and conf/lib directories and got exactly the same message. Clearly, this JAR file is either not being read or is not being accessed properly. Help!
Thanks for the response. I think you're probably right that I'm missing a JAR file, but I'm not sure which one. Pasted below are the lists of jars from both the common/lib and the application library. Can anyone out there spot the missing piece?
---------------------------...
...I've pasted what I think are the relevant excerpts from server.xml and my applciation files below, any suggestions would be much appreciated.
*********
server.xml
*********
<!-- connection for PostgreSQL DB -->
<DefaultContext>
<Resource name="jdbc/postgres" auth="Container"...
I'm a little new at Domino, so I'm sorry if this is a stupid question. I have a fresh install of Domino 6 on a fresh install of Windows Server 2003 Small Business. After much struggle I do seem to have things set up more or less correctly, as I have a couple of user accounts and can send mail...
I have a drop down list where the "SelectedValue" attribute is bound to a field that may contain nulls. In the cases where it is null, I get an error when the page loads. To fix this, I'd like to set something up where, if the value is null, a new item is added to the drop down list that reads...
...The ASP role management options that come through "roleManager" are great but, as far as I can tell, they do everything through the "aspnet_*" tables in the DB. What I would really like to do is access the Database roles I've created directly in SQL Server 2005 via my ASP application. Does...
...so, but it only returns records from the first souce. For testing purposes, I have planetd some records in the second source with rowIDs that I *know* are unique, so this should be working. Any idea what I'm doing wrong?
SELECT 'source1' as 'source',* from DB1.dbo.occupants
UNION
SELECT...
I know you're not really supposed to do this, but I have a stored procedure that creates another database (using the tips in this thread: http://www.thescripts.com/forum/thread81377.html). It all works great, except that I need to also add some triggers and/or stored procedures in the new DB I'm...
Thanks, I'll give that a look. Unfortunately, I'm a contractor and the company I'm working for will not allow me to make any changes to the DB structure. I just have to work with what I've got.
Here's a tricky one. I have to select from a DB that has not been especially well maintained and I need to filter the IDs. Every record in the table has a unique ID, but in some cases the record has been updated and a letter has been appended to the ID. I only want to return the most recent...
This should be simple, but it's driving me nuts. All I want to do is assign a class to a list item based on the current URL. Here's my list in the HTML page:
<ul>
<li id="home"><a href="index.html">Home</a></li>
<li id="maintenance"><a href="maintenance.html">Maintenance</a></li>
<li...
I'm trying to modify a string with a piece of javascript, but I'd like to include a the value of a variable in a search string. I have it set up something like this:
var checkFor = /\d/;
var replaceString = 'replacewiththis';
var postRegex = myString.replace(checkFor, replaceString);
The code...
I'm setting up a library of html content to be included across various pages, and I'd like to use JavaScript to do it. I know I can do a standard src() call in the HTML page and then have the include written out as JavaScript with a bunch of write() calls. What I'm looking for is something akin...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.