• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSTL Weblogic

 
Dhiraj Srivastava
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its really urgent...
Problem 1. I am not able to complie the Tag Handler class..

Following is the code:

package Tags;

import java.io.*;
import javax.servlet.*;
import javax.servlet.jsp.target.*;

public class TagTest extends TagSupport {
public int doStartTag() throws JspException {
try {
pageContext.getOut().print("Hello.");
} catch (Exception ex) {
throw new JspTagException("SimpleTag: " +
ex.getMessage());
}
return SKIP_BODY;
}
public int doEndTag() {
return EVAL_PAGE;
}
}

It gives error javax.servlet.http does not exist. As I m using Weblogic and my other servlets are working perfecting without setting the classpath for servlet.jar as it is with the case of Tomcat.

Problem 2. I want to disable the refresh option please help me how can I disable the refresh option of browser using JSP.

Problem 3. I have two JSP pages First.Jsp and Second.Jsp. Data is coming from First to second then it goes to Final.Jsp. I want when user comes from First.jsp and he is in Second.jsp and want to go back (By using browser back button) to the previous page to see the content. But contents are not over there how can I see those content.

I hope I am clear in my problem.

Please assist me as it is important...
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

It gives error javax.servlet.http does not exist. As I m using Weblogic and my other servlets are working perfecting without setting the classpath for servlet.jar as it is with the case of Tomcat.
You're having trouble compiling though. Make sure servlet.jar is on the compiler's classpath.


Problem 2. I want to disable the refresh option please help me how can I disable the refresh option of browser using JSP.
Can't be done.


Problem 3. I have two JSP pages First.Jsp and Second.Jsp. Data is coming from First to second then it goes to Final.Jsp. I want when user comes from First.jsp and he is in Second.jsp and want to go back (By using browser back button) to the previous page to see the content. But contents are not over there how can I see those content.

How are you populating the first page?
[ April 18, 2005: Message edited by: Ben Souther ]
 
Dhiraj Srivastava
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply

Regarding Problem 3. This page is nothing but a simple HTML form having some fields. e.g Name and Age.. Now a person has entered Name and age on this page and then move to second page where he has to enter some other details and he realised that he has entered wrong name in previous page. In that case I want that data should remain there in the input box of previous HTML form..

I hope my point is clear.
 
Dhiraj Srivastava
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its urgent can some please help me..
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the form that the user fills out the result of a post?

I thought the user's data did stay in the form otherwise.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic