You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Melanie Harris <ha...@yahoo.com> on 2002/07/19 22:05:07 UTC

The Sruts Mail Archive

It has been quite awhile since I've gone out to the Struts mail archive at:  http://www.mail-archive.com/struts-user@jakarta.apache.org/

I just went to the above Mail Archive URL and get this error:
ht://Dig error
htsearch detected an error. Please report this to the webmaster of this site. The error message is:

Unable to read word database file '/var/spool/htdig/db.words.db'Did you run htmerge?

Does anyone know if the Mail Archive is still available, still the above url, or if this is a problem someone can fix?

thanks,

-mel harris



---------------------------------
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes

session var missing in .jsp

Posted by Brad Rhoads <br...@zethcon.com>.
All but one of my .jsps are views and go though my template. They're all
mapped to <screenname>.screen. I have code (shown below) at the top my
template to check a session var to see if the user has logged on. That works
fine.

But now I have a .jsp that's just for displaying an (crystal clear report
viewer) applet. And the .jsp has call back functions used by the applet, so
I can't use the template. I put this code at the top of my rptloader.jsp,
but I get a NPE in this case.


<%
try
{
        if (session != null){
            com.monolith.model.administration.User user =

(com.monolith.model.administration.User)session.getAttribute(
                        com.monolith.webapp.Constants.USER_KEY);
            if (user == null)
                response.sendRedirect("/WebSynapse/signon.screen?prob=no");
        }
        else
            response.sendRedirect("/WebSynapse/signon.screen?prob=yes");
}
catch(NullPointerException npe)
{
    response.sendRedirect("/WebSynapse/signon.screen?prob=npe");
}

%>

I have a selectreport.screen that ends up at my ReportViewAction where I
figure out what kind of report was requested. Then to actually execute the
report I do:

if (usePDF == true)
            return (new ActionForward("/report.pdf", false));
        else if (useHTM == true)
              return (new ActionForward("/report.htmr", false));
        else

//response.sendRedirect("/rptloader.jsp?report=/reports/"+reportType.trim()+
".rpt&dll=pdsora7.dll");
            return (new
ActionForward("/rptloader.jsp?report=/reports/"+reportType.trim()+".rpt&dll=
pdsora7.dll", true));
            //return (new
ActionForward("/rptloader.screen?report=/reports/"+reportType.trim()+".rpt&d
ll=pdsora7.dll", false));


It's the default case I'm talking about (the other's will eventually go
away). I've tried several different options for kicking off rptloader.jsp.

It seams that when I go directly to rptloader.jsp, my session var is
missing. What am I doing wrong?




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: The Sruts Mail Archive

Posted by "Craig R. McClanahan" <cr...@apache.org>.
On Fri, 19 Jul 2002, Melanie Harris wrote:

> Date: Fri, 19 Jul 2002 13:05:07 -0700 (PDT)
> From: Melanie Harris <ha...@yahoo.com>
> Reply-To: Struts Users Mailing List <st...@jakarta.apache.org>
> To: struts-user@jakarta.apache.org
> Subject: The Sruts Mail Archive
>
>
> It has been quite awhile since I've gone out to the Struts mail archive
> at:  http://www.mail-archive.com/struts-user@jakarta.apache.org/
>
> I just went to the above Mail Archive URL and get this error: ht://Dig
> error htsearch detected an error. Please report this to the webmaster of
> this site. The error message is:
>
> Unable to read word database file '/var/spool/htdig/db.words.db'Did you
> run htmerge?
>
> Does anyone know if the Mail Archive is still available, still the above
> url, or if this is a problem someone can fix?
>

Sounds like a problem on their server.  There are other searchable
archives around, including the one that Apache hosts:

  STRUST-DEV:  http://nagoya.apache.org/eyebrowse/summarizeList?listId=41
  STRUTS-USER: http://nagoya.apache.org/eyebrowse/SummarizeList?listId=42

> thanks,
>
> -mel harris
>

Craig


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: The Sruts Mail Archive

Posted by Melanie Harris <ha...@yahoo.com>.
 Clarification.  I can get to the Struts mail archive at http://www.mail-archive.com/struts-user@jakarta.apache.org/ with no problem.  I get the error when I try to do a <search>.


  Melanie Harris <ha...@yahoo.com> wrote: 
It has been quite awhile since I've gone out to the Struts mail archive at: http://www.mail-archive.com/struts-user@jakarta.apache.org/

I just went to the above Mail Archive URL and get this error:
ht://Dig error
htsearch detected an error. Please report this to the webmaster of this site. The error message is:

Unable to read word database file '/var/spool/htdig/db.words.db'Did you run htmerge?

Does anyone know if the Mail Archive is still available, still the above url, or if this is a problem someone can fix?

thanks,

-mel harris



---------------------------------
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes


---------------------------------
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes