I'm using a LifecycleListener in tomcat to initialize some objects required by contexts in my web server. Within LifecycleListener I would like to have access to GlobalNamingResources Environment variables to keep the configuration for the server inside the server.xml file. When trying various approaches I get the following error:
javax.naming.NameNotFoundException: Name java:comp is not bound in this Context
I'm assuming that the jndi is not initialized by this stage of the server startup process. Any ideas on how to tackle this?
Hi,
My problem is:
I've got a table, dynamically created, fill with a lot of dropdownlists witches IDs are dynamically created.
When a button is pressed, I need to scan all controls in the table and save their value.
But after the postback I can't no longer access to the table, and I've no idea how can I get those values...
Thanks!
The listing of all deployed Services can be disabled by setting 'disableServiceList' to true in Axis; which is used in AxisServlet.java - reportAvailableServices() .
However, is there a way to disable access to the wsdls ?
We are using svn for development of a large web application, and we do periodic updates to production. The production server does not have access to svn (for security reasons).
What is the best way to push the changes since the last production release for a new release? We would like to avoid re-creating the whole site each time, since it is very large.
I am trying to do dynamic instantiating using strings rather than strongly typed names.
So the obvious choice was to use Reflection.
It is working fine. The class has a method. How am supposed to access this method using the object returned by the CreateInstance method?
thanks in advance
arraylist.add(new ListItem("Activity1", "ActivityName1"));
suppose ActivityName1 value store in properties file to provide locale feature.
now how can i access the value of Activity1 key that associate to ActivityName1 value on jsp ( ActivityName1 corresponds to a properties file value) by using Struts.
i want to find the ActivityName1 value that store in properties file by using the Activity1 key in Struts framework.
Hi,
I want to access the contents (images, songs,folders etc..etc) of android mobile by .net windows application. is this possible ? please guide me. too urgent ....
We are having a table of elements in SysListView32. Actually they are a table arranged under 5 columns. How to access 3rd column in the table in SysListView32?
Hi All,
I have read in many forums that mapped drives are not accessible from a service as no user is logged on.
Question 1) I tried making my service as a log on - as some account and i had my network drive mapped in that very account. The service still cannot access it. Why?
Question 2) From the same sevice, i invoke another process. Under what user account will the process run?
Thanks
Is it possible to access Firefox info from my program? Specificly I need to read URL of opened site in active tab. Is something like this possible?
I guess I can write extension that will allow me to do something like this, but I wanted to know if it is posible with some FF api...
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: N
O)
I've tried EVERYTHING, I've read through pages of answers and no-one seems to know the right one.
When i try to log into my DB i just get the above error, I havent set a password or anything.
Can't log into MySQL at all now, don't understand.
Thanks for your help in advance
I have one GtkWindow with one GtkVBox and GtkEntry.
Some times it happens that i am unable to access buttons Buttons, lists, entries.
But i am able to add widgets to GtkVBox and it gets updated with new widgets too.
Looks like it loses Focus. i tries with setting focus but it does not helps.
What might be wrong.
Ok, I have a table which contains multiple rows. Each row contains some data and a hyperlink. When this link is clicked, I need to open up jquery's dialog form and let the user able to edit the data of the corresponding rows. So when the link is clicked, I need to access the values of the corresponding row cells from jquery.
How can I do that ?
I put the code
RouteTable.Routes.MapPageRoute("md", "page1.html/{zxc}", "~/withmaster/page2.aspx");
at golbal Application_Start event .At masterpage link_event
Response.Redirect(Page.GetRouteUrl("md", new { zxc = "data" }));
Everything ok at local and iis7. The problem is that when i run this on the hosting
The access to requested URL has been denied.
Do i need some more thing to use url routing ...
I am calling yyparse from a member function.
How to access the member variables/function from the bison action.
I am currently doing as
%{
#include "myclass.h"
#include "parse.tab.hh"
MyClass *ptr=NULL;
void MyClass::evaluate(string expression)
{
ptr=this;
yy_scan_string(expression.c_str());
yyparse();
}
%}
%%
EXPR : EXPR PLUS EXPR {
$$ = ptr->memberFunction("+",$1,$3);
}
I was trying to place some simple effects on an image using HBox using Hslider/Checkbox.
I am unable to incorporate the required effects on the image.I an getting the errors
"120 access to undefined property" ....poinying to "HSlider/change".
What can be the error/solution to this?
liveDragging="true"
selected="true"/
Thanks in advance?
Hi,
I have XAMPP installed in local laptop. And I have a almost static ip. I would like to give the ip to other to run it from thier browser. I configured apache httpd-vhosts.conf to listen my ip address:80 and added the virtual server with the ip address and domain root to local httdocs directory and the servername as localhost.
Apache doesn't start. what should I do to access my website from external computer.
THnks
I have a subdirectory in my root folder by the name files. I want to deny direct access to files under this directory. However my application can read and write to this directory programatically.
Hi,
I am want to access attachment of particular mail in Lotus Notes.
I am getting Attachment name with $File.
But i want to extract this attachments and want to save it in user specified path.Using C#.
I need to read the serial port as an input for a web based applicaton.
I know that the browser can't do it, but if I build an DLL and send it to my client, can I access this DLL and read de serial port with an java script or i will need something like ActiveX?
I have a on a form of mine. I´m trying to reset the value (the value typed by the user) of this field on a certain event. However, I seem unable to access it both with .val() and .html().
Any advice on this?
how do i acces the property value from an internal class , see below?
namespace N1
{
public class ClassA
{
string var1 = null;
private ClassB b;
public ClassA()
{
var1 = "one";
b = new ClassB();
}
//property
public string Var1
{
get{ return var1; }
}
}
namespace N1
{
internal class ClassB
{
private void method()
{
// I need to access the value of Var1( property) from here, how to do this?
}
}
}