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...
The real issue in this is that the processing jsp has no awareness of the posted data, despite the post method from the submitting page.
Frankly, I'm at a loss as far as form submission in jsp goes. A post should result in form information being written to the header. A request.getParameter, if...
...to
<jsp:useBean id="Handler" class="user.getEmployeeFormData" scope="request" >
<jsp:setProperty name="Handler" property="*" />
</jsp:useBean>
<jsp:forward page="UpdateEmployeeDB" />
The Handler bean has getter and setter methods for the form values of the...
...it.
Entire code of page:
<jsp:useBean id="form" class="user.getEmployeeFormData" scope="request">
<jsp:setProperty name="form" property="*" />
</jsp:useBean>
<jsp:forward page="user/DBEmployeeUpdate" />
The jsp is in the default /web directory and the class resides in...
No, but the compiler screams about them not being static if I change that.
Changing to
if (con != null && !con.isClosed())
bypasses the error, but doesn't really get me that far, as I'm kinda hoping to return some data here.
The part that confuses me the most here is that I can run the...
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 resolved the problem. Easy fix. Uninstall any IDE's and anything vaguely java related and reinstall the latest JDK and JRE. Reinstall IDE and all is well.
Small matter of 4 hours to accomplish all of that, but I have a working web service. Thanks for your help.
Both from the IDE and the command line I get loads of lovely errors.
From the command line - the class "Client" lives in package "client" so from the client directory I run "java Client"
where I get "Exception in thread main NoClassDefFoundError: (wrong name: client/Client)"
My classpath...
Dian,
Thanks for the tip, I'm already using an eclipse based IDE. I'm finding that I'm not only struggling with the java element of things, but having to learn the IDE at the same time results in further headaches.
I've caught the RemoteException that I mentioned above and now get no def class...
...same thing that I've been trying to get to work for a week (slightly different naming this time, but same principle)
package wsClient;
import ws.*; //package containing GetStringProxy
public class ClientTest
{
public static void main(String[] args)
{
GetStringProxy proxy = new...
That's where I get a little lost. Can I call the methods in the stub like in the jsp I posted, or am I supposed to add methods to the stub.
Sorry for being a bit thick headed.
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...
Just an update, IE won't respond to ANYTHING that I've tried for an onClick, even just a simple alert.
Again, it all works fine in IE. I'm wondering if this is not getting bound to the form properly?
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.