Mike Br

Greenhorn
+ Follow
since Nov 22, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Mike Br

Hiya,
I am returning two ldap attributes back to my namingenumeration (cn and networkAddress) - thing is, when i assign them to attribute objects, it will only let me assign them to strings - when im told that the network address is an array - (it looks like this - 1# ???)
it there something wrong with my ldap server - a friend whos done this in php has just assigned an array to the string and got at the element - obviously java is a litle stricter!!
help, any ideas much appreciated
mike
21 years ago
Hiya, thanks for the reply.........ive just figured it i think...........what Im getting back is sometimes formatteed
"squarebox, squarebox,hash, 1"
or something like that.....other times (normally its just 1#.........)
i think it may be an array of network addresses - how the hell can I look at them as theyre just an attibute object??
thanks again,
mike
21 years ago
Hiya,
Im pulling a networkAddress value from an LDAP server using JNDI which is being returned in what appears to be binary ??? I think I need to do a conversion to hex to get the network address as a string to match on!! Has anyone any ideas on a class that can do this binhex conversion - Ive tried to write the algorithm but, truth be known, Im a web designer and its beyond me........
Any help much appreciated
Mike
21 years ago
thanks tim - i take it theres no j2ee spec for applet code as such then like there is for server-side.
thanks again,
mike
22 years ago
Hiya,
I have recently ported my app from tomcat 3.2.3 to tomcat 4.0.3. I have an applet on my site who's codebase is in a jar held in web-inf/lib. This was fine under 3.2.3 but now wont work under 4.0.3. I know that tomcat refuses to let a browser access web-inf and meta-inf directories but is that also true of applet jars?? Im getting a 403 error from the JRE..
any help very much appreciated. What is the standard location in your webapp you should use for applet codebases?
mike
22 years ago
Thanks Tim...
can i then........
have my apache statics etc on say D:\webroot
put all my jsp + servlets in a directory under tomcat webapps (with its web-inf. meta-inf etc) called 'project' for example
then use the webappdeploy directive in httpd.conf to only forward *.jsp or /servlet/ to the webapp.
how would this look??
WebAppDeploy project conn *.jsp
WebAppDeploy project conn /servlet/
is that it??
thanks again for your time
mike
22 years ago
Hiya,
dont know of anything other than generator - and its sure as hell not free - have a look at Flash mx. Its got some nice features on streaming that were simply impossible in Flash 5
mike
22 years ago
Hiya, thanks for getting back.....
so i can keep my static pages below the current webroot for apache??
do i need to put anything special in web.xml or will just a standard open / close tag be OK??
Thanks again,
mike
22 years ago
Hiya,
can someone please give me a quick pointer. I think i know what a webapp is but when your'e integrating tomcat + apache where does your static html go (not in your webapp surely). for example, under tomcat 3.2.3 i had my website under d:\webroot. All I had to do was to add the root context to server.xml and stick my servlets in a web-inf directory under the root (and my jsp on the root) and all was well. Tomcat 4 seems to be making life difficult. I want to serve jsps from several directories under d:\webroot as well as some servlets. can i get the webappdepploy warp thing to find them. I edited server.xml to set the appBase to D:\webroot and tried adding
WebAppDeploy / conn /
to httpd.conf but my system hangs.
I know i can put my jsp etc under the webapps directory in tomcat but where does my apache static stuff go then. ???
thanks in advance for your help
mike
22 years ago
Hiya,
I have installed Forte 3.2 and already have a copy of Tomcat 3.2.3 running on my machine. To save possible errors I didnt opt to install Tomcat during the installation. Now I want to tell it to use my existing Tomcat instance. How can I do this - the documentation just says abouth the installed version.
cheers,
mike
Thanks gordon, that looks really useful, i'll give that a go,
Mike
22 years ago
JSP
Thanks Tim I'll have a look at that
mike
22 years ago
Hiya,
I think I need to understand this once and for all!
I have a form on a JSP page which a user enters login details into. I want the results of their login, ie success, failure, prompt for password retry etc to appear back in the same window as the one they just pressed submit on (after being processed by some beans (which work nicely)). How is this done?? Obviously I can gather the information from the form but what then?? I was posting it to a servlet but then I lose the page content Ive got.
Whats the standard way of doing this??
Thanks for you help,
Mike
22 years ago
JSP
Hiya, Im working on a site that requires a user to authenticate to LDAP and presenting an applet as the login box. Problem is, cos of the applet sandbox problem (i think), I cant get the applet to talk to the LDAP server, even though theyre on the same domain.
ie, my applet comes from;
thiscomputer.myserver.com
and the ldap server is
ldap.myserver.com
how do people do this normally??? Obviously altering the security properties of everyones JRE is out the question. What do people normally do - must I use forms and servlets instead??
Thanks for you help
mike
22 years ago
Thanks for your help guys, I'll try out that code and get back.
Thanks again,
Mike
22 years ago