Re: Where do I have to put classes?

2002-03-16 Thread Daniel Hinojosa
Ryuji Yokoyama wrote: > Hello All! I am a new to Tomcat and have a question. I downloaded > and installed Tomcat 4. I think it is working correctly. I can see > the welcome page and I can execute the sample Servlets. However, I > can't figure out where I should put my Servlet classes. I

Re: Struggling for one week please Help Help..................

2002-03-19 Thread Daniel Hinojosa
e same version as Tomcat? Another check is your editor putting characters that you cannot see? Open it with another editor and recompile. I fell victim to that sometime ago, and it is frustrating. where are these classes located in the /WEB-INF/classes or the /WEB-INF/lib directory? -- Da

Re: Struggling for one week please Help Help..................

2002-03-21 Thread Daniel Hinojosa
Uma Munugala wrote: >Hi Daniel > I double checked that compiler, >iam using jdk1.3 for compiling my source codee and tomcat uses jdk1.3. >classes are located in /WEB-INF/classes. > >Thanks >Uma > > > >-Original Message- >From: Daniel Hinoj

'Remember Me'

2002-03-24 Thread Daniel Hinojosa
ices? Thanks, in advance. -- Daniel Hinojosa Java & XML: Consultant | Developer | Instructor P.O. Box 4675 Albuquerque, NM 87196-4675 (505) 363-5832 -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>

Re: 'Remember Me'

2002-03-24 Thread Daniel Hinojosa
CTED]> >Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > Well, I develop with JBoss which requires that I have a Principal available to it. I guess that means I need to check JBoss on this one. It's a shame there isn't a full standard way to do that across implem

Re: 'Remember Me'

2002-03-25 Thread Daniel Hinojosa
Ken Martin wrote: > On Sunday, March 24, 2002, at 04:43 PM, Daniel Hinojosa wrote: > >> How can I implement a 'Remember Me' checkbox for username, password, >> on my site when I use 'Form-Based' authentication? > > > Write and read cookies. &g

Re: Multiple users share java bean?

2002-03-25 Thread Daniel Hinojosa
than private member variables in this bean, make sure they are private. e.g. public void synchronized setName(String name) { . } -- Daniel Hinojosa Java & XML: Consultant | Developer | Instructor P.O. Box 4675 Albuquerque, NM 87196-4675 (505) 363-5832 -- To unsubsc

Re: JNDI/EJB: looking for some references

2002-03-25 Thread Daniel Hinojosa
gt; >For additional commands: <mailto:[EMAIL PROTECTED]> >Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > -- Daniel Hinojosa Java & XML: Consultant | Developer | Instructor P.O. Box 4675 Albuquerque, NM 87196-4675 (505) 363-5832 -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>

Re: Multiple users share java bean?

2002-03-25 Thread Daniel Hinojosa
} >} > >For example, I input 200 as the value of numEvents for user1. Before >finishing user1's task, user2 input 100 as numEvents and begin his work. I >hope I can get results 200 and 100 respectively. But I got 100 both. > >- Original Message - >From: &quo

Re: 'Remember Me'

2002-03-26 Thread Daniel Hinojosa
Ken Martin wrote: > On Monday, March 25, 2002, at 10:31 AM, Daniel Hinojosa wrote: > >> There was a bit more to my question though that you truncated. > > > No offense intended... I answered the part I knew there was a > reference for. Reading and writing cookies is

Re: Cookies and tomcat (URGENT PLEASE!)

2002-04-07 Thread Daniel Hinojosa
onal commands: <mailto:[EMAIL PROTECTED]> >Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > I believe that it is managed by tomcat and is not in any context. To retreive the cookies you can call Cookie[] cookies = request.getCookies(); I think the reason why thi

Re: Ejb vs jsp

2002-05-06 Thread Daniel Hinojosa
or a standalone jsp applications. > Thanks in advance. I use them both. EJB are used to model information that is based on a db or other storage services. I use the JSP as a view to dynamically create HTML. -- Daniel Hinojosa Java & XML: Consultant | Developer | Instructor P.O. Box 4675

Can someone crack into server.xml?

2002-05-29 Thread Daniel Hinojosa
Given that a firewall blocks everything except port 8080 (Tomcat) and 80 (Apache). Can someone crack in to view the server.xml. This assumes that the cracker already know that it is Tomcat running (perhaps by noticing .jsp). -- Daniel Hinojosa Java & XML Consultant | Developer | Instru

Tomcat authentication using Microsoft SQL Server.

2002-05-29 Thread Daniel Hinojosa
. Fine, but unfortunately no 'roles' table, but in fact a COLUMN? in the sysusers table. I don't know the logic behind that one, but how can I set up a Tomcat JDBC Realm using the predefined Users and Roles in SQLServer. P.S. Checked the archives already. Thanks. -- Danie

Re: Newbie Request: an Example Ant build.xml File

2001-08-04 Thread Daniel Hinojosa
The ant documentation is where I learned all my stuff. [EMAIL PROTECTED] wrote: > Being new to both Ant and Tomcat, I'm wondering if someone could point > me to a good example of an Ant build.xml for for building and deploying > servlets under Tomcat. Thanks for your help. (I looked for this in