File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes JSTL Weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSTL Weblogic" Watch "JSTL Weblogic" New topic
Author

JSTL Weblogic

Dhiraj Srivastava
Ranch Hand

Joined: Aug 29, 2001
Posts: 49
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

Joined: Dec 11, 2004
Posts: 13410


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 ]

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Dhiraj Srivastava
Ranch Hand

Joined: Aug 29, 2001
Posts: 49
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

Joined: Aug 29, 2001
Posts: 49
Its urgent can some please help me..
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSTL Weblogic
 
Similar Threads
Map the action form object
making all fields empty when i make new transaction
reagarding jsp problem
jsppage not rfreshing inIE6.0
How to Uncheck the checkbox