Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
jsessionid appended to URL and page not found`

jsessionid appended to URL and page not found`

2007-02-07       - By Joe Germuska

 Back
Reply:     1     2     3     4     5     6  

What is handling the basic HTTP service for your application?  If it is not
a servlet container, but rather an HTTP server which proxies certain
requests to a servlet container, then there is probably just a configuration
problem.

The scenario you describe is standard.  A Servlet Container (or maybe it's
the JSP engine) is supposed to encode the session ID in URLs unless it knows
that the client accepts cookies, which it can only know if the client
already presented a cookie with a session ID in it (as on reload or later
clicks through the application.)

If you don't have an HTTP proxy in the middle, then what servlet container
are you using?  I do local development with Tomcat and have for years with
it being the HTTP server, and have never had this problem.

joe

On 2/7/07, Vinod Kumar <vkmatri@(protected)> wrote:
>
> Hi All,
> I have a link to a struts web application in one of
> existing website like start.jsp?cntry_cd=US
>
> start.jsp is in struts application and contains the
> following line
> <jsp:forward page="/setup.do" />
>
> setup action does some pre-setup stuff and forwards to
> home page. The home page displays well with all
> navigation links. But, when I click on any of the
> navigation links (which are actions and their URL
> looks like status.do;jsession=jfdkfdkfdk ..jsessionid
> appened only initially ) , I get error message that
> page cannot be found.
>
> If before clicking on any of the links, I do refresh
> on the home page and then click on any links, then it
> works fine.
>
> My question is, why it cannot find actions, when
> jsessionid is appended to URL. What can i do to fix
> this issue.
>
> Thanks for your help.
>
> Vinod
>
>
>
>
>
> __ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____
__ ____
> Don't pick lemons.
> See all the new 2007 cars at Yahoo! Autos.
> http://autos.yahoo.com/new_cars.html
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>


--
Joe Germuska
Joe@(protected) * http://blog.germuska.com

"The truth is that we learned from Jo?o forever to be out of tune."
-- Caetano Veloso

©2008 junlu.com - Jax Systems, LLC, U.S.A.