Can someone help me out with this? This is actually more java specific than jsp, but it's easier to illustrate with the jsp pages. From what I've read, relative paths are relative to where the method is being executed from.
I have a class that should read a text file using a relative path. If...
I've got a very simple form that posts to a processing jsp page. The processing page amounts to
<jsp:useBean id="Handler" class="user.getEmployeeFormData" scope="request" >
<jsp:setProperty name="Handler" property="*" />
</jsp:useBean>
<jsp:forward...
I'm trying to access a servlet in my jsp using
<jsp:forward/>. The structure that I'm using is based off of this article: http://www.javaworld.com/javaworld/jw-03-2000/jw-0331-ssj-forms.html?page=2
So, I put the relative path to the servlet in the jsp tag and consistently get a 404 error when...
I've got a very simple jsp page that calls a class method to return a ResultSet. The method calls another method in the same class to return a Connection. When run stand alone, everything within the class runs as expected.
But when called from the jsp, the Connection throws a...
I'm new to Java and know just enough about web services to be dangerous in C# and VB. I have to create an app that uses web services and am hitting a wall.
I have a simple class that returns a string that I've deployed as a web service using websphere application developer. I can create a jsp...
I'm doing an install for a client who needs some configuration help. They have a 6608 w/Call Manager 4.0.3.
I need 8 T1 channels from the 6608 to my equipment. I've searched through Cisco's site, looking for some configuration info for the client. Does anyone know a resource that I can point...
I am adding a button to a form, and having really weird problems in IE 7.
This code:
var locker = document.createElement("input");
swatch.appendChild(locker);
locker.setAttribute("type","submit");
locker.innerHTML="Add To My Locker"...
I've run across a problem that I now understand the cause of, but have no idea how to resolve. I'm building controls on a form on the fly, based on a datareader's contents. It's dynamic, so I never know how many sets of controls that I'll need.
Basically, on pageLoad I put:
an image
a <ul>
a...
This should be ridiculously easy, but it seems that I'm missing something. I need to convert a Guid to a string:
Guid userkey = (Guid)Membership.GetUser(User.Identity.Name).ProviderUserKey;
is all fine and well.
It makes sense that I could then do something like:
string userkey =...
I'm not sure if this is the best way to accomplish my end goal, but here is where I am at:
I have 3 functions
function1: returns top level product categories in a dataset
function2: returns sub categories of the selected category in a dataset
function3: returns items for the selected sub...
I'm working on a new IVR system. The only telephony interface supported is a Quad T1 card.
Currently, I have 4 analog trunks coming off of my PBX, going to a channel bank and finally connecting to the IVR via T1. This is all fine and well for inbound traffic.
However, if I want to use any type...
I've got a new install of WVR 4.2 on AIX 5.2.
I've configured the license manager, and added 2 DTNA adapters. When I start WVR and go to Configuration > Pack Configuration > Change, neither of the DTNA's are showing up.
Of course documentation only shows how this plays out successfully. I'm...
I'm pulling my hair out over this one. I've got an executable that I want to run every hour to copy off log files.
I've scheduled a task to run daily, then in advanced sschedule options I've set it to repeat every hour with a duration of 24 hours.
This SHOULD make this run every hour for 24...
I have a 7043/240 that I am trying to nuke and repave with 5.2. Current firmware is DOR 02311.
After hitting f5, I watch the CD spin up, then shortly thereafter I get "IBM FW Unknown Word" and the system reboots.
I'm guessing that this is a firmware problem. I've updated the system...
I'm using the Global VPN Client ver.3.1.0.556 connecting to a SOHO3 Firmware version: 6.5.0.4. Client is WinXP Home sp2. NAT Taversal is "Forced On"
The client will connect and complete negotiation and get it's virtual IP address, but then hangs with the status of "connecting". All looks well...
Having a serious mental block on this. I've got a vertical drop-down nav bar based off of the suckerfish example. I have the background color of the top <li> elements set and am trying to use an image as the background for the <li><ul> element.
The background color from the top level <li>...
I've been working on a site that uses .net authentication and roles. Everything is working fine on my dev box, but when moving it up to a staging server, I get the following error at login:provider: SQL Network Interfaces, error: 26 -Error Locating Server/Instance Specified
I know that this...
I'm not having much luck finding documentation that explains the second requirement needed for directory.createsubdirectory.
My code at present:
Dim strAddFolder As String = Server.MapPath("../docs/") & strDir
Dim objDirs As New DirectoryInfo(Server.MapPath("../docs"))...
I've been building a dropdown menu using the suckerfish example. Everything was fine until the client wanted the menu moved. Now, due to positioning, the dropdown doesn't display vertically in IE. It works fine in firefox, and a shorter menu works fine. I've tried just about everything that I...
I'm just trying this .net thing out. I've been programming in asp for a few years and I'm having a hard time leaving old ways behind.
In this:
<script runat="server">
public void Page_Load(Object Source, EventArgs E)
{
String company_id = Page.Request.QueryString["company_id"]...
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.