Help.. I cannot use classes in JSP code itself!!

2000-11-21 Thread Winnie Cheung
Hello.. Can I write my own simple classes within the JSP code? I mean within the "% %" tags? I have been trying to do this but its giving me an error all the time! I want to do this because I would like to avoid the rigmarole of going through all these directory structures and all that with

[Basic] JSP help!

2000-11-17 Thread Winnie Cheung
1. How do you "redirect" a page? I have code that if string == a then forward to page 1 else forward to page 2 Unlike ASP, the forward tag just sort of INCLUDES the file! The file name in the browser is the same..not that of the file that I am forwarding to! What is the command to

File manipulation code sample?

2000-11-17 Thread Winnie Cheung
Hello, I would appreciate if someone could pass me a sample code for opening files and manipulating strings? Thanks a lot, Winnie

Splitting a string?

2000-11-17 Thread Winnie Cheung
Hi, how can I split a string in JSP using Tomcat? Is there a split function? Thanks!

JSP -- getting multiple list values?

2000-11-17 Thread Winnie Cheung
Hello, When I use get.Parameter with a LIST (SELECT) in my form, it only collects the first item selected! Is there a reason to this why? Thanks