Help coderanch get a
new server
by contributing to the fundraiser

Kimberley Jones

Greenhorn
+ Follow
since Sep 09, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kimberley Jones

I have spent a lot of time trying to use the Simple.java provided on Sun's site to bind a user to Active Directory/LDAP. Unless the user is an administrator, I get error code 49->"Invalid Credentials."

My thought was that everyone should be able to bind/authenticate. I basically just want to check if they are a Windows user and then let them proceed into my system.

Thanks in advance for any help you might be able to provide.
18 years ago
I think I'm closer to my solution:

This was a good starting point:

http://cvs.sourceforge.net/viewcvs.py/jboss/website/content/build.xml.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h

I am making a sweet ANT task, so I'll try to post it soon.
[ May 12, 2005: Message edited by: Kimberley Jones ]
19 years ago
Does anyone have any tips or good examples on how to precompile JSPs for JBOSS? Below is the code I have, and nothing happens. What is jasper2 supposed to do, anyways? Also, is there somewhere in web.xml that I need to point to where the jsps are?

Thanks!

<target name="jspc" depends="clean" description="Compile JSPs">
<taskdef classname="org.apache.jasper.JspC" name="jasper2"
classpathref="jsp.precompile.path" >
</taskdef>

<jasper2
validateXml="false"
uriroot="${web.dir}"
webXmlfragment="${web.dir}\WEB-INF\generated_web.xml"
outputDir="${jsp.precompile.destdir}"/>

<javac srcdir="${jsp.precompile.srcdir}" destdir="${jsp.precompile.classes}"
classpathref="jsp.precompile.path" debug="off" />
</target>
[ May 12, 2005: Message edited by: Kimberley Jones ]
19 years ago
I will look into both the form and the encrypted attributes ideas...I feel like I've probably seen a lot of encrypted attributes at e-mail and e-commerce sites.

Thanks so much for your help.
19 years ago
Anyone notice pg. 371 of HF servlets? Is this the WTF I'm thinking of? I'm not offended, just surprised. It kind of reminds me of the type of comments I like to put in my code when I am trying to debug something.
I am working on a web-based app. I am trying to avoid showing my parameters in the address bar. Is there any way to link to a servlet using <a href="Example"> and have Example pick up some parameters?

Is submitting a form the only way a servlet can get parameters without showing your params in the address bar?

Thanks in advance for any help/ideas.
19 years ago
I received my copy of HF Servlets & JSP last night from Amazon. (I pre-ordered in June.) It looks like it will be a great book. It's my first Head First book, so I'm excited to read through it. My goal is to be certified by the end of the year.

Thanks to Kathy Sierra and Bert Bates for helping me get through the Programmer exam with the big blue book. I look forward to another big success with this book.