Secure static files?

2004-02-25 Thread Eric Cho
y would be thrown to a login page if they weren't first authenticated. So if any of you have ideas from both the application and/or server side, it'd be much appreciated. Thank you, Eric Cho Web Solutions Celero Solutions [EMAIL PROT

URL parameter hiding

2003-01-28 Thread Eric Cho
Hey all, I'm trying to do a redirect to a server that lies outside of my application. I cannot do a POST, cause there is no cooresponding action. String PW = "somePassword"; String UN = "someUsername"; aResponse.sendRedirect(aResponse.encodeRedirectURL(" http://someURL.com/context/controll

Re: How to set an error page

2002-12-11 Thread Eric Cho
I too have this problem. It works on my workstation environment (Websphere Studio) but it doesn't work after I've deployed it to the server (WebSphere 4.01.021 on OS/390). Are there any other ways to declare the error page other than in the web.xml? Thanks, Eric -Original Message- From:

Sort of Off Topic - publishing tools

2002-09-17 Thread Eric Cho
Hi all, I was wondering if I could get any suggestions as to either a java-based or MS based tool that could publish a bulletin from MS Word to a site using LDAP privileges. Also, users of this site will be limited in accessibility according to their profile on LDAP. AND. this tool has to b

setProperty

2002-05-27 Thread Eric Cho
Hello, What is the equivalent of the following jsp code in a servlet? Thanks, Eric ** The contents of this email and any attachments are confidential. It is intended for the named recipient(s) o

get parameters from web.xml

2002-05-09 Thread Eric Cho
Hi all, I have this problem where I want to get a parameter value from the web.xml file. In JSP, you would do it this way: <%=config.getInitParameter("username")%> How would I do this from a regular class? Would I have to parse through the xml as i would with any other xml file or is there so

disable back button

2002-05-03 Thread Eric Cho
Hey all, Is there any way via jsp or any other method you can think of to disable the back button on the browsers?!?! Thanks, Eric ** The contents of this email and any attachments are confidential

jsp batch compiler

2002-04-02 Thread Eric Cho
Hello everyone. We currently have a problem with our deployment. It takes far too long and the main cause is the compilation of JSPs. Would anyone know of a jsp batch compiler for an Websphere 4.0 working on OS390? Any kind of direction would be most appreciated. Thanks, Eric *

Re: Visual Age For Java!

2002-03-17 Thread Eric Cho
Yes, VAJ is a little flakey sometimes. Just reinstall again. But make sure you export all your classes if you're not using a repository. If you have the chance, you might want to upgrade to Websphere Application Developer. It doesn't use the WTE which is the flakiest part of VAJ. Plus it has

Re: Nested if statements in JSP...

2002-02-27 Thread Eric Cho
yes -Original Message- From: Morad, Suzanne [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 12:02 PM To: [EMAIL PROTECTED] Subject: Nested if statements in JSP... This is a very basic question... Does JSP allow nested if statements? I'm trying to do something like below:

usebean

2002-02-13 Thread Eric Cho
what is the equivalent code for this usebean tag? is this right? beanStuff.Mapping aMappingBean = (beanStuff.Mapping) request.getAttribute("aMappingBean"); Thanks, Eric ** The contents of thi

print page scope

2002-02-08 Thread Eric Cho
Hi all, Is there a way of defining print page scopes? ex. does not print this <% some jsp to define print page scope %> prints this <% end scopt %> THanks, Eric ** The contents of this em

broswer versions

2002-02-08 Thread Eric Cho
hi all, can somebody give me some code to determine what version of browser the client is using wheter it be IE or Netscape?!?! Thanks, Eric ** The contents of this email and any attachments are c

errorpage / include problem

2002-01-18 Thread Eric Cho
hi everyone,   i have a problem with having the <%@ page errorPage="/jsp/jspErrorPage.jsp" %> directive in a page that is included within a template jsp.   It seems to work ok on the template.jsp but not within the included page.    This is what i get when i attempted this : A recurs

instead of javascript

2001-12-26 Thread Eric Cho
Hi all,   is there a way to have a confirmation box popup confirming your click.  An "ok" would bring the user to another page and a "cancel" will keep the user where they are at?   I would like to avoid javascript so if you have a method in jsp, that would be great.   Thanks, Eric__

browswer check

2001-12-17 Thread Eric Cho
hey all,   Can anybody direct me to some code that will check browser version and type via jsp or tag?  I don't particularly want to use javascript.   Thanks, Eric    ___ eSafe Protect Gateway has scanned this mail for viruses, vandals and susp

vectors

2001-12-05 Thread Eric Cho
Hey all,   I have a bean of "SummaryBean" with an interface of "SummaryInterface" that uses anther bean of "InquiryBean" with an interface of "InquiryInterface" as a vector.   I'm trying to display "expiryDate" which is in the Inquiry     Am i doing this right?       what's wrong with this piece of code
Hi all,   need a handI'm getting errors of :   .java:751: String not terminated at end of line.  newDate = "    ^.java:757: String not terminated at end of line.  

taglib tutorial

Hi all, Does anyone know a good taglib tutorial that may be catered to Websphere? The reason why i ask is.i can get examples working on tomcatbut not on Websphere. Or maybe if anyone knows of any special configuration i have to do for Websphereplease let me know. Thanks, Eric ___

web architecture / alerts

Hi all, I know this maybe a little bit off (jsp) topic but it's still somewhat related. Can anybody suggest some literature or sites that might provide me with some information on web architecture.more specifically on "alerts". What kind of alerts should there be (eg. performance, security..

Re: war files

ng in the struts-example.war (by itself) in the webapps dir..and again, it unpacks yet tomcat doesn't startup. Am i doing something obviously wrong?!? thanks, Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001 2:40 PM To: Eric C

war files

sorry this may seem like a dumb questionbut what's a war file and how do i unpack it!??! ___ eSafe Protect Gateway has scanned this mail for viruses, vandals and suspicious attachments. ===

struts example

Hi, i'm just testing out the struts infrastructure. Is there a test example that uses the struts framework that i can download and play with out there?!?! I'm using tomcat 3.2.3 if that makes any difference. And tell me if i did this right...I just put all war files in the webapps directory o

struts

hey all, i'm just starting to use the struts framework and a simple hello world type implementation. I'm getting a Error Message: Server caught unhandled exception from servlet [JSP 1.1 Processor]: Cannot find message resources under key org.apache.struts.action.MESSAGE Error Code: 500 Target S

simple servlet

Hi, I have a JSP which has a form that submits a value (ex. value1). I'd like to send it to a servlet that in turn takes that value and punches out another jsp page of value1. ex. In jspPage1 --- onclick of button1 with value of value1 goes to servlet1. I'd like servlet1 to call on jspPage

passing parameters from jsp to jsp

Hi again, Thanks for the help from before...now i got another problem. How would i go about passing a specific parameter to another jsp page depending on the link that i click. so it would be like and i want to pass respectively. how is this done? or am i approaching it from a bad

simple if statement

Hi, I'm new to jsps and to java itself so bear with me. what am i doing wrong with this? <% if (request.getParameter("link").equals(null)){ %> <%} else { %> " flush="true" /> <% } %> thanks, Eric ___ eSafe Protect