uugh stuck again =P getting client side information with JSP/Servlets

2002-09-06 Thread Richard Diaz
Is it possible to NOT use JavaScript and JUST use JSP Script alone? Specifically I need the user's screen size and images that are placed on their browser window (for click and drag functionality) Maybe use a client-side applet? Or can I get the above info in the servlet Response object? If I

MVC question, when to sync the model with database?

2002-08-14 Thread Richard Diaz
using MVC when do I sync my MODEL data arrays with the DATABASE? I would think you would change the database and THEN update your model objects... Good articles on MVC are well appreciated =) thanks, Rich = __ Do You Yahoo!? HotJobs -

please help! hard returns in TOMCAT what the heck?!

2002-08-12 Thread Richard Diaz
the following jsp code: out.println(input type='hidden' name='scope' value='); out.println(MyArray[i].getScope()); out.println('); out.println(input type='hidden' name='page' value='0'); results in this output: input type='hidden' name='command' value='delete' input type='hidden'

Re: please help! hard returns in TOMCAT what the heck?!

2002-08-12 Thread Richard Diaz
duh, use out.print sorry about that =) Rich --- Richard Diaz [EMAIL PROTECTED] wrote: the following jsp code: out.println(input type='hidden' name='scope' value='); out.println(MyArray[i].getScope()); out.println('); out.println(input type='hidden' name='page' value='0

please reply to this

2002-08-02 Thread Richard Diaz
I'd like to verify my messages are being posted, please send me an email at [EMAIL PROTECTED] if you see this message, thanks in advance. = __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To

urgent help please!

2002-08-02 Thread Richard Diaz
I hope this is formated well for this list-serv... problem: application scope objects launched by web.xml In my Tomcat boot sequence (web.xml file) I am launching a servlet called InitTwc. This servlet creates and sets the values for an application scope object called TwcMaxes. I have

application scope objects launched by web.xml

2002-07-31 Thread Richard Diaz
In my Tomcat boot sequence (web.xml file) I am launching a servlet called InitTwc. This servlet creates and sets the values for an application scope object called TwcMaxes. I have verified that my TwcMaxes object is created in the application scope and its values are set (TwcMaxes.iMaxBookmarks =

application scope servlets launched by web.xml problem

2002-07-21 Thread Richard Diaz
appreciated! Richard Diaz = __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

TOMCAT is not loading my classes now =p

2002-06-16 Thread Richard Diaz
wants these files =p (I use to have them in common\classes before and THAT worked w/o the package line above of course...) all help much appreciated! Richard Diaz = __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http

please fix my stupid classpath

2002-05-29 Thread Richard Diaz
I set this up like a year ago and now that I look at it, it seems wacked. Looks like I had to add all the servlet jar files? Suggestions most welcome. I'm using Apache, Tomcat 4, Sun sdk 131 Rich SET

Re: please fix my stupid classpath

2002-05-29 Thread Richard Diaz
it for compiling, you should have a look at ant, who can arrange these things a lot easier.. Mvgr, Martin On Thu, 2002-05-30 at 00:08, Richard Diaz wrote: I set this up like a year ago and now that I look at it, it seems wacked. Looks like I had to add all the servlet jar files

RE: please fix my stupid classpath

2002-05-29 Thread Richard Diaz
All I am trying to do is eliminate the Servlet Exception wrong name error I am getting ever since I moved my class files into a jar file. I added my jar file as the last entry of my classpath below... ANT = 'Another Neat Tool' THAT I GOTA LEARN?!?!?! AAGGGHHH =( Rich SET

loading application scope variables ?

2002-05-24 Thread Richard Diaz
where/how do I run my servlet that loads my application scope variableson the start up of Tomcat ? thanks =) Rich __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL

Session variables RAM vs. DB Queries

2002-05-23 Thread Richard Diaz
I'm currently doing DB Queries and holding the users information in session objects... trying to keep the query load on the database down to a minimum by using these session objects (MVC2). My question is where do I draw the line as far as how much RAM each user gets? When do I free up those

submissions: form or HREF?

2002-05-23 Thread Richard Diaz
is it better to use HREF or form when calling controller servlets? i like the fact you can't 'open in a new window' the form option. any advice/articles on this? thanks again!! __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience

how do i use session.setAttribute for arrays?

2002-05-20 Thread Richard Diaz
Here's what I'm doing: int iMaxBookmarks = 25; Bookmark[] MyBookmarkArray = new Bookmark[iMaxBookmarks]; while (rs.next()) { MyBookmarkArray[i] = new Bookmark(); session.setAttribute(MyBookmarkArray[ + i + ], MyBookmarkArray); // set all data for MyBookmarkArray[i] (this works fine)... }

cannot resolve symbol, session vars lost etc =p

2002-05-17 Thread Richard Diaz
I'm using tomcat 4.0 on apache 1.3.20 on windows 98. Well i was losing all my session variables and FINALLY found this article: http://www.jguru.com/faq/view.jsp?EID=816599 so i changed all my response.sendRedirect() methods to response.encodeRedirectURL() but those failed to actually move

Can't convert * to Object. Object page = this;

2001-09-20 Thread Richard Diaz
(can someone please email me if this message makes it to the list serv? I don't think my 1st message made it. thanks) Hi I keep getting this error in TOMCAT. I have been developing with no problems, I installed Cold Fusion server and now none of my java classes compile in TOMCAT. I removed Cold

Some help please!

2001-03-09 Thread Richard Diaz
can someone please email me the "new user email" we got when we signed up to this LIST serv PLEASE? I got laid off yesterday and need to move this to another email address. thx, Rich __ Do You Yahoo!? Get email at your own domain with Yahoo!

FTP command

2001-02-01 Thread Richard Diaz
Hi does anyone know of a good resource for LINUX commands, specifically FTP. thanks, Rich - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

OT: unix/linux command site - ftp

2001-01-29 Thread Richard Diaz
I'm trying to figure out how to ftp files to my Linux server via the ftp command. what i need to ftp is the sun java2 sdk and (duh) the tomcat binaries. anyone have a site or the command i need to enter to get that thing on my server? thanks! Rich

sample JSP sites?

2001-01-23 Thread Richard Diaz
Hi I'm just learning JSP. I just installed linux 6.0 and I am going to put tomcat 3.2 on it. If anyone can post url to yout jsp sites links and a brief (or not) description on the site design it would be much appreciated! Rich _ Do

Which JVM for Tomcat?

2001-01-23 Thread Richard Diaz
I'm getting ready to install a JVM. Is it OK not to use Java2 with Tomcat (since that requires a 5+ meg download by the user) ? I am also Planning on using Expresso Tools. Which JVM works best with Apache Tomcat? Sun? IBM? thanks Rich