Michele Smith

Ranch Hand
+ Follow
since Oct 27, 2010
Indianapolis, Indiana
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by Michele Smith

Thanks Bear. I just have one other question. Does this mean all the js and css and jquery needs to be included in the header of the parent .jsp file? And then for example, all there would be is divs for the children pages that get included?

Thanks,
Michele
3 years ago
JSP
Thanks, I appreciate the info.

What I need to say is this: I am developing solutions that fit in with a ux/ui template that I did not design, these are in HTML 4.01.

A lot of time to save time I import those html files into my eclipse project just to view the files and then I inspect the elements if I get into trouble with a browser.

I am a little confused because I am working with another developer who said that I need to run the index.jsp file to to get down to my pages. I have never worked this way.

In general, I have never used this code: <jsp:include page="/jsp/blah.jsp"/>

I am wondering is there a best practices for this?

I inherited a design that is a bunch of divs and inside them are these <jsp:include page="/jsp/blah.jsp"/>

I hope I make sense.

Anything that would boil it down for me and help me to conceptualize what is going on would be great.

However, in summary my situation is like this:

1. The other developer made a index.jsp page
2. The other developer made a homepage.jsp page
I have all these other pages that link from the homepage.jsp to other files.

I also should mention that my navigational system is not one that I designed, it is designed by the other developer.

Any insight on how to deal with this would be appreciated.

Thanks,
Michele

3 years ago
JSP
Hello I inherited a navigation system which is like this:

index.jsp
homepage.jsp

When I click on the "view source" in the browser, I get two headers like this:



I know this is not good. I have inherited the nav system from someone else and I have a lot of complicated AJAX and JQuery going on inside my module.

I am not sure how to resolve.

Thanks,
Michele
3 years ago
JSP
Hello:

I am integrating AJAX form validation in a servlet/jsp application with JSON response object.

I had developed one class User, for a form. Since then, the scope has expanded significantly and more than one form with more fields of data will need to be utilized.

The form I had developed the AJAX solution for works fine, but when I created another class for another set of users, it does not validate the form. No error is generated, it just does not validate the form.

I think that the UserController that I am utilizing has to have two methods underneath the main class instead of one method for a "general user".

I wonder if you know of any resource whereby I could go to learn more about how to do this? I am listing a little bit of code on the UserController.java class file:



Thanks,
Michele
3 years ago
Hello,

I am working with a team on an application that has no authentication yet.

There is another application which basically serves our application which is being authenticated using AD (Active Directory).

We think we need to use SAML also to meaningfully utilize the other application hosted on another server with our application hosted on the other server.

I wondered if anyone has any insight on methodologies to utilize to establish a session which would move from the authentication piece, hosted on another server, and then as the user navigates through our application.

If anyone can think of a book, article, or blog that I could look at I would appreciate it.

Thanks,
Michele
3 years ago
Hello, I was working on trying to make three different workspaces work concurrently with the Mongrel.jar file in the wee wee hours of the morning today. The reason why is that I am developing three different workspaces right now. I am a little unclear as to how to associate them so that they can use each other's meta data. I have done some research on the web about setting up multiple workspaces and did not find anything very useful. I have one app that I have developed that was working fine, but I had a couple of apps that were freeware that I wanted to evaluate and potentially change and possibly link to the main workspace, but I kept getting errors on those apps when I tried to use them. I did send in the errors and was directed by another individual on this forum to evaluate the net.sf.mongrel_1.0.0.jar, which I did get ahold of and put in the appropriate place in Eclipse. After I did these things I got all kinds of errors when I tried to associate any of the projects in the workspace with the Apache Tomcat Server 7.0.

I don't know what happened, but I had to take Eclipse off the machine, delete all workspaces inside the Eclipse workspace before taking Eclipse off the machine, and I also took this opportunity to download Luna, the most current release. I am using JDK 1.7 and JRE 1.6 There is a reason for this I cannot control my work environment -- it is simply bolted down.

I did a netstat and a netstat -a and did not see anything unusual there. I saw one instance of port 8080 being utilized: at 127.0.0.1:8080

No matter what I do now, I get this error after I put the Tomcat plugin into Eclipse (again, I have to install the Tomcat plugin into Eclipse Luna, because my environment is bolted down):

Several ports (8005, 8080, 8009) required by Tomcat v7.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).

I do see the welcome page at http://localhost:8080 -- but I am not sure how to get rid of the aforementioned error. I have never had to manually delete a port before and hesitate to do so. Right now I have that one .war file imported back into the workspace and the others are not in there. I know that the .war file would import successfully earlier and am really concerned about how to get the localhost up and running. I am really needing any suggestions anybody can provide.

If you have any ideas, please let me know.

Thanks,
Michele
3 years ago
Hello I am using JavaMail 1.4 for a quick solution to the implementation of an email form with MySQL 5.5.


The following error is being received when I try to add this project to my Tomcat server:

"project facet 1.7 is not supported"

I did some searching and it said that I needed to change my IDE Properties/Server tab, to point to JDK 1.7

I am not sure why but even when I change the default to JDK 1.7, it does not work. The default was 1.6.

This is on Tomcat 1.7, JDK 1.7.45

If you can think of something which may be helpful, please advise.

Thanks,
Michele
3 years ago
Thank you for your response. I found it at this one:

https://sourceforge.net/projects/mongrel/files/Eclipse%20Plugin/

Some of the sites say it is not supported after 2/2014.

In general, I was working with some project files that were related to another project file, however, what I need to do for speed in prototyping, is simply have three or four workspaces, and point to the workspaces from the main one to show others the code until I am able to integrate them together.

I know this sounds a little crazy, but this is what I need to do.

If you have any thoughts on how I can point to other workspaces from within one workspace, if you could share this, I would appreciate it.

Thanks,
Michele
3 years ago
Hello, I am using Eclipse IDE to connect to Tomcat 7.0.

I did get everything worked out so that one of my projects appears in localhost:8080 but the other one will not. The one which will not load uses JDK 1.6.

The other project utilizes JDK 1.7 and runs fine.

The one utilizing JDK 1.6 is a jforum discussion forum.

When I try to run a page, unlike the other project, it asks me if I want to run at the server, whereas the server is already running.

Do you think I should go through the properties of each and see if there is a discrepancy?

I have not tried to run two web projects at the same time before but need to do this now to test modules and integrate them together.

Thanks,
Michele

3 years ago
I am getting hung up on this:



My Java Servlet is working, and it says this:



How do I do the same thing to my javascript?
Hello:

I think I have the basics on the Commons File upload servlet and configuring the database interface to work with a blob data type:




Only thing is from my JSP file, how would I call this?


3 years ago
Hello, I am having multiple problems with my stored procedure func_ConvertDecimalHours. Could anyone have a look and tell me what I am doing wrong?

Hello I need to possibly parse a blob datatype. I cannot figure this out.



what am I doing wrong?
Ok, I read your information and I agree, it is hard to do this. I decided to call a stored procedure instead. The stored procedure works great, but I am having trouble integrating it into my project:



any suggestions apprecaited.
3 years ago
I worked on this some more; I think I need to split this string, but this technique is not working:

3 years ago