SimpleTagSupport and Adding Tags.

2005-10-10 Thread Joe Riopel
Hi,

Is it possible to access SimpleTagSupport tags on a jsp page, using
some type of filter object?

Thanks,
Joe

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Web Application Question

2005-07-26 Thread Joe Riopel
Hello Chris,
 I'm a little embarassed to say that I was watching a log file on a
different machine, I had one too many xterm's opened. It was a long
weekend :)

However, on the server where I was having my problem, the ending tag
for the filter's url pattern was wrong. I had   instead
of 

Thank you for your help though!


On 7/26/05, Chris Ward <[EMAIL PROTECTED]> wrote:
> 
> Joe,
> 
> Are you sure your filter is doing the right thing?
> 
> Sounds like it may be forwarding to a "bad" URL or
> something.  If it works without the web.xml then I
> assume you've set up your  for the /cms
> application.
> 
> Maybe try a
> 
> System.err.println( myDestURL )
> 
> in the filter and then copy/paste that output into
> your browser to see it exists.
> 
> Hope this helps.
> Chris Ward
> 
> 
> 
> >
> >
> > Hello,
> >
> > I'm running Tomcat 5.5.7, and right now I have one
> > application ( the default application ). I just created a new
> > dir ( $CATALINA_HOME/webapps/cms ) for a new application. The
> > home page ( index.jsp ), for the application, is just a
> > simple jsp file with static content.
> >
> > Once I added a WEB-INF/web.xml file, with just filter &
> > filter-mapping tags, and my welcome-file list, and browse to
> > the application I get a 404 error. Now, if I remove the
> > web.xml file from the WEB-INF/web.xml directory, I see the
> > correct index.jsp.
> >
> > I'm looking in the $CATALINA_HOME/logs/catalina.out file and
> > see nothing. I have watched the file, using "tail -f" during
> > start up, and don't see any message about a misconfiguration
> > in my web-xml file.
> >
> > Am I missing a step in the process of creating a  new web
> > application? Any help would be appreciated.
> >
> > Thanks.
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Web Application Question

2005-07-23 Thread Joe Riopel
Hello,

I'm running Tomcat 5.5.7, and right now I have one application ( the
default application ). I just created a new dir (
$CATALINA_HOME/webapps/cms ) for a new application. The home page (
index.jsp ), for the application, is just a simple jsp file with
static content.

Once I added a WEB-INF/web.xml file, with just filter & filter-mapping
tags, and my welcome-file list, and browse to the application I get a
404 error. Now, if I remove the web.xml file from the WEB-INF/web.xml
directory, I see the correct index.jsp.

I'm looking in the $CATALINA_HOME/logs/catalina.out file and see
nothing. I have watched the file, using "tail -f" during start up, and
don't see any message about a misconfiguration in my web-xml file.

Am I missing a step in the process of creating a  new web application?
Any help would be appreciated.

Thanks.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: off topic: Where to get a good tutorial about JSP.

2005-05-13 Thread Joe Riopel
I liked http://www.jspbook.com/index.jsp - There is a free download of
this entire book on http://www.theserverside.com, you have to register
to get it ( it's free ). It's not the most up_to_date book out there,
but it helped me out when I was learning.

On 5/13/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> 13May2005 @ 20:18 Vinicius thusly spake
> > where to get a good tutorial about JSP, please?
> 
> Download the j2ee tutorial from sun, then from chapter 12 onwards.
> http://java.sun.com/j2ee/1.4/download-docs.html
> 
> hth,
> 
> Luke
> 
> --
> ._..
> .|  .| |.|/.|_ .
> .|__.|_|.|\.|_ .
> :61 421 276 282:
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: development environment

2005-04-22 Thread Joe Riopel
p4 3.4 1GB RAM
VIM ( Sometimes NetBeans )
MySQL ( 4.1.7 )

On 4/22/05, Anoop kumar V <[EMAIL PROTECTED]> wrote:
> here is what we have:
> 
> Pentium IV 2.5 Ghz / 1.5 GB Ram
> 
> OS Windows XP
> 
> IDE - IntelliJ IDEA (I give it a 9 on 10 - its that good)
> We use cvs - WinCVS / TortoiseCVS for version control. with Win Merge.
> 
> MySQL as a breeding database although prod has Sybase and DB2. DB
> Visualiser as the db client.
> Ant build tool / tomcat staging platform.
> 
> Firefox for the browser but seems like the clients are IE only. I am
> being forced to test on IE as most of the javascript my team has built
> works only on IE and not on Firefox. (I argue that the js has bugs!!!)
> 
> -Anoop
> 
> On 4/22/05, Patrick Lacson <[EMAIL PROTECTED]> wrote:
> > hi All,
> >
> > I'm curious to what everyone's dev environment looks like.  Here's mine:
> >
> > hardware
> > Penium IV 2.0Ghz / 1GB Ram
> >
> > OS
> > Windows XP Pro
> >
> > IDE / Tools
> > Eclipse 3.x / Emacs
> >
> > --
> > Patrick
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> --
> Thanks and best regards,
> Anoop
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HttpSessionListener events after redeployment?

2005-04-05 Thread Joe Riopel
Could you use the isNew() method from HttpSession ?

On Apr 5, 2005 4:20 PM, Clute, Andrew <[EMAIL PROTECTED]> wrote:
> In my application I like to keep track of all the sessions that are
> currently active. So, I have a class that implements HttpSessionListener
> and have a static HashMap that keeps a reference to all the active
> sessions.
> 
> Everything works great. I get the events, and can track them without any
> issues.
> 
> My problem arises when I redeploy my application. My sessions serialize
> just fine, and recreate ok as well. However after redeployment, I have
> no references to the active sessions (since my static Map has been
> destroyed).
> 
> Are there any events I can listen for when a session is recreated from
> serialization? I was hoping for HttpSessionListener.sessionCreated(),
> but that doesn't happen, and I can understand why. Maybe there is a
> cleaner way to get a reference to all of the sessions active on my
> server that will survive serialization?
> 
> Thanks in advance!
> 
> -Andrew
> 
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]