andreas krohn

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

Recent posts by andreas krohn

I would need to update a JDK from 1.2.2_007 to 1.2.2_017, but I am a bit hesitant due to the amount of testing needed to ensure nothing is broken with the updated JDK. Have any of you done this upgrade? Did you experience any problems?

Preferably I would like to go all the way to 1.4, but unfourtunatly that is not an option due to legacy systems...

Thanks you,
Andreas
20 years ago
This is one of those questions that you know should be easy but still you dont get anywhere, so I hope you can help...
I have a servlet and some JSPs, all with the same security-constraint in web.xml. Logging in to the servlet seperatly works just fine and logging in to the JSPs seperatly works just fine as well.
One JSP is calling my servlet, and even if I am logged in fine on the JSP I am once again asked to login on the servlet and double login is not really a feature I am looking for.
Do the JSPs and servlets share the same session somehow or do I have to implement that?
I am using FORM based authentication on JBoss 3.0.1/Jetty.
Thanks
/Andreas
[ August 07, 2002: Message edited by: andreas krohn ]
22 years ago
Apparently I also have the same problem when tyring to access my servlet from JSP, all files are within the same WAR. Tried the time honored "ignoring the problem and it will go away" approach, but so far no luck.
/Andreas
22 years ago
Well, the servlet URL I am currently hardcoding (for testing purposes) into my applet works fine if I just cut and paste it into a browser, and it includes the name of the deployed web app. So I do think the URL is correct.
/Andreas
22 years ago
Hi,
I have a servlet and an applet that communicates with each other. This works fine in Orion, so the code should be fine. However, in JBoss I have a problem. There I need to deploy a WAR file and I put the servlet in WEB-INF/classes and the applet.jar in the root of the WAR. Now the applet can not create a connection with the servlet. I can reach the servlet in a browser with the URL I am using to create the URLConnection, so the URL should be OK.
What am I doing wrong? Is there a problem with having the applet and the servlet in the same WAR? If I should not have the applet in the WAR does anybody know where I should deploy it in JBoss?
Thank you
/Andreas
22 years ago
Check out http://archive.coreservlets.com/ - especially the code for chapter 17.
/Andreas
22 years ago
If your URLConnection is a HttpURLCOnnection you could use connection.setRequestMethod("POST").
/Andreas
Exactly. In the project I am working on right now I have an Applet with quite a lot of functionality. Putting this functionality on the server would seriously slow down the application and is therefore not a choice. I would not like somebody to JAD my Applet and steal all my code, if they want to steal my code they should at least have to put in some hours of frustrating work.
22 years ago
Hi,
I am trying to get basic authentication working for some servlets I am running on JBoss 3.0/Jetty, but I just can not get it to work. Can not even get the standard popup box asking me for username and password to show up.
Does anybody know in what files to put the security-constraints and login-config for starters. What more steps do I have to take?
Thank you very much
/Andreas
22 years ago
Hi,
I am trying to get basic authentication working for some servlets I am running on JBoss 3.0/Jetty, but I just can not get it to work. Can not even get the standard popup box asking me for username and password to show up.
Does anybody know in what files to put the security-constraints and login-config for starters. What more steps do I have to take?
Thank you very much
/Andreas
22 years ago
OK, now i have taken a look att DashO, and it looks nice, but I dont know how it compares to other obfuscators (and it costs $895 and up so it is a bit expensive to buy just to test if it is good). That is exactly my problem, all obfuscators say they are the best (strange how that is), but I would like to have something else than propaganda to go on.
/Andreas
22 years ago
Havent looked at this in detail but maybe Web SPHINX can help you (http://www-2.cs.cmu.edu/~rcm/websphinx/). It is a java open-source webcrawler.
/Andreas
22 years ago
Code compressions is nice, but primarily I am looking for a obfuscator that can help me fight decompilers successfully...
But I havent tried DashPro so I will take a look, thanks.
/Andreas
22 years ago
Hi,
I need a good obfuscator and I am trying to find some reviews or rankings of obfuscators, but so far no luck. Currently using RetroGuard, but I dont know how that compares to KlassMaster, Mocha etc.
Does anyone know of any obfuscator tests, reviews and/or rankings?
Thanks
/Andreas
22 years ago
Hi,
Just done this, and now I am fighting with JBoss and JDBC, but that is another story...
If you just want to run servlets it is simpler to user the standrard JBoss 3 version that is bundled with Jetty instead of the one bundle with tomcat. Download, install, make your war-file and put it in the deploy directory and thats it.
Good luck
/Andreas
22 years ago